Page 1 of 1

issues with DTMF

PostPosted: Fri Nov 02, 2007 5:15 pm
by fastloop
Hi all,

We're having some small issues with DTMF. We have the following setup:

astguiclient 2.0.3
asterisk 1.2.17
digium te410p
t1 pri lines
channel banks

What's happenning is that when we dial into an IVR and input the DTMF numbers on the agent's screen, not all the numbers are passed into the IVR. The last digit is always missing. The workaround we did is put "," (comma) at the end of the DTMF numbers and it worked. Is there a way to have a comma to automatically append to the DTMF string?

We tried doing this entry:

exten => 8500998,1,Answer
exten => 8500998,2,Macro(dtmf,${CALLERID}${CALLERIDNAME})

[macro-dtmf]
exten => s,1,GosubIf(${LEN(${ARG1})}=0]?20:10)
exten => s,10,Hangup
exten => s,20,Playback(silence)
exten => s,21,Playback(${ARG1:0:1})
exten => s,22,Macro(dtmf|${ARG1:1})

This actually crashed asterisk 1.2.24 and we're also hearing something like "that's an invalid extension.

PostPosted: Fri Nov 02, 2007 10:56 pm
by mflorell
Any reason you are not using the DTMF script in the astguiclient release?

PostPosted: Sun Nov 04, 2007 3:49 am
by fastloop
We're actually using the built-in dtmf agi script. That's the one that's missing the last digit. It seems that the last tone is always incomplete. As a workaround, we always append a comma on the end of the dtmf entries. Any elegant solution for this? :D

PostPosted: Mon Nov 05, 2007 1:50 am
by mflorell
You could try editing the dtmf agi script to add a pause at the end every time it runs.

PostPosted: Tue Nov 06, 2007 1:05 pm
by devafree
hello

i think you should have tried the comma before the digit that gets blipped, not after.

regards

debafree