From: Jeff Peeler Date: Thu, 12 Jun 2008 17:49:37 +0000 (+0000) Subject: Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914... X-Git-Tag: 1.6.2.0-beta1~2010 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9faeb61779d2768cb9dc1748df512ec4188ee97;p=thirdparty%2Fasterisk.git Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914, moving from chan_zap to chan_dahdi) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122244 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index cbd1bf2015..801ee0510e 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -8138,7 +8138,7 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, } } #ifdef HAVE_SS7 - if (conf->chan.sig == SIG_SS7) { + if (chan_sig == SIG_SS7) { struct dahdi_ss7 *ss7; int clear = 0; if (ioctl(tmp->subs[SUB_REAL].zfd, DAHDI_AUDIOMODE, &clear)) {