<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Maybe this picture would help to understand a problem. It is XML generated by mod_xml_cdr:</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><div><img src="cid:ii_kahbh5b50" alt="image.png" width="562" height="178"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 21 May 2020 at 23:51, Gregor Nanger <<a href="mailto:gregor@infomedia.si">gregor@infomedia.si</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi!</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I found some bug in mod_xml_cdr module. Hard to explain, so let's describe scenario:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">1. Inbound call to extension</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">2. extension do attended transfer to external number</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">3. external number picks up call</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">4. extension end call</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">5. inbound leg and external leg are connected</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">This is everything ok. FS does as it should.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">But when all calls end, I get CDR post to web server only for legs from point 2 upward. I am missing main CDR post, where it is <applog> etc... I get only clone-of flows of main leg, but no CDR of main leg.
Theoretically, I should CDR for leg in step 1, for leg in step 2 and for leg in step 5. So, I am missing CDR post for step 1.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Interesting is that if in step 4., if external number ends call, extension is connected back to inbound leg and also I get all CDR posts.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hope you understand what I mean. Does anyone handle CDR with attended transfer? </div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">BR, Gregor</div><div dir="ltr"></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)"><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px"><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)"><font face="georgia, serif" size="2">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)"> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px"><font face="georgia, serif" size="1"><b>CTO</b><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td></tr></tbody></table></div></div>