[Freeswitch-users] Export CDR on failed tried calls

Samir Doshi samir.doshi at inextrix.com
Sun Nov 6 13:13:03 MSK 2016


Hi Guys,

Wondering if we can post failed tried call cdr to mod_json_cdr. I have
below dialplan generated and I want to post cdr any gateway fail to process
the call. That means if test1 fail then it should send cdr to mod_json_cdr
and then go for test2. If test2 fail then post cdr and then try test3 so
on.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="Dialplan">
<context name="default">
<extension name="12127773456">
<condition field="destination_number" expression="12127773456">
<action application="set" data="effective_destination_number=12127773456"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="gwid=101"/>
<action application="bridge" data="sofia/gateway/test1/12127773456"/>
<action application="set" data="gwid=102"/>
<action application="bridge" data="sofia/gateway/test2/12127773456"/>
<action application="set" data="gwid=103"/>
<action application="bridge" data="sofia/gateway/test3/12127773456"/>
</condition>
</extension>
</context>
</section>
</document>

Is there any variable or configuration needs to set?


Best Regards
--
Samir Doshi
*iNextrix Technologie**s Pvt. Ltd*.
http://www.inextrix.com



*Disclaimer:*
The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorised to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking action in reliance of the contents of this
information is strictly prohibited and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161106/0857ffdf/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list