summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2008-06-11 18:53:10 +0000
committerMatthew Fredrickson <creslin@digium.com>2008-06-11 18:53:10 +0000
commit78e593eecb7eb35acf7799ba90ff313d8ad07afd (patch)
tree8dbdb7a6834f5d6eb17fbb72b171ed4f224ba387
parent467c6f5f90c40c0e7e7e8dd2fc3d0f71d106287c (diff)
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
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 495791478..228499df9 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)) {