projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54135ba
)
Fix so that hardhdlc works w/ chan_zap
author
Matthew Fredrickson
<creslin@digium.com>
Thu, 2 Feb 2006 16:09:38 +0000
(16:09 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Thu, 2 Feb 2006 16:09:38 +0000
(16:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9072
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
52195c9
..
029e813
100644
(file)
--- 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);