Summary: | DAHTOOL-00053: [patch] Adding Costa Rica settings to dahdi | ||
Reporter: | Alonso Murillo (desafiocostarica) | Labels: | |
Date Opened: | 2011-04-05 18:17:04 | Date Closed: | 2011-05-24 10:14:28 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Utilities |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 0001-zonedata-Add-support-for-Costa-Rica.patch | |
Description: | Can you guy add Costa Rica settings to dahdi modules by adding the following code to: tools/zonedata.c { .zone = 44, .country = "cr", .description = "Costa Rica", .ringcadence = { 1203, 4797 }, .tones = { /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */ { DAHDI_TONE_DIALTONE, "450" }, { DAHDI_TONE_BUSY, "450/330,0/330" }, { DAHDI_TONE_RINGTONE, "450/1203,0/4900" }, { DAHDI_TONE_CONGESTION, "450/330,0/330" }, { DAHDI_TONE_CALLWAIT, "450/150,0/150,450/150,450/8000" }, /* RECALL DIAL TONE - not specified */ { DAHDI_TONE_DIALRECALL, "!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450" }, /* RECORD TONE - not specified */ { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" }, { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" }, /* STUTTER TONE - not specified */ { DAHDI_TONE_STUTTER, "!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" }, }, .dtmf_high_level = -9, .dtmf_low_level = -11, .mfr1_level = -7, .mfr2_level = -8, }, | ||
Comments: | By: Shaun Ruffell (sruffell) 2011-04-05 18:36:06 Could you try the attached patch? Also...may I use your real identity in the commit message as the author? In case someone needs to try and contact you in the future? (also, if you wget this patch..be sure to use patch -p1 since it was created with git) By: Digium Subversion (svnbot) 2011-05-24 10:14:27 Repository: dahdi Revision: 9919 U tools/trunk/zonedata.c ------------------------------------------------------------------------ r9919 | sruffell | 2011-05-24 10:14:26 -0500 (Tue, 24 May 2011) | 8 lines zonedata: Add support for Costa Rica. Add in the costa Rica zonedata. (closes issue DAHTOOL-53) Reported by: desafiocostarica Signed-off-by: Shaun Ruffell <sruffell@digium.com> ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=9919 |