From: Matthew Fredrickson Date: Wed, 11 Jun 2008 18:53:10 +0000 (+0000) Subject: Fix pseudo channel allocation errors on startup when using SS7 X-Git-Tag: 1.6.2.0-beta1~2025 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78e593eecb7eb35acf7799ba90ff313d8ad07afd;p=thirdparty%2Fasterisk.git Fix pseudo channel allocation errors on startup when using SS7 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121914 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 495791478d..228499df98 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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)) {