[asterisk-bugs] [Asterisk 0014164]: Dial() option d is not working

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 6 11:49:18 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14164 
====================================================================== 
Reported By:                DennisD
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14164
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.0.5
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 167059 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-02 15:08 CST
Last Modified:              2009-02-06 11:49 CST
====================================================================== 
Summary:                    Dial() option d is not working
Description: 
"-- User hit 1 to disconnect call." doesn't show up and nothing happens
when using just the option d and pressing 1 when the call is ringing.

If I change the options to md, then it works (after a delay).  Also, if I
use retrydial, after it retries, then it works perfectly.

I have tried this with asterisk-1.6.0.3-rc1 and asterisk-1.6.0 from
SVN-branch-1.6.0-r167059M and they both do the same thing.


====================================================================== 

---------------------------------------------------------------------- 
 (0099630) putnopvut (administrator) - 2009-02-06 11:49
 http://bugs.digium.com/view.php?id=14164#c99630 
---------------------------------------------------------------------- 
I tried my idea out of sending a 183 Session Progress message to the phone
if it had the 'd' option enabled, but that did not work properly. The
phones on my desk would not actually transmit DTMF in that state even
though RTP had been set up.

Instead, what appears to work is to answer the call at that point so that
the phone will actually attempt to send DTMF. I've attached and tested
14164.patch which does this. It works for me in my setup, and I would
appreciate feedback to find out if it works for you as well.

The one concern I have about this method is the fact that CDR's for
incoming calls may have incorrect answer time and disposition fields as a
result. It may be worthwhile to create a way to "answer" a call,
signaling-wise, but not actually affect the CDR for the call. I think it
shouldn't be a difficult thing to do. For now, though, I'm more interested
in the correctness of this patch with regards to actually making the 'd'
option to Dial work. Thanks for your patience on this one. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-06 11:49 putnopvut      Note Added: 0099630                          
======================================================================




More information about the asterisk-bugs mailing list