[Freeswitch-users] Export CDR on failed tried calls
Michael Jerris
mike at jerris.com
Wed Nov 9 20:43:20 MSK 2016
https://freeswitch.org/confluence/display/FREESWITCH/mod_json_cdr <https://freeswitch.org/confluence/display/FREESWITCH/mod_json_cdr>
<param name="log-b-leg" value="true"/>
> On Nov 6, 2016, at 5:13 AM, Samir Doshi <samir.doshi at inextrix.com> wrote:
>
> 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?
>
>
> <http:/>Best Regards
> --
> Samir Doshi
> iNextrix Technologies Pvt. Ltd.
> http://www.inextrix.com <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.
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20161109/caeac4da/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list