<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Mixing mod_curl_xml dynamic dialplans and static ones</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Your php should return a not found, also you can stack static and non-static XML dialplans on your technology profile settings<BR>
<BR>
For example, on your internal.xml (in the default sip profiles) the dialplan setting can be set to &#8220;XML,XML:/path/to/some/static.xml&#8221; . Once it processes thru the xml_curl responses it will hit the static.xml <BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Greg Thoen &lt;gregt@cgicommunications.com&gt;<BR>
<B>Reply-To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Date: </B>Thu, 27 Aug 2009 17:13:42 -0400<BR>
<B>To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Subject: </B>[Freeswitch-users] Mixing mod_curl_xml dynamic dialplans and static ones<BR>
<BR>
I have mod_curl_xml working, but I also have several static dialplans in dialplan/public/ and I can't seem to get it to search those if my php generated xml page does not return a result.<BR>
<BR>
I know in the static public.xml there is this<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;extension name=&quot;unloop&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;condition field=&quot;${unroll_loops}&quot; expression=&quot;^true$&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;condition field=&quot;${sip_looped_call}&quot; expression=&quot;^true$&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;deflect&quot; data=&quot;${destination_number}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/condition&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/extension&gt;<BR>
<BR>
Do I need my php page to generate something like that so it will continue looking in the static pages if it does not find a match in the xml_curl dynamic dialplan?<BR>
<BR>
I don't know if I have given enough data for someone to point me in the right direction...<BR>
This is in the console when I have mod_xml_curl enabled:<BR>
<BR>
2009-08-27 16:39:52 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing &nbsp;-&gt;15854199896 in context public<BR>
Dialplan: sofia/internal/585xxxxxxx@208.34.86.39 parsing [public-&gt;curl_test] continue=false<BR>
Dialplan: sofia/internal/585xxxxxxx@208.34.86.39 Regex (FAIL) [curl_test] destination_number(15854199896) =~ /^(18775844111)$/ break=on-false<BR>
2009-08-27 16:39:52 [INFO] switch_core_state_machine.c:136 switch_core_standard_on_routing() No Route, Aborting<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT></FONT><FONT SIZE="5"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14pt'>--<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:9pt'><BR>
</SPAN></FONT><FONT SIZE="5"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14pt'>Greg <BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:9pt'><BR>
<BR>
</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><BR>
&nbsp;<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
FreeSWITCH-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>