From: Doug Bailey Date: Fri, 19 Sep 2008 16:17:14 +0000 (+0000) Subject: Adjust for technology when generating user extension X-Git-Tag: 1.4.23-rc1~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4748ad3c30d47c1720fd4b06c6774c3cd33a64e;p=thirdparty%2Fasterisk.git Adjust for technology when generating user extension (issue #13332) Reported by: wizzy Tested by: bkruse git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@143612 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index fd4fc00d3a..3314ac0310 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -2478,7 +2478,7 @@ static void pbx_load_users(void) 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, ",");