<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 “XML,XML:/path/to/some/static.xml” . 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 <gregt@cgicommunications.com><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Thu, 27 Aug 2009 17:13:42 -0400<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><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>
<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><BR>
</extension><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 ->15854199896 in context public<BR>
Dialplan: sofia/internal/585xxxxxxx@208.34.86.39 parsing [public->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>
<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>
<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>