]> git.pld-linux.org Git - packages/callweaver.git/blame - callweaver-upstream.patch
- rename spandsp.patch to upstream.patch
[packages/callweaver.git] / callweaver-upstream.patch
CommitLineData
cfae6d74 1--- 1.2/channels/chan_zap.c 1999-01-21 00:28:13.000000000 +0000
2+++ 1.2/channels/chan_zap.c 2008-06-29 21:30:51.487605750 +0000
3@@ -95,7 +95,7 @@
4 #define TRUE (!FALSE)
5 #endif
6
7-#ifndef ZT_SIG_EM_E1
8+#if !defined(ZT_SIG_EM_E1) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC))
9 #error "Your zaptel is too old. please update"
10 #endif
11
12@@ -8888,7 +8888,7 @@
13 cw_log(LOG_ERROR, "Unable to get parameters for D-channel %d (%s)\n", x, strerror(errno));
14 return -1;
15 }
16- if (p.sigtype != ZT_SIG_HDLCFCS) {
17+ if ((p.sigtype != ZT_SIG_HDLCFCS) && (p.sigtype != ZT_SIG_HARDHDLC)) {
18 zt_close(pri->fds[i]);
19 pri->fds[i] = -1;
20 cw_log(LOG_ERROR, "D-channel %d is not in HDLC/FCS mode. See /etc/zaptel.conf\n", x);
21--- callweaver-1.2.0.1/corelib/dsp.c.org 2008-06-24 21:01:07.696898500 +0000
22+++ callweaver-1.2.0.1/corelib/dsp.c 2008-06-24 21:02:33.118237000 +0000
23@@ -898,9 +898,9 @@
24 NULL);
25 }
26 if ((digitmode & DSP_DIGITMODE_RELAXDTMF))
27- dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 8);
28+ dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 8, -99);
29 else
30- dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 4);
31+ dtmf_rx_parms(&dsp->dtmf_rx, FALSE, 8, 4, -99);
32 dsp->digitmode = digitmode;
33 return 0;
34 }
This page took 0.21277 seconds and 4 git commands to generate.