<div dir="ltr">First, I am not sure if mixing together &#39;sections&#39; in the response is a good practice.  The xml_curl post parameters will request a &quot;section&quot; (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-&gt;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">&lt;<a href="mailto:sraheemuddin@cts-in.com" target="_blank">sraheemuddin@cts-in.com</a>&gt;</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 &quot;xml_curl.conf.xml &quot; gateway url to<br>
<br>
<br>
<br>
<br>
where in at server it sends below response<br>
<br>
&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>
&lt;section name=&quot;dialplan&quot; description=&quot;RE Dial Plan For FreeSwitch&quot;&gt;<br>
&lt;context name=&quot;public&quot;&gt;<br>
&lt;extension name=&quot;unloop&quot;&gt;<br>
&lt;condition field=&quot;${unroll_loops}&quot; expression=&quot;^true$&quot;/&gt;<br>
&lt;condition field=&quot;${sip_looped_call}&quot; expression=&quot;^true$&quot;&gt;<br>
&lt;action application=&quot;deflect&quot; data=&quot;${destination_number}&quot;/&gt;<br>
&lt;/condition&gt;&lt;/extension&gt;&lt;/context&gt;&lt;/section&gt;<br>
&lt;section name=&quot;directory&quot;&gt;<br>
&lt;domain name=&quot;123.176.38.68&quot;&gt;<br>
&lt;params&gt;<br>
<br>
&lt;/params&gt;<br>
&lt;users&gt;<br>
&lt;user id=&quot;1234&quot; cacheable=&quot;true&quot;&gt;<br>
&lt;params&gt;<br>
<br>
<br>
&lt;/params&gt;<br>
&lt;/user&gt;<br>
&lt;user id=&quot;4321&quot; cacheable=&quot;true&quot;&gt;<br>
&lt;params&gt;<br>
<br>
&lt;/params&gt;<br>
&lt;/user&gt;<br>
&lt;/users&gt;<br>
&lt;/domain&gt;<br>
&lt;/section&gt;<br>
&lt;/document&gt;<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>
&lt;1234&gt;-&gt;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>