dect
/
asterisk
Archived
13
0
Fork 0

Fix so that hardhdlc works w/ chan_zap

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9072 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mattf 2006-02-02 16:09:38 +00:00
parent ad4ff26892
commit 4f0e946c0c
1 changed files with 1 additions and 1 deletions

View File

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