Summary: | DAHTOOL-00052: Tone and Zone Data for Kenya (ke) are not present | ||
Reporter: | Alex Rhys-Hurn (alex_rhys-hurn) | Labels: | |
Date Opened: | 2011-03-28 08:12:16 | Date Closed: | 2012-01-09 11:05:45.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) Kenya_ITU_Tones_converted_to_Linksys_and_Asterisk.xls | |
Description: | Following many dropped call and other pstn call related issues we are advised by both our hardware manufacturer Openvox and our Software Distro, Elastix to set loadzone and defaultzone to ke. For example: Change this: loadzone = us defaultzone = us to this: loadzone = ke defaultzone = ke Additionaly we are advised to set the Kernel module for the hardware card as follows: options opermode=KENYA In other words to set the opermode for dahdi to the relevant one for Kenya. The problem is that setting either the loadzone or the Opermode, results in an error that this Zone is not known by Asterisk or DAHDI or the Hardware kernel modules. ****** ADDITIONAL INFORMATION ****** The actual settings for Kenya according to the ITU 2003 Standards document show the settings as per the attached spreadsheet. (Cant upload spreadsheets, so I am pasting) I have tried to convert them to the relevant asterisk format for use in tonezone.c Tone Description ITU TONES Asterisk for use in tonezone.c Busy tone - 425 0.2 on 0.6 off 0.2 on 0.6 off 425/200,0/600,425/200,0/600 Congestion tone - 425 0.2 on 0.6 off 425/200,0/600 Dial tone - 425 continuous 425 Pay tone - I 941 0.2 on 0.2 off 941/200, 0/200 Pay tone - II 800/1600 0.08 on 0.08 off 800/80, 0/80 Payphone recognition tone - 1633 0.08 on 1.5 off Ringing tone - 425 0.67 on 3.0 off 1.5 on 5.0 off 425/670,0/3000,425/1500,0/5000 Special information tone - 900/1400/1800 3x0.75 on 1.25 off !900+1400/750,!0/1250,!900+1400/750,!0/1250,!900+1400/750,0 Warning tone - operator intervening 425 0.2 on 0.2 off 425/200, 0/200 Call waiting tone - 425 continuous 425 Stutter / Special dial Tone To Remove !450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450 Ring Back Tone 425 0.67 on 3.0 off 1.5 on 5.0 off Caller ID: ;cidsignalling=v23 ; or bell (default) or dtmf or v23 - use v23 for telkom huawei fwt For use in chan_dahdi.conf ;cidstart=ring ;polarity or ring (default) use ring for telkom fwt Furthermore, for indications.conf the code looks like this: array ( "name" => "Kenya (Republic of)", "iso" => "ke", "conf" => "ringcadence = 670,3000,1500,5000\nbusy = 425/200,0/600,425/200,0/600\ncongestion = 425/200,0/600\ndial = 425\nringing = 425/670,0/3000,425/1500,0/5000\ninfo = 900/750,1400/750,1800/750,0/1250\ncallwaiting = 425\n"), | ||
Comments: | By: Shaun Ruffell (sruffell) 2011-04-18 10:50:35 @alex_rhys-hurn: Would you be able to attach this information as a patch to zonedata.c in dahdi-tools? By: Alex Rhys-Hurn (alex_rhys-hurn) 2011-04-18 11:39:34 Hello, Thank you for getting back to me. Sadly I am not a programmer of any sort, and I dont know how to make a patch. I am prepared to put effort in to sort this, so if you could help me with a template and some guidance, I will try to find somebody who can make a patch, though I dont really know what that entails. By: Shaun Ruffell (sruffell) 2011-04-18 11:58:09 Here are some instructions using git (which is my preference): (If you have not already done so, fill out the contributors agreement as outlined at the bottom here: http://www.asterisk.org/developers/bug-guidelines ) Install git on your machine and then follow these instructions. $ git clone git://github.com/sruffell/dahdi-tools dahdi-tools-new $ cd dahdi-tools-new/ $ git show origin/externals:get | bash $ ./bootstrap.sh $ ./configure $ git config --global user.name "<your name>" $ git config --global user.email "<your email address>" $ vim zonedata.c <test that everything works here, once it does...> $ git add zonedata.c $ git commit -s -m "zonedata: Adding tones for Kenya" $ git format-patch origin/master $ vim 0001-zonedata-Adding-tones-for-Kenya.patch [whoops...don't need to edit the patch file...just attach it to the issue at http://issues.asterisk.org] Upload the attached *.patch file to this issue. Thanks! I appreciate the effort. By: Alex Rhys-Hurn (alex_rhys-hurn) 2011-04-19 00:50:54 OK, Chatted to a buddy of mine called Vincent who is going to have a go. Give us some time. Alex By: Vincent Gitobu (vincent123) 2011-04-21 00:13:24 alex_rhys-hurn and sruffell, am working on the patch. Will keep you posted. By: Shaun Ruffell (sruffell) 2012-01-09 11:05:45.251-0600 I'm going to close this out for now. Feel free to reopen when there is a patch to attach. |