[Asterisk-Dev] [PATCH] Add belgium zone to zaptel

Sylvain Munaut tnt at 246tNt.com
Sun Jul 25 05:51:44 MST 2004


Hi

Here's a patch to add support for tones in Belgium. I've used the Frech 
definition here before but theses should be more reliable since there 
are differences. All data comes from the official telecom operator 
Belgacom available at :

http://www.belgacom.be/web/proto/about/pdf/BGC_D_48_9807_30_04_E(ed13).pdf

The patch is both inlined and attached. It applies on a pretty recent cvs.


Sylvain Munaut


PS: I haven't signed the copyright paper yet but this patch doesn't 
contain anything copyrightable, it's just data coming straight from a 
specification ...



--- zaptel/zonedata.c           2004-07-25 14:40:34.143244520 +0200
+++ zaptel/zonedata.c           2004-07-25 14:40:16.373945864 +0200
@@ -247,5 +247,20 @@
                /*{ ZT_TONE_STUTTER, "425/320,0/20" },              Real 
swedish
 standard, not used for now */
                { ZT_TONE_STUTTER, 
"!425/100,!0/100,!425/100,!0/100,!425/100,!0/
100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" } },
        },
+       { 17, "be", "Belgium", { 1000, 3000 },
+       {
+               { ZT_TONE_DIALTONE, "425" },
+               { ZT_TONE_BUSY, "425/500,0/500" },
+               { ZT_TONE_RINGTONE, "425/1000,0/3000" },
+               { ZT_TONE_CONGESTION, "425/167,0/167" },
+               { ZT_TONE_CALLWAIT, "1400/175,0/175,1400/175,0/3500" },
+               /* DIALRECALL - not specified */
+               { ZT_TONE_DIALRECALL, 
"!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
+               /* RECORDTONE - not specified */
+               { ZT_TONE_RECORDTONE, "1400/500,0/15000" },
+               { ZT_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
+               /* STUTTER not specified */
+               { ZT_TONE_STUTTER, 
"!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" 
} },
+       },
        { -1 }
 };

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaptel-cvs-belgiumtone.patch
Type: text/x-patch
Size: 1091 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20040725/602d6a9f/zaptel-cvs-belgiumtone.bin


More information about the asterisk-dev mailing list