Changeset 4774
Added ZAP_SIG_HARDHDLC as a valid signaling type for an ISDN channel
Committed by:
coppice
Date:
May 27 2008 * 14:38 (7 months ago)
Affected files:
callweaver/branches/rel/1.2/channels/chan_zap.c (unified diff)
| r4723 | r4774 | |
|---|---|---|
| 95 | 95 | #define TRUE (!FALSE) |
| 96 | 96 | #endif |
| 97 | 97 | |
| 98 | #ifndef ZT_SIG_EM_E1 | |
| 98 | #if !defined(ZT_SIG_EM_E1) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC)) | |
| 99 | 99 | #error "Your zaptel is too old. please update" |
| 100 | 100 | #endif |
| 101 | 101 | |
| --- | --- | |
| 8888 | 8888 | cw_log(LOG_ERROR, "Unable to get parameters for D-channel %d (%s)\n", x, strerror(errno)); |
| 8889 | 8889 | return -1; |
| 8890 | 8890 | } |
| 8891 | if (p.sigtype != ZT_SIG_HDLCFCS) { | |
| 8891 | if ((p.sigtype != ZT_SIG_HDLCFCS) && (p.sigtype != ZT_SIG_HARDHDLC)) { | |
| 8892 | 8892 | zt_close(pri->fds[i]); |
| 8893 | 8893 | pri->fds[i] = -1; |
| 8894 | 8894 | cw_log(LOG_ERROR, "D-channel %d is not in HDLC/FCS mode. See /etc/zaptel.conf\n", x); |
![Home changeset 4774 [home]](/images/logo.png?1180520111)
RSS Feeds