[zaptel-commits] qwell: trunk r2685 - in /trunk: ./ wctdm.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Jul 3 13:59:31 CDT 2007


Author: qwell
Date: Tue Jul  3 13:59:30 2007
New Revision: 2685

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2685
Log:
Merged revisions 2684 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

Closes issue #7191

................
r2684 | qwell | 2007-07-03 13:58:24 -0500 (Tue, 03 Jul 2007) | 12 lines

Merged revisions 2683 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2683 | qwell | 2007-07-03 13:57:42 -0500 (Tue, 03 Jul 2007) | 4 lines

Fix a potential issue with the reversepolarity module option in wctdm.

Issue 7191, patch by Thomas Andrews.

........

................

Modified:
    trunk/   (props changed)
    trunk/wctdm.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/wctdm.c
URL: http://svn.digium.com/view/zaptel/trunk/wctdm.c?view=diff&rev=2685&r1=2684&r2=2685
==============================================================================
--- trunk/wctdm.c (original)
+++ trunk/wctdm.c Tue Jul  3 13:59:30 2007
@@ -1810,7 +1810,7 @@
 			wc->mod[chan->chanpos - 1].fxs.idletxhookstate = 0x6;	/* OHT mode when idle */
 		else
 			wc->mod[chan->chanpos - 1].fxs.idletxhookstate = 0x2;
-		if (wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x1) {
+		if (wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x1 || wc->mod[chan->chanpos - 1].fxs.lasttxhook == 0x5) {
 				/* Apply the change if appropriate */
 				if (reversepolarity)
 					wc->mod[chan->chanpos - 1].fxs.lasttxhook = 0x6;




More information about the zaptel-commits mailing list