[asterisk-bugs] [Asterisk 0017899]: [patch] Fake answer start in app_dial

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 23 08:59:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17899 
====================================================================== 
Reported By:                under
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17899
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-22 16:57 CDT
Last Modified:              2010-08-23 08:59 CDT
====================================================================== 
Summary:                    [patch] Fake answer start in app_dial
Description: 
When using H (hangup by "*") or d (exit on DTMF) while invoking Dial(),
this makes app_dial answering incoming channel immediately, not waiting
until outbount channel answers.

I guess this was done to be able to cancel call by hitting "*" not waiting
until it's answered.

But this stuff completely breaks logic for those who perform billing of
the subscribers with Asterisk, because in this case subscribers get CDR
with call duration that is longer that actual (and actually they are
charged money for the calls that were not connected)
====================================================================== 

---------------------------------------------------------------------- 
 (0126225) davidw (reporter) - 2010-08-23 08:59
 https://issues.asterisk.org/view.php?id=17899#c126225 
---------------------------------------------------------------------- 
As long as the call is only answered when Asterisk needs to see inbound
digits, I see no problem with what you describe to be the current
behaviour.  If you don't want the billing to start, don't use features that
only work after the call has been answered.

At best, this is a feature request.

I think the real problem here is the Asterisk code is, in general, rather
short of comments explaining why things are being done. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-23 08:59 davidw         Note Added: 0126225                          
======================================================================




More information about the asterisk-bugs mailing list