[Asterisk-Users] New Zealand indications.conf

Benjamin Wakefield ben at team.dcsi.net.au
Fri Apr 9 09:12:57 MST 2004


Hi Vic,

I hit that same problem! My SIP phones would sound okay when I made
changes to indications.conf but incoming calls in to my TE410P had their
own thing going on!

Have a look at the zaptel source files, there's one called zonedata.c.
You'll see the au settings... replace what's there with this:

{ 1, "au", "Australia", {  400, 200, 400, 2000 },
{
        { ZT_TONE_DIALTONE, "400+425" },
        { ZT_TONE_BUSY, "425/375,0/375" },
        { ZT_TONE_RINGTONE, "400+425/400,0/200,400+425/400,0/2000" },
        /* XXX Congestion: Should reduce by 10 db every other cadence
XXX */
        { ZT_TONE_CONGESTION, "425/375,0/375,420/375,0/375" },
        { ZT_TONE_CALLWAIT, "425/200,0/200,425/200,0/4400" },
        { ZT_TONE_DIALRECALL, "400+425" },
        { ZT_TONE_RECORDTONE, "!425/1000,!0/15000,425/360,0/15000" },
        { ZT_TONE_INFO, "400/2500,0/500" },
        { ZT_TONE_STUTTER, "400+425/100,0/40" } },
},

Make clean; make install your zaptel and bam! The world sounds good once
more.

________________________
Benjamin Wakefield
ben at team.dcsi.net.au
http://www.dcsi.net.au/
DCSI - We do Internet.
64 Queen Street
Warragul, VIC 3820 AU
Ph: (+61) 1300 665 575
Fx: (+61) 1300 556 595

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
G! d- s: a-- C+ UL++ P+ L++ E---- W+ N+ o- K- w+$ O--- M-- V? PS !PE Y--
PGP- t 5 X+ R- tv b- DI-- D--- G-- e* h* r- z++
------END GEEK CODE BLOCK------



-----Original Message-----
From: Vic Cross [mailto:vicc at veejoe.com.au] 
Posted At: Thursday, 8 April 2004 5:56 PM
Posted To: Asterisk
Conversation: [Asterisk-Users] New Zealand indications.conf
Subject: Re: [Asterisk-Users] New Zealand indications.conf

On Tue, 6 Apr 2004, Matt Riddell wrote:

> Here are the settings for New Zealand indications.  I have tested them
and
> call progress works...voicemail messages used to contain 50 seconds of
> disconnect tones, now just 2.

<snipped the detail>

So, all you did was update indications.conf with what you posted, and 
everything worked?  Wow...

Wait a minute...  What kind of hardware are you using?

I am fighting with making the Zap stuff recognise and generate proper
tones for AU (on my X100P and TDM cards).  Just updating
indications.conf
does not work for me -- the simple switch generates different tones that
are unrelated to what I've coded there (I've tested this with an
extension
that runs a bunch of PlayTones() apps -- PlayTones is correct, but the
simple switch does its own thing).  As for analogue call progress,
forget
it -- having read the code, I cannot see how it could work at all on any
service that does not present US tones.

(Digium et.al. -- please don't take this as criticism.  You guys have to
scratch the biggest and most annoying itches first!  I wish I had the
time
and skill to contribute detection routines for other areas.  Skill is
the
main problem for me, since progress tones in the US, based on MF tones
as
they are, are much easier to code to recognise than AU tones which are
all
different cadences - and in some cases, amplitudes - of the same single
frequency tone.)

Matt, good for you!

Cheers,
Vic Cross
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list