[asterisk-bugs] [Asterisk 0014660]: [patch] Lost info in CDR when transfering call via AMI's Redirect

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 26 08:45:20 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14660 
====================================================================== 
Reported By:                caspy
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14660
Category:                   CDR/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-13 09:11 CDT
Last Modified:              2009-08-26 08:45 CDT
====================================================================== 
Summary:                    [patch] Lost info in CDR when transfering call via
AMI's Redirect
Description: 
- SIP/1344 call SIP/1340
- SIP/1340 answers, and they are speaking
- man-in-a-middle do a Redirect of SIP/1344 leg of this call to SIP/1341
- SIP/1341 answers, and 1344 speaks with 1341 successfuly.

The probles is in CDR.
For the first call (1344 to 1340) asterisk lost just all important
fields:


"","","s","fromoffice","","SIP/1340-08c6dce8","","","","2009-03-13
16:37:44","2009-03-13 16:37:47","2009-03-13
16:37:54",10,7,"ANSWERED","DOCUMENTATION","1236951464.550476",""

"","1344","1341","fromoffice","""Akzhan Test""
<1344>","SIP/1344-b4b3e758","SIP/1341-b51deec0","Dial","SIP/1341,60,twTWL(5400000)","2009-03-13
16:37:44","2009-03-13 16:38:00","2009-03-13
16:38:05",21,5,"ANSWERED","DOCUMENTATION","1236951464.550474",""


Also, mention that uniqueid is very strange: first part (time) is the
same, but second is decreesed for two. Why?
====================================================================== 

---------------------------------------------------------------------- 
 (0109671) caspy (reporter) - 2009-08-26 08:45
 https://issues.asterisk.org/view.php?id=14660#c109671 
---------------------------------------------------------------------- 
Effect of last patch (fix4) is rather strange. In my scenario (one call,
and one direct transfer) it produces 3 (three!) records in CDR with fields
filled incorrectly.

Scenario is the same:
1340 calls to 1342,
then 1340 is transfered to 1341 via AMI.


"","1340","1341","fromoffice","1340
<1340>","SIP/1340-08b5bd30","SIP/1341-08b12138","Dial","SIP/1341,60,twTWL(5400000)","2009-08-26
14:59:21","2009-08-26 14:59:25","2009-08-26
14:59:36",15,11,"ANSWERED","DOCUMENTATION","1251284279.35433","int:1340:1342"
"","1340","1342","fromoffice","1340
<1340>","SIP/1340-08b5bd30","SIP/1342-08adc4c8","Monitor",",rec-20090826-145759-1340-1342,mX","2009-08-26
14:57:59","2009-08-26 14:57:59","2009-08-26
14:59:21",82,82,"ANSWERED","DOCUMENTATION","1251284279.35433","int:1340:1342"
"","1340","1341","fromoffice","1340
<1340>","SIP/1340-08b5bd30","SIP/1341-08b12138","Monitor",",rec-20090826-145759-1340-1342,mX","2009-08-26
14:59:36",,"2009-08-26 14:59:36",0,0,"NO
ANSWER","DOCUMENTATION","1251284279.35433","int:1340:1342" 


in first part of comment 0108465 is correct CDR for this scenario, where
transfer done from device. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-26 08:45 caspy          Note Added: 0109671                          
======================================================================




More information about the asterisk-bugs mailing list