git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123166
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
if (conf->is_sig_auto)
chan_sig = sigtype_to_signalling(p.sigtype);
- if (p.sigtype != (conf->chan.sig & 0x3ffff)) {
- ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(conf->chan.sig), sig2str(p.sigtype));
+ if (p.sigtype != (chan_sig & 0x3ffff)) {
+ ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(chan_sig), sig2str(p.sigtype));
destroy_dahdi_pvt(&tmp);
return NULL;
}