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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 16 18:27:24 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:                     feedback
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-16 18:27 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?
====================================================================== 

---------------------------------------------------------------------- 
 (0109089) escape2mtns (reporter) - 2009-08-16 18:27
 https://issues.asterisk.org/view.php?id=14660#c109089 
---------------------------------------------------------------------- 
OK, I just upgraded to the latest 1.4.26.1 (prev. on 1.4.25.1) and applied
the patches to test against the latest.

I called from 1111111111 into DID 2222222222 that routes to queue 777. 
The call was answered by Sip/172.  Then I did a manager redirect to send
both the inbound channel and the call recipient channel to a music on hold
context.  

The inbound channel looks pretty good (although I may have lost the
userfield).

The call recipient channel that was sent to music on hold didn't get a cdr
entry (which isn't a huge deal for me but might be for others).


"calldate";"clid";"src";"dst";"dcontext";"channel";"dstchannel";"lastapp";"lastdata";"duration";"billsec";"disposition";"amaflags";"accountcode";"uniqueid";"userfield";"agent"
"2009-08-16 19:03:20";"\"CALLER NAME\"
<1111111111>";"1111111111";"777";"ext-queues";"SIP/SIP1-b7700b48";"SIP/172-08fbb7a0";"Queue";"777|tr||";"18";"18";"ANSWERED";"3";"2222222222";"1250463800.49";;
"2009-08-16 19:03:38";"\"CALLER NAME\"
<1111111111>";"1111111111";"172";"qvmusiconhold";"SIP/SIP1-b7700b48";"SIP/172-08fbb7a0";"MusicOnHold";;"18";"18";"ANSWERED";"3";"2222222222";"1250463800.49";;


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-16 18:27 escape2mtns    Note Added: 0109089                          
======================================================================




More information about the asterisk-bugs mailing list