[Home]

Summary:ASTERISK-05140: DTMF is not recongnized in AGI
Reporter:Farshad Khoshkhui (farshad)Labels:
Date Opened:2005-09-24 10:07:27Date Closed:2011-06-07 14:10:38
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:DTMF is not recognized in agi on asterisk1.2.0-beta1. None of "get data" and "wait for digit" and other dtmf related functions are working(timeout and no dtmf detected while I'm pushing buttons).

ex. exten => 1,1,agi,test.py

If I put an authenticate before agi , dtmf is recognized in agi script.
ex.
exten => 1,2,authenticate(1234)
exten => 1,2,agi,test.py

What makes me sure it's a bug is I've tested asterisk1.0.9 and it didn't has this issue.

****** ADDITIONAL INFORMATION ******

I'm using Xten X-Lite SIP phone and outband DTMF for testing.
Comments:By: Mark Spencer (markster) 2005-09-24 10:19:56

This is a configuration issue, you need to answer the line first.

By: Farshad Khoshkhui (farshad) 2005-09-25 01:43:11

The example was summerized to be clear. There was an answer line before the agi.

1- Exactly same configuration works on asterisk1.0.9
2- Only putting an Authenticate cause the agi to work correctly otherwise( with or leading answer) no dtmf is detected.

By: Michael Jerris (mikej) 2005-09-25 11:57:31

can we see your sip debug, verbose, and rtp debug of this call.  Also, what settings do you have in xlite for dtmf and codec, and what does your sip.conf look like?

By: Farshad Khoshkhui (farshad) 2005-09-26 03:29:30

I wasn't able to reproduce this on my home 32bit box.
I was using an athlon64 with fedora core 3 64 bit to test before. I'll keep you updated.

By: Vlad Galu (vladgalu) 2005-10-05 09:51:32

Will somebody please post a working configuration ? I'm encountering the same problem, using Asterisk 1.0.9 on FreeBSD, and X-Lite. Using out-of-band DTMF signaling. Using ulaw (gsm doesn't support DTMF). In sip.conf I have:
-- cut here --
type=friend
context=mycontext
username=myname
secret=mysecret
host=dynamic
nat=no
callerid="myname"<101>
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
-- and here --

Also, adding an authentication step before running the AGI script works, as shown by farshad.



By: Vlad Galu (vladgalu) 2005-10-06 03:42:20

I figured it out. I was being stupid and forget to call AGI::answer().

By: goatmilk (goatmilk) 2005-10-11 17:08:37

Closing bug, not an issue.