diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-02 16:09:38 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-02 16:09:38 +0000 |
commit | 4f0e946c0cc051e79e4eb229d8993534086bcd9b (patch) | |
tree | 0b7fd8f8d66cab8241f5b36a6937160437017f3b /channels/chan_zap.c | |
parent | ad4ff268920738181477eb89cd099c26d5679fb0 (diff) |
Fix so that hardhdlc works w/ chan_zap
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9072 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 52195c9d9..029e81343 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -9240,7 +9240,7 @@ static int start_pri(struct zt_pri *pri) ast_log(LOG_ERROR, "Unable to get parameters for D-channel %d (%s)\n", x, strerror(errno)); return -1; } - if (p.sigtype != ZT_SIG_HDLCFCS) { + if ((p.sigtype != ZT_SIG_HDLCFCS) && (p.sigtype != ZT_SIG_HARDHDLC)) { zt_close(pri->fds[i]); pri->fds[i] = -1; ast_log(LOG_ERROR, "D-channel %d is not in HDLC/FCS mode. See /etc/zaptel.conf\n", x); |