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
1.6.1
Matthew Fredrickson 17 years ago
parent 467c6f5f90
commit 78e593eecb

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

Loading…
Cancel
Save