[zaptel-commits] qwell: branch 1.4 r2684 - in /branches/1.4: ./ wctdm.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Tue Jul 3 13:58:24 CDT 2007
Author: qwell
Date: Tue Jul 3 13:58:24 2007
New Revision: 2684
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2684
Log:
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:
branches/1.4/ (props changed)
branches/1.4/wctdm.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/wctdm.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wctdm.c?view=diff&rev=2684&r1=2683&r2=2684
==============================================================================
--- branches/1.4/wctdm.c (original)
+++ branches/1.4/wctdm.c Tue Jul 3 13:58:24 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