<div dir="ltr">First, I am not sure if mixing together 'sections' in the response is a good practice. The xml_curl post parameters will request a "section" (i.e. configuration, directory or dialplan) and the response can be more tailored than you have (you are mixing directory and dialplan responses).<div>
Your xml_curl dialplan response has two conditions (unroll_loops and sip_looped_call) - are both true? If you created the same extension in the regular public dialplan,and turned off xml_curl would the call be processed?</div>
<div>It would be a good idea to turn on debug (xml_curl debug_on) and make sure that your xml_curl server is responding when calling 1234->4321.</div><div><br>Not sure what else could be the problem.</div><div>Ian.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 7, 2014 at 5:32 AM, raheem <span dir="ltr"><<a href="mailto:sraheemuddin@cts-in.com" target="_blank">sraheemuddin@cts-in.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I am trying to use mod xml curl with freeswitch.<br>
<br>
I have configured in "xml_curl.conf.xml " gateway url to<br>
<br>
<br>
<br>
<br>
where in at server it sends below response<br>
<br>
<document type="freeswitch/xml"><br>
<section name="dialplan" description="RE Dial Plan For FreeSwitch"><br>
<context name="public"><br>
<extension name="unloop"><br>
<condition field="${unroll_loops}" expression="^true$"/><br>
<condition field="${sip_looped_call}" expression="^true$"><br>
<action application="deflect" data="${destination_number}"/><br>
</condition></extension></context></section><br>
<section name="directory"><br>
<domain name="123.176.38.68"><br>
<params><br>
<br>
</params><br>
<users><br>
<user id="1234" cacheable="true"><br>
<params><br>
<br>
<br>
</params><br>
</user><br>
<user id="4321" cacheable="true"><br>
<params><br>
<br>
</params><br>
</user><br>
</users><br>
</domain><br>
</section><br>
</document><br>
<br>
I am unable to make call for below error<br>
2014-05-06 12:44:15.313984 [INFO] mod_dialplan_xml.c:558 Processing 1234<br>
<1234>->4321 in context public<br>
2014-05-06 12:44:15.633985 [INFO] switch_core_state_machine.c:192 No Route,<br>
Aborting<br>
<br>
I guess i am missing in dialplan part<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/dial-plan-in-mod-xml-curl-tp7596111.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/dial-plan-in-mod-xml-curl-tp7596111.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>