[Freeswitch-users] Mixing mod_curl_xml dynamic dialplans and static ones

Greg Thoen gregt at cgicommunications.com
Thu Aug 27 14:13:42 PDT 2009


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.

I know in the static public.xml there is this
     <extension name="unloop">
       <condition field="${unroll_loops}" expression="^true$"/>
       <condition field="${sip_looped_call}" expression="^true$">
         <action application="deflect" data="${destination_number}"/>
       </condition>
     </extension>

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?

I don't know if I have given enough data for someone to point me in  
the right direction...
This is in the console when I have mod_xml_curl enabled:

2009-08-27 16:39:52 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()  
Processing  ->15854199896 in context public
Dialplan: sofia/internal/585xxxxxxx at 208.34.86.39 parsing [public- 
 >curl_test] continue=false
Dialplan: sofia/internal/585xxxxxxx at 208.34.86.39 Regex (FAIL)  
[curl_test] destination_number(15854199896) =~ /^(18775844111)$/  
break=on-false
2009-08-27 16:39:52 [INFO] switch_core_state_machine.c:136  
switch_core_standard_on_routing() No Route, Aborting

--
Greg



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090827/141c1ede/attachment-0002.html 


More information about the FreeSWITCH-users mailing list