[Asterisk-Users] field description /zaptel/zonedata.c

Peter Svensson psvasterisk at psv.nu
Mon Nov 1 12:01:42 MST 2004


On Mon, 1 Nov 2004, Luís Palma wrote:

> I've been digging around /zaptel/zonedata.c file which has the
> different frequency tones per country, and I would like to know the
> purpose of the following fields in the struct data defined there.
> 
> For example in US data we have:
>  { 0, "us", "United States / North America", { 2000, 4000 },
     ^zone-number                              ^ ^ ring cadence
                                            ( 2000 ms ring, 4000 ms pause,
                                               repeat )
>        
>                 { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },

"No such number" three-tone message. Used if an invalid extension is 
entered, I think.

>                 { ZT_TONE_STUTTER,
> "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/
> 100,!0/100,!350+440/100,!0/100,350+440" } },

This is used for when you have messages waiting. 

Peter






More information about the asterisk-users mailing list