Hi list,<br><br>I've been reading the archives and I know that transfers are unimplemented in the CDR (<a href="http://lists.digium.com/pipermail/asterisk-users/2007-June/189902.html">http://lists.digium.com/pipermail/asterisk-users/2007-June/189902.html</a>)<br>
<br>In my case I'm running Asterisk 1.4.17 as an Office PBX. In this setup just a small group of users are able to make long distance call directly from his/her extension, so the ones who can't needs to ask the operator/receptionist to call these numbers and then transfer (almost always atxfer) the call back to them.<br>
<br>In this case, I want to account the whole call duration to the user that have requested it, not the operator, but I cannot manage to find a way to map the CDR generated by the operator with the CDR generated by the transfer.<br>
<br>This is an example of the generated CDRs by atxfer:<br><br>John Doe make a long distance call, talk a few seconds and then make an attended transfer to extension 128.<br><br>"John Doe <111>","111","128","SIP/128-0071d340","2008-04-15 14:31:31","2008-04-15 14:31:32","2008-04-15 14:31:41","10","9","ANSWERED","1208286068.2256"<br>
"John Doe <111>","111","902125555555","Zap/4-1","2008-04-15 14:31:08","2008-04-15 14:31:14","2008-04-15 14:31:41","33","27","ANSWERED","1208286068.2255"<br>
"111","111","s","","2008-04-15 14:31:08","2008-04-15 14:31:14","2008-04-15 14:31:41","33","27","ANSWERED","1208286068.2256"<br>
"111","111","s","Zap/4-1","2008-04-15 14:31:31","2008-04-15 14:31:32","2008-04-15 14:31:47","16","15","ANSWERED","1208286091.2260"<br>
<br><br>This is an example of the generated CDRs by blind xfer:<br><br>John Doe make a long distance call, talk a few seconds and then make a blind transfer to extension 128.<br><br>"John Doe <111>","111","904124172996","Zap/6-1","2008-04-11 13:10:48","2008-04-11 13:10:55","2008-04-11 13:11:13","25","18","ANSWERED","1207935648.5256"<br>
"111","111","128","SIP/128-006fec80","2008-04-11 13:11:13","2008-04-11 13:11:22","2008-04-11 13:11:32","19","10","ANSWERED","1207935673.5258"<br>
<br>In this case I think you can guess the "uniqueid" of the transferred call by adding the call duration (25 in this example) made by John Doe to the "uniqueid" of the same call, but that's not the case in the atxfer scenario.<br>
<br>I think this is a very common scenario so, how are you doing to handle this situation???<br><br clear="all"><br>-- <br>Raul Gomez<br>Linux Counter #156439