[Freeswitch-users] Multiple CDRS for Bridged calls from an IVR
Steven Ayre
steveayre at gmail.com
Mon Jul 19 10:14:18 PDT 2010
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)
You can match them using the UUID, and identify whether a CDR is an a-leg or
b-leg from the value of <direction> (it will be either inbound or outbound).
Hope that helps.
-Steve
On 19 July 2010 14:18, David Allen <david at virtutel.com.au> wrote:
> Hi,
>
> I have written an IVR that prompts a user to Enter a Number and then the
> call is bridged to a particular gateway. If the user wishes to end the
> call early I have set the bridge_terminate_key=# variable and
> continue_on_fail=NORMAL_TEMPORARY_FAILURE so the dial plan continues
> which loops back to the IVR. For collection of CDRs, I'm using XML-CDR.
>
> The problem I'm having is that each call bridged to the gateway is not
> producing an individual CDR record and is instead adding the CDR
> information as additional records under callflow in the XML when the
> call to the IVR is finally terminated, instead of when each bridged call
> is terminated. I need to get the CDR information as the call is
> terminated for credit control purposes or in otherwords when the bridge
> is termated for XML-CDR to post the calls CDR.
>
> I have looked on the Freeswitch site for a solution to this and I have
> not. Is there a way that I can get information when each call ends?
> Hopefully someone will be able to help with this question.
>
> Thanks
> David
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100719/2b9f6cc3/attachment-0001.html
More information about the FreeSWITCH-users
mailing list