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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 11 17:35:29 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:                     ready for testing
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-12-11 17:35 CST
====================================================================== 
Summary:                    [patch] 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?
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013797 [patch] forkcdr() doesn't fork when cal...
====================================================================== 

---------------------------------------------------------------------- 
 (0096293) jpeeler (administrator) - 2008-12-11 17:35
 http://bugs.digium.com/view.php?id=13881#c96293 
---------------------------------------------------------------------- 
I never wrote what the change of behavior was. The old behavior for
executing an AGI script answer (not via exec) yielded:

"","","s","default","","DAHDI/1-1","","AGI","/root/cdr.agi","2008-12-11
23:28:51","2008-12-11 23:28:53","2008-12-11
23:28:53",2,0,"ANSWERED","DOCUMENTATION","1229038131.5",""

The new behavior yields:

"","","s","default","","DAHDI/1-1","","AGI","ANSWER","2008-12-11
23:29:51","2008-12-11 23:29:53","2008-12-11
23:29:53",2,0,"ANSWERED","DOCUMENTATION","1229038191.0","" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-11 17:35 jpeeler        Note Added: 0096293                          
======================================================================




More information about the asterisk-bugs mailing list