Fix pseudo channel allocation errors on startup when using SS7
authorMatthew Fredrickson <creslin@digium.com>
Wed, 11 Jun 2008 18:53:10 +0000 (18:53 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Wed, 11 Jun 2008 18:53:10 +0000 (18:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121914 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 4957914..228499d 100644 (file)
@@ -8169,7 +8169,7 @@ static struct zt_pvt *mkintf(int channel, const struct zt_chan_conf *conf, struc
                                }
                        }
 #ifdef HAVE_SS7
-                       if (conf->chan.sig == SIG_SS7) {
+                       if (chan_sig == SIG_SS7) {
                                struct zt_ss7 *ss7;
                                int clear = 0;
                                if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_AUDIOMODE, &clear)) {