From d9faeb61779d2768cb9dc1748df512ec4188ee97 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Thu, 12 Jun 2008 17:49:37 +0000 Subject: [PATCH] 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 --- channels/chan_dahdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {