<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_json_cdr" class="">https://freeswitch.org/confluence/display/FREESWITCH/mod_json_cdr</a><div class=""><br class=""></div><div class=""><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">&lt;param name="log-b-leg" value="true"/&gt;</pre><div class=""><br class=""></div><div class=""><br class=""></div><div style=""><blockquote type="cite" class=""><div class="">On Nov 6, 2016, at 5:13 AM, Samir Doshi &lt;<a href="mailto:samir.doshi@inextrix.com" class="">samir.doshi@inextrix.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Guys,&nbsp;</div><div class=""><br class=""></div><div class="">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.&nbsp;</div><div class=""><br class=""></div><div class=""><div class="">&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;</div><div class="">&lt;document type="freeswitch/xml"&gt;</div><div class="">&lt;section name="dialplan" description="Dialplan"&gt;</div><div class="">&lt;context name="default"&gt;</div><div class="">&lt;extension name="12127773456"&gt;</div><div class="">&lt;condition field="destination_number" expression="12127773456"&gt;</div><div class="">&lt;action application="set" data="effective_destination_number=12127773456"/&gt;</div><div class="">&lt;action application="set" data="hangup_after_bridge=true"/&gt;</div><div class="">&lt;action application="set" data="continue_on_fail=true"/&gt;</div><div class="">&lt;action application="set" data="gwid=101"/&gt;</div><div class="">&lt;action application="bridge" data="sofia/gateway/test1/12127773456"/&gt;</div><div class="">&lt;action application="set" data="gwid=102"/&gt;</div><div class="">&lt;action application="bridge" data="sofia/gateway/test2/12127773456"/&gt;</div><div class="">&lt;action application="set" data="gwid=103"/&gt;</div><div class="">&lt;action application="bridge" data="sofia/gateway/test3/12127773456"/&gt;</div><div class="">&lt;/condition&gt;</div><div class="">&lt;/extension&gt;</div><div class="">&lt;/context&gt;</div><div class="">&lt;/section&gt;</div><div class="">&lt;/document&gt;</div></div><div class=""><br class=""></div><div class="">Is there any variable or configuration needs to set?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span style="color:rgb(51,51,153)" class=""><span class=""></span><span class=""></span><a href="http:/" target="_blank" class=""></a>Best Regards</span><br style="color:rgb(51,51,153)" class=""><span style="color:rgb(51,51,153)" class="">--</span><br style="color:rgb(51,51,153)" class=""><span style="color:rgb(51,51,153)" class="">Samir Doshi</span><br style="color:rgb(51,51,153)" class=""><b class=""><span style="color:rgb(51,51,153)" class="">iNextrix Technologie</span></b><b class=""><span style="color:rgb(51,51,153)" class=""><b class=""><span style="color:rgb(51,51,153)" class="">s</span></b> Pvt. Ltd</span></b>.<br style="color:rgb(51,51,153)" class=""><font size="2" class=""><span style="color:rgb(51,51,153)" class=""><a href="http://www.inextrix.com/" target="_blank" class="">http://www.inextrix.com</a></span></font><div style="color:rgb(51,51,153)" class=""><br class=""><img src="http://www.inextrix.com/wp-content/uploads/2016/01/logo_file_440.png" width="200" height="90" class=""><br class=""><br class=""><b class="">Disclaimer:</b><br class="">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.</div></div></div></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>