[asterisk-bugs] [DAHDI-linux 0019069]: [patch] Adding Costa Rica settings to dahdi

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 5 18:36:06 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19069 
====================================================================== 
Reported By:                desafiocostarica
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   19069
Category:                   dahdi (the module)/NewFeature
Reproducibility:            have not tried
Severity:                   trivial
Priority:                   normal
Status:                     new
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2011-04-05 18:17 CDT
Last Modified:              2011-04-05 18:36 CDT
====================================================================== 
Summary:                    [patch] Adding Costa Rica settings to dahdi
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,
	},
====================================================================== 

---------------------------------------------------------------------- 
 (0133418) sruffell (administrator) - 2011-04-05 18:36
 https://issues.asterisk.org/view.php?id=19069#c133418 
---------------------------------------------------------------------- 
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? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-05 18:36 sruffell       Note Added: 0133418                          
======================================================================




More information about the asterisk-bugs mailing list