[zaptel-commits] qwell: branch 1.4 r4196 - /branches/1.4/kernel/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Apr 25 15:47:08 CDT 2008


Author: qwell
Date: Fri Apr 25 15:47:07 2008
New Revision: 4196

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4196
Log:
Since MF R2 tones are generated continuously, we need to not set the dialing status.

(closes issue #12526)
Reported by: moy
Patches:
      zaptel-mf-dialing-rev4195.patch uploaded by moy (license 222)

Modified:
    branches/1.4/kernel/zaptel-base.c

Modified: branches/1.4/kernel/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/zaptel-base.c?view=diff&rev=4196&r1=4195&r2=4196
==============================================================================
--- branches/1.4/kernel/zaptel-base.c (original)
+++ branches/1.4/kernel/zaptel-base.c Fri Apr 25 15:47:07 2008
@@ -1214,7 +1214,6 @@
 		}
 	} else if (chan->digitmode == DIGIT_MODE_MFR2_FWD) {
 		if ((tone >= ZT_TONE_MFR2_FWD_BASE) && (tone <= ZT_TONE_MFR2_FWD_MAX)) {
-			chan->dialing = 1;
 			res = 0;
 			tone -= ZT_TONE_MFR2_FWD_BASE;
 			if (chan->curzone) {
@@ -1235,7 +1234,6 @@
 		}
 	} else if (chan->digitmode == DIGIT_MODE_MFR2_REV) {
 		if ((tone >= ZT_TONE_MFR2_REV_BASE) && (tone <= ZT_TONE_MFR2_REV_MAX)) {
-			chan->dialing = 1;
 			res = 0;
 			tone -= ZT_TONE_MFR2_REV_BASE;
 			if (chan->curzone) {




More information about the zaptel-commits mailing list