[Pkg-voip-commits] r5766 - in /zaptel/trunk/debian: changelog patches/series patches/sigcap_dacs
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Wed May 21 11:42:28 UTC 2008
Author: tzafrir-guest
Date: Wed May 21 11:42:28 2008
New Revision: 5766
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5766
Log:
Patch sigcap_dacs: tell zaphfc and vzaphfc to report support for
ZT_SIG_DACS. Makes ztscan report then as digital spans.
Disabled for the moment for further review.
Added:
zaptel/trunk/debian/patches/sigcap_dacs
Modified:
zaptel/trunk/debian/changelog
zaptel/trunk/debian/patches/series
Modified: zaptel/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/changelog?rev=5766&op=diff
==============================================================================
--- zaptel/trunk/debian/changelog (original)
+++ zaptel/trunk/debian/changelog Wed May 21 11:42:28 2008
@@ -1,5 +1,6 @@
zaptel (1:1.4.10.1~dfsg-2) UNRELEASED; urgency=low
+ [Faidon Liambotis]
* Update qozap from bristuff-0.4.0-RC1.
- fixed duoBRI miniPCI detection in qozap.
- added support for PCIe variants of duoBRI and quadBRI.
@@ -11,6 +12,10 @@
- added module parameter "baudrate" (the default is 19200)
- added AT commands for SIM card selection
- added AT commands for shutting down/starting GSM modules
+
+ [Tzafrir Cohen]
+ * Patch sigcap_dacs: tell zaphfc and vzaphfc to report support for
+ ZT_SIG_DACS. Makes ztscan report then as digital spans.
-- Faidon Liambotis <paravoid at debian.org> Wed, 21 May 2008 03:53:30 +0300
Modified: zaptel/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/patches/series?rev=5766&op=diff
==============================================================================
--- zaptel/trunk/debian/patches/series (original)
+++ zaptel/trunk/debian/patches/series Wed May 21 11:42:28 2008
@@ -7,3 +7,4 @@
zaphfc-florz
zaptel_perl
xpp_fix_t1
+#sigcap_dacs
Added: zaptel/trunk/debian/patches/sigcap_dacs
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/debian/patches/sigcap_dacs?rev=5766&op=file
==============================================================================
--- zaptel/trunk/debian/patches/sigcap_dacs (added)
+++ zaptel/trunk/debian/patches/sigcap_dacs Wed May 21 11:42:28 2008
@@ -1,0 +1,28 @@
+The asterisk-gui uses ztscan to detect if a span is digital: if its
+first B channel supports (as in its sigcap) ZT_SIG_DACS. This patch adds
+the ZT_SIG_DACS capability for a number of channel drivers. It seems
+that those channels would support it anyway (although it rarely gets
+tested).
+
+--- zaptel-1.4.10.1~dfsg.orig/kernel/vzaphfc/vzaphfc_main.c
++++ zaptel-1.4.10.1~dfsg/kernel/vzaphfc/vzaphfc_main.c
+@@ -1005,7 +1005,7 @@ static int hfc_zap_initialize(struct hfc
+ ZT_SIG_FXSLS | ZT_SIG_FXSGS |
+ ZT_SIG_FXSKS | ZT_SIG_FXOLS |
+ ZT_SIG_FXOGS | ZT_SIG_FXOKS |
+- ZT_SIG_CAS | ZT_SIG_SF;
++ ZT_SIG_CAS | ZT_SIG_SF | ZT_SIG_DACS;
+
+ card->zt_chans[i].chanpos = i + 1;
+ }
+--- zaptel-1.4.10.1~dfsg.orig/kernel/zaphfc/zaphfc.c
++++ zaptel-1.4.10.1~dfsg/kernel/zaphfc/zaphfc.c
+@@ -721,7 +721,7 @@ static int zthfc_initialize(struct zt_hf
+ memset(&(zthfc->chans[i]), 0x0, sizeof(struct zt_chan));
+ sprintf(zthfc->chans[i].name, "ZTHFC%d/%d/%d", hfc_dev_count + 1,0,i + 1);
+ zthfc->chans[i].pvt = zthfc;
+- zthfc->chans[i].sigcap = ZT_SIG_EM | ZT_SIG_CLEAR | ZT_SIG_FXSLS | ZT_SIG_FXSGS | ZT_SIG_FXSKS | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_FXOKS | ZT_SIG_CAS | ZT_SIG_SF;
++ zthfc->chans[i].sigcap = ZT_SIG_EM | ZT_SIG_CLEAR | ZT_SIG_FXSLS | ZT_SIG_FXSGS | ZT_SIG_FXSKS | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_FXOKS | ZT_SIG_CAS | ZT_SIG_SF | ZT_SIG_DACS;
+ zthfc->chans[i].chanpos = i + 1;
+ }
+
More information about the Pkg-voip-commits
mailing list