<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks - All Fixed.<br>
<br>
Regards,<br>
David<br>
<br>
On 20/07/2010 3:14 AM, Steven Ayre wrote:
<blockquote
 cite="mid:AANLkTildW75QIafZIkIlJM-J82255uu-KUTbMaA9xaMp@mail.gmail.com"
 type="cite">Try setting log-b-leg to true in xml_cdr.conf.xml, that
should then generate CDRs for both the incoming call (aleg) and the
outgoing calls from the bridge (bleg)<br>
  <br>
You can match them using the UUID, and identify whether a CDR is an
a-leg or b-leg from the value of &lt;direction&gt; (it will be either
inbound or outbound).<br>
  <br>
Hope that helps.<br>
  <br>
-Steve<br>
  <br>
  <br>
  <div class="gmail_quote">On 19 July 2010 14:18, David Allen <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:david@virtutel.com.au">david@virtutel.com.au</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
    <br>
I have written an IVR that prompts a user to Enter a Number and then the<br>
call is bridged to a particular gateway. If the user wishes to end the<br>
call early I have set the bridge_terminate_key=# variable and<br>
continue_on_fail=NORMAL_TEMPORARY_FAILURE so the dial plan continues<br>
which loops back to the IVR. For collection of CDRs, I'm using XML-CDR.<br>
    <br>
The problem I'm having is that each call bridged to the gateway is not<br>
producing an individual CDR record and is instead adding the CDR<br>
information as additional records under callflow in the XML when the<br>
call to the IVR is finally terminated, instead of when each bridged call<br>
is terminated. I need to get the CDR information as the call is<br>
terminated for credit control purposes or in otherwords when the bridge<br>
is termated for XML-CDR to post the calls CDR.<br>
    <br>
I have looked on the Freeswitch site for a solution to this and I have<br>
not. Is there a way that I can get information when each call ends?<br>
Hopefully someone will be able to help with this question.<br>
    <br>
Thanks<br>
David<br>
    <br>
    <br>
    <br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>