Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914...
authorJeff Peeler <jpeeler@digium.com>
Thu, 12 Jun 2008 17:49:37 +0000 (17:49 +0000)
committerJeff Peeler <jpeeler@digium.com>
Thu, 12 Jun 2008 17:49:37 +0000 (17:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122244 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index cbd1bf2..801ee05 100644 (file)
@@ -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)) {