Thanks. Its exporting cdr for failed trial. 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. On Wed, Nov 9, 2016 at 11:13 PM, Michael Jerris <mike@jerris.com> wrote:
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@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 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. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org