[asterisk-bugs] [Asterisk 0016182]: Dial Option D() does not execute in parallel witb option A()

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 5 09:04:54 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16182 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16182
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.27-rc2 
JIRA:                       SWP-364 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 219720 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-04 14:59 CST
Last Modified:              2009-11-05 09:04 CST
====================================================================== 
Summary:                    Dial Option D() does not execute in parallel witb
option A()
Description: 
There is something not right. The D() option, is supposed to play some DTMF
to the calling party (D:1234567890), before bridging the call, after there
is a connect. This should be done right after a connect, and if the A()
option of a Macro is being executed, the D() option should be working
simultaneously with the A() option or the Macro. It does not. It works
after the Macro or the A() file  finishes executing, but since now we know
that there is a connect, it should go in parallel. If the D() option
finishes earlier than the Macro or the A() option, it should hold and wait
and the the connection should proceed as always.
====================================================================== 

---------------------------------------------------------------------- 
 (0113186) falves11 (reporter) - 2009-11-05 09:04
 https://issues.asterisk.org/view.php?id=16182#c113186 
---------------------------------------------------------------------- 
Never, because Asterisk waited, erroneously, until the end of the A() file
to notify the caller that a "200 OK" had been received, which created havoc
with billing records. So Asterisk was first playing the A() file and only
at the end it turned back, sent the 200 OK and then played the D() option,
thus doubling the time between Connect and Bridge. If it does it in
parallel, the mechanism will actually be useful.
Also, now that we talk about features, I need a new B() option in the Dial
function. Exactly like the A() option, but pointing towards the caller,
before the bridge happens, but after the connect. So we could be playing
different files to both the caller and the callee, in parallel, after there
is a connect. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-05 09:04 falves11       Note Added: 0113186                          
======================================================================




More information about the asterisk-bugs mailing list