[svn-commits] mattf: trunk r64455 - in /trunk: channels/chan_zap.c configs/zapata.conf.sample

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue May 15 13:45:20 MST 2007


Author: mattf
Date: Tue May 15 15:45:20 2007
New Revision: 64455

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64455
Log:
XXX-XXX-XXX appears to be the standard ANSI pointcode format

Modified:
    trunk/channels/chan_zap.c
    trunk/configs/zapata.conf.sample

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=64455&r1=64454&r2=64455
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue May 15 15:45:20 2007
@@ -7482,7 +7482,7 @@
 	unsigned int code1, code2, code3;
 	int numvals;
 
-	numvals = sscanf(pcstring, "%d.%d.%d", &code1, &code2, &code3);
+	numvals = sscanf(pcstring, "%d-%d-%d", &code1, &code2, &code3);
 	if (numvals == 1)
 		return code1;
 	if (numvals == 3)

Modified: trunk/configs/zapata.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/zapata.conf.sample?view=diff&rev=64455&r1=64454&r2=64455
==============================================================================
--- trunk/configs/zapata.conf.sample (original)
+++ trunk/configs/zapata.conf.sample Tue May 15 15:45:20 2007
@@ -676,7 +676,7 @@
 
 ; Point code of the linkset.  For ITU, this is the decimal number
 ; format of the point code.  For ANSI, this can either be in decimal
-; number format or in the xxx.xxx.xxx format
+; number format or in the xxx-xxx-xxx format
 ;pointcode = 1
 
 ; Point code of node adjacent to this signaling link (Possibly the STP between you and



More information about the svn-commits mailing list