summaryrefslogtreecommitdiff
path: root/kernel/zaptel-base.c
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-04-25 20:47:07 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-04-25 20:47:07 +0000
commit768dd5f6b3dfcbe7458e5c29f391f3c7bb0aff87 (patch)
tree5b0c07487f54783528e0b9cf805b5fe751f8caf5 /kernel/zaptel-base.c
parent012b4d85ce57ccca07e72f09c4e590b3d80485ec (diff)
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) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4196 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/zaptel-base.c')
-rw-r--r--kernel/zaptel-base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/zaptel-base.c b/kernel/zaptel-base.c
index dfa2068..c2d87e0 100644
--- a/kernel/zaptel-base.c
+++ b/kernel/zaptel-base.c
@@ -1214,7 +1214,6 @@ static int start_tone(struct zt_chan *chan, int tone)
}
} 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 @@ static int start_tone(struct zt_chan *chan, int tone)
}
} 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) {