[Home]

Summary:ASTERISK-10117: DTMF autogeneration (repeat last DTMF after change of line)
Reporter:j2l (j2l)Labels:
Date Opened:2007-08-18 19:15:28Date Closed:2011-06-07 14:07:56
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fwd
( 1) vmup
Description:Asterisk 1.4.8, iax trunk, gsm codec, centos5, intel pentium.
same pb as http://bugs.digium.com/bug_view_advanced_page.php?bug_id=10084 but in voicemailmain.

it reads extension, then ask for password and repeat the last DTMF of extension in password:

[Aug 18 19:04:20] DTMF[22217]: channel.c:2338 __ast_read: DTMF end '1' received on IAX2/vmupiax1-out-12, duration 0 ms
[Aug 18 19:04:20] DTMF[22217]: channel.c:2372 __ast_read: DTMF begin emulation of '1' with duration 100 queued on IAX2/vmupiax1-out-12
[Aug 18 19:04:20] DTMF[22217]: channel.c:2444 __ast_read: DTMF end emulation of '1' queued on IAX2/vmupiax1-out-12
[Aug 18 19:04:21] DTMF[22217]: channel.c:2338 __ast_read: DTMF end '0' received on IAX2/vmupiax1-out-12, duration 0 ms
[Aug 18 19:04:21] DTMF[22217]: channel.c:2372 __ast_read: DTMF begin emulation of '0' with duration 100 queued on IAX2/vmupiax1-out-12
[Aug 18 19:04:21] DTMF[22217]: channel.c:2444 __ast_read: DTMF end emulation of '0' queued on IAX2/vmupiax1-out-12

   -- <IAX2/vmupiax1-out-12> Playing 'vm-password' (language 'en')
[Aug 18 19:04:23] DTMF[22217]: channel.c:2338 __ast_read: DTMF end '0' received on IAX2/vmupiax1-out-12, duration 0 ms
[Aug 18 19:04:23] DTMF[22217]: channel.c:2372 __ast_read: DTMF begin emulation of '0' with duration 100 queued on IAX2/vmupiax1-out-12
[Aug 18 19:04:23] DTMF[22217]: channel.c:2444 __ast_read: DTMF end emulation of '0' queued on IAX2/vmupiax1-out-12
Comments:By: Ronald Chan (loloski) 2007-08-18 23:29:49

j2l

Did you try the latest SVN-1.4 branch ? please report it back thanks

By: j2l (j2l) 2007-08-19 10:56:53

nope, I stick on stable release, it's for production purpose.

I also had a DTMF "D" generated before entering voicemail.
meanwhile I tried with a fwd iax trunk and there's no problem!

so softphone -- fwd iax -- * DTMF works fine
hardphone -- PRI-gw-iax -- * DTMF are generated

By: pj (pj) 2007-08-19 15:12:41

you should update at least to 1.4.10.1

By: Joshua C. Colp (jcolp) 2007-08-19 20:05:43

Please try the latest version and report back.

By: j2l (j2l) 2007-08-20 20:46:12

updated to 1.4.10.1 but problem is still here :-(

By: j2l (j2l) 2007-08-20 21:37:36

after looking closer I see that the "queue" part is  the beginning of the problem, the first DTMF in voicemail (*) is accepted and not queued at the end, then the second (1) in IVR ends with "queue", and is repeated into voicemailmain (vm-login):

   -- Executing [s-BUSY@macro-vm:3] VoiceMail("IAX2/vmupiax1-7", "45@default|b") in new stack
   -- <IAX2/vmupiax1-7> Playing 'vm-theperson' (language 'en')
   -- <IAX2/vmupiax1-7> Playing 'digits/4' (language 'en')
   -- <IAX2/vmupiax1-7> Playing 'digits/5' (language 'en')
[Aug 20 22:34:17] DTMF[22342]: channel.c:2346 __ast_read: DTMF end '*' received on IAX2/vmupiax1-7, duration 0 ms
[Aug 20 22:34:17] DTMF[22342]: channel.c:2392 __ast_read: DTMF end accepted without begin '*' on IAX2/vmupiax1-7
[Aug 20 22:34:17] DTMF[22342]: channel.c:2402 __ast_read: DTMF end passthrough '*' on IAX2/vmupiax1-7

... [removed]
   -- Goto (ivr-2,s,8)
   -- Executing [s@ivr-2:8] Set("IAX2/vmupiax1-7", "TIMEOUT(digit)=3") in new stack
   -- Digit timeout set to 3
   -- Executing [s@ivr-2:9] Set("IAX2/vmupiax1-7", "TIMEOUT(response)=10") in new stack
   -- Response timeout set to 10
   -- Executing [s@ivr-2:10] BackGround("IAX2/vmupiax1-7", "custom/q_maj_client") in new stack
   -- <IAX2/vmupiax1-7> Playing 'custom/q_maj_client' (language 'en')
   -- Executing [s@ivr-2:11] WaitExten("IAX2/vmupiax1-7", "|") in new stack
[Aug 20 22:34:22] DTMF[22342]: channel.c:2346 __ast_read: DTMF end '1' received on IAX2/vmupiax1-7, duration 0 ms
[Aug 20 22:34:22] DTMF[22342]: channel.c:2382 __ast_read: DTMF begin emulation of '1' with duration 100 queued on IAX2/vmupiax1-7
[Aug 20 22:34:22] DTMF[22342]: channel.c:2465 __ast_read: DTMF end emulation of '1' queued on IAX2/vmupiax1-7
 == CDR updated on IAX2/vmupiax1-7
   -- Executing [1@ivr-2:1] DBdel("IAX2/vmupiax1-7", "") in new stack
...
   -- Goto (custom-vm,s,1)
...
   -- Executing [s@custom-vm:2] Answer("IAX2/vmupiax1-7", "") in new stack
   -- Executing [s@custom-vm:3] Wait("IAX2/vmupiax1-7", "1") in new stack
   -- Executing [s@custom-vm:4] VoiceMailMain("IAX2/vmupiax1-7", "@default") in new stack
   -- <IAX2/vmupiax1-7> Playing 'vm-login' (language 'en')
[Aug 20 22:34:23] DTMF[22342]: channel.c:2346 __ast_read: DTMF end '1' received on IAX2/vmupiax1-7, duration 0 ms
[Aug 20 22:34:23] DTMF[22342]: channel.c:2392 __ast_read: DTMF end accepted without begin '1' on IAX2/vmupiax1-7
[Aug 20 22:34:23] DTMF[22342]: channel.c:2402 __ast_read: DTMF end passthrough '1' on IAX2/vmupiax1-7

then following DTMF are queued but not repeated within the same menu.
It's only when it changes menu that it repeat the last DTMF of the previous menu.



By: j2l (j2l) 2007-08-23 08:44:46

bump.

file, I've seen you did a lot about DTMF, would you please take this one?
I'm longing for it to be fixed ... production's waiting,

thanks

By: Joshua C. Colp (jcolp) 2007-08-23 08:50:22

So you are saying that the 1 as provided in the above output should only show up once?



By: j2l (j2l) 2007-08-23 12:48:55

so:
yes



By: Joshua C. Colp (jcolp) 2007-08-23 12:52:36

I just need a yes or no to my question :)

By: j2l (j2l) 2007-08-27 10:02:08

hi file,

any news??
I'm longing to have it fix.

I tested with SIP trunk and have the same problem.
but problem doesnt appear on IAX with freeworlddialup.

By: Joshua C. Colp (jcolp) 2007-08-27 10:07:00

The output you gave was with chan_iax2 so let's stick with that, I need an iax2 set debug to go with that. How is DTMF being received on that box as well?

By: j2l (j2l) 2007-08-27 10:54:05

here are the 2 files:
fwd with a freeworddialup trunk
vmup with a PRI-GW trunk

By: Joshua C. Colp (jcolp) 2007-08-27 10:55:33

The DTMF is coming over the IAX2 channel from vmup, so now I need debug from there to show why.

By: j2l (j2l) 2007-08-27 10:55:39

DTMF is RFC2833 on both
(I even didn't know that another DTMF was possible on IAX)

By: j2l (j2l) 2007-08-27 10:57:39

"now I need debug from there to show why"

I don't understand, please tell me step by step what I can do to help

By: Joshua C. Colp (jcolp) 2007-08-27 10:59:00

The issue is not on the box you have provided debug information for, the issue is on the vmup box. I need the console output with DTMF Logging enabled and a general idea of the call flow.

By: j2l (j2l) 2007-08-27 11:27:33

Vmup is my trunk provider, not a box I own.
I know they use asterisk 1.2 for IAX, nothing more.

By: Joshua C. Colp (jcolp) 2007-08-27 11:28:49

Well then there is nothing I can do... the iax2 debug clearly shows them sending the DTMF digits.

By: j2l (j2l) 2007-08-27 11:32:31

fwd:
my box is registered as 9999999@iax2.fwdnet.net
000000@iax2.fwdnet.net calls 9999999
DTMF works

same box is registered as vmup1@iax.vmup.com with DID 1234567890
0987654321 calls 1234567890
vmup1 calls my box and pass the call
DTMF is repeated

inbound routes are the same for each trunk: goto 10 voicemail

By: Joshua C. Colp (jcolp) 2007-08-27 11:36:41

This is an issue with your provider. The iax2 debug with them *clearly* shows two frames coming in for the DTMF digit 1. There is nothing that can be done in Asterisk to fix this because there is no issue there.

By: j2l (j2l) 2007-08-27 11:40:25

please let me see with them before closing this one.
should be around 3 days.

By: j2l (j2l) 2007-08-27 11:45:18

what put the end_dtmf_only flag on for the last digit on vmup (the one I didn't dialed)??

By: Joshua C. Colp (jcolp) 2007-08-27 11:47:18

When waiting for DTMF certain portions of the core will switch the channel's end dtmf only flag on, because they only need to know when the DTMF digit ends... not when it begins.

By: j2l (j2l) 2007-08-27 15:43:32

when I don't wait for waitexten from IVR to input DTMF, it doesn't repeat the DTMF!!!
but it still repeat within voicemailmain.

I contacted the provider, wait and see.

By: Joshua C. Colp (jcolp) 2007-09-04 08:14:29

I'm suspending this until further proof is added that the issue really is on Asterisk's side.