[asterisk-bugs] [Asterisk 0003834]: data for Poland in zonedata.c seems invalid

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 10:50:15 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=3834 
====================================================================== 
Reported By:                arekm
Assigned To:                markster
====================================================================== 
Project:                    Asterisk
Issue ID:                   3834
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-22-2005 17:08 CST
Last Modified:              06-07-2008 10:50 CDT
====================================================================== 
Summary:                    data for Poland in zonedata.c seems invalid
Description: 
Running tzcfg causes invalid argument error when trying to set loadzone=pl.
This patch seems to fix the problem (one liners do not need disclaimer
right?):
diff -u -u -r1.32 zonedata.c
--- zonedata.c  1 Mar 2005 06:43:42 -0000       1.32
+++ zonedata.c  22 Mar 2005 21:13:03 -0000
@@ -343,7 +343,7 @@
                { 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,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000"
},
+               { ZT_TONE_INFO,
"!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0"
},
                /* 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"
} },
        },

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 10:50  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 608

U   trunk/zonedata.c

------------------------------------------------------------------------
r608 | markster | 2008-06-07 10:50:14 -0500 (Sat, 07 Jun 2008) | 2 lines

Fix polish tone zone (bug http://bugs.digium.com/view.php?id=3834)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=608 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 10:50  svnbot         Note Added: 0088019                          
======================================================================




More information about the asterisk-bugs mailing list