[asterisk-bugs] [Asterisk 0013881]: AGI command "answer" not really set in answer mode when forkcdr

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 14 16:58:59 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13881 
====================================================================== 
Reported By:                hoowa
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   13881
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-12 03:25 CST
Last Modified:              2008-11-14 16:58 CST
====================================================================== 
Summary:                    AGI command "answer" not really set in answer mode
when forkcdr
Description: 
write perl script:
$AGI->exec('forkcdr');
$AGI->answer();

in database: will restored new cdr record without answer

other format:
$AGI->exec('forkcdr');
$AGI->exec('answer');


works fine.

why different?
====================================================================== 

---------------------------------------------------------------------- 
 (0094925) jpeeler (administrator) - 2008-11-14 16:58
 http://bugs.digium.com/view.php?id=13881#c94925 
---------------------------------------------------------------------- 
With the proposed patch, the new behavior yields:

"","5001","3502","default","""5001""
<5001>","SIP/5001-00a28960","","ForkCDR","","2008-11-14
22:40:48","2008-11-14 22:40:50","2008-11-14
22:40:50",2,0,"ANSWERED","DOCUMENTATION","1226702448.1",""
"","5001","3502","default","""5001""
<5001>","SIP/5001-00a28960","","AGI","ANSWER","2008-11-14
22:40:50","2008-11-14 22:40:50","2008-11-14
22:40:50",0,0,"ANSWERED","DOCUMENTATION","1226702448.1","" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-14 16:58 jpeeler        Note Added: 0094925                          
======================================================================




More information about the asterisk-bugs mailing list