[asterisk-commits] dbailey: branch 1.4 r143612 - /branches/1.4/pbx/pbx_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 19 11:17:15 CDT 2008


Author: dbailey
Date: Fri Sep 19 11:17:14 2008
New Revision: 143612

URL: http://svn.digium.com/view/asterisk?view=rev&rev=143612
Log:
Adjust for technology when generating user extension
(issue #13332)
Reported by: wizzy
Tested by: bkruse

Modified:
    branches/1.4/pbx/pbx_config.c

Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_config.c?view=diff&rev=143612&r1=143611&r2=143612
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Fri Sep 19 11:17:14 2008
@@ -2478,7 +2478,7 @@
 					start = x;
 				}
 				for (x = start; x <= finish; x++) {
-					snprintf(tmp, sizeof(tmp), "Zap/%d", x);
+					snprintf(tmp, sizeof(tmp), "%s/%d", dahdi_chan_name, x);
 					append_interface(iface, sizeof(iface), tmp);
 				}
 				chan = strsep(&c, ",");




More information about the asterisk-commits mailing list