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
This commit is contained in:
Jeff Peeler
2008-06-12 17:49:37 +00:00
parent c8b2bd8817
commit d9faeb6177

View 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)) {