[Home]

Summary:ASTERISK-09943: D parameter in Dial() don't send DTMF to caller
Reporter:Elio Rojano (hell)Labels:
Date Opened:2007-07-24 07:24:59Date Closed:2007-07-24 12:46:45
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:D parameter in Dial is used to send DTMF tones when channel answer.
exten=>_X.,1,Dial(SIP/${EXTEN},40,D(12345))
will send '12345' stream in DTMF mode to called number when he answer the channel.

If anyone uses D(<tone>:<tone2>), <tone2> should be listened by caller user when channels was answered, but silence is listened.

100  --- > exten=>101,1,Dial(SIP/101,30,tTrD(1234:5678)) --- > 101

If we (ext.100) dial ext.101 and 101 answer the phone,
101 will listen '1234' DTMF tones
100 (we) will listen silence during some seconds while Asterisk 'send us' 5678 DMTF tones.


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

Caller phone can listen DTMF tones if channel is Answered before Dial.

exten=>101,1,Answer()
exten=>101,2,Dial(SIP/101,30,tTrD(1234:5678))

In this case, 100 will listen 5678 and 101 will listen 1234 but channel is answered. :(

I tested this issue in Asterisk 1.4.6 and SVN Trunk version.
Comments:By: Brett Bryant (bbryant) 2007-07-24 12:46:45

HeLL, I wasn't able to reproduce this problem with trunk, and after further research I found out that most SIP phones don't try to play DTMF tones to the user when it gets them. What you might hear is an short echo from the other receiver (I had this problem while testing).