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

Ken Rice krice at freeswitch.org
Thu Aug 27 14:32:28 PDT 2009

Your php should return a not found, also you can stack static and non-static
XML dialplans on your technology profile settings

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

From: Greg Thoen <gregt at cgicommunications.com>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Thu, 27 Aug 2009 17:13:42 -0400
To: <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Mixing mod_curl_xml dynamic dialplans and static

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}"/>

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 parsing [public->curl_test]
Dialplan: sofia/internal/585xxxxxxx at 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




FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org

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

More information about the FreeSWITCH-users mailing list