[Freeswitch-users] dial plan in mod xml curl
Shaik Raheemuddin
sraheemuddin at cts-in.com
Tue May 6 13:18:59 MSD 2014
Hi,
I am trying to use mod xml curl with freeswitch.
i have configured in "xml_curl.conf.xml " gateway url to
<param name="gateway-url" value="http://myipadress/freeswitchdata"
bindings="dialplan|configuration|directory"/>
where in at server it sends below response
<document type="freeswitch/xml">
<section name="dialplan" description="RE Dial Plan For FreeSwitch">
<context name="public">
<extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$">
<action application="deflect" data="${destination_number}"/>
</condition></extension></context></section>
<section name="directory">
<domain name="123.176.38.68">
<params>
<param name="dial-string" value="{presence_id=${dialed_user}@
${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
</params>
<groups>
<group name="default">
<users>
<user id="1234" cacheable="true">
<params>
<param name="reverse-auth-user" value="1234" />
<param name="reverse-auth-pass" value="1234" />
</params>
</user>
<user id="4321" cacheable="true">
<params><param name="reverse-auth-user" value="4321" />
<param name="reverse-auth-pass" value="4321" />
</params>
</user>
</users>
</group>
</groups>
</domain>
</section>
</document>
I am unable to make call for below error
2014-05-06 12:44:15.313984 [INFO] mod_dialplan_xml.c:558 Processing 1234
<1234>->4321 in context public
2014-05-06 12:44:15.633985 [INFO] switch_core_state_machine.c:192 No Route,
AbortingHi,
I am trying to use mod xml curl with freeswitch.
i have configured in "xml_curl.conf.xml " gateway url to
<param name="gateway-url" value="http://myipadress/freeswitchdata"
bindings="dialplan|configuration|directory"/>
where in at server it sends below response
<document type="freeswitch/xml">
<section name="dialplan" description="RE Dial Plan For FreeSwitch">
<context name="public">
<extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$">
<action application="deflect" data="${destination_number}"/>
</condition></extension></context></section>
<section name="directory">
<domain name="123.176.38.68">
<params>
<param name="dial-string" value="{presence_id=${dialed_user}@
${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
</params>
<groups>
<group name="default">
<users>
<user id="1234" cacheable="true">
<params>
<param name="reverse-auth-user" value="1234" />
<param name="reverse-auth-pass" value="1234" />
</params>
</user>
<user id="4321" cacheable="true">
<params><param name="reverse-auth-user" value="4321" />
<param name="reverse-auth-pass" value="4321" />
</params>
</user>
</users>
</group>
</groups>
</domain>
</section>
</document>
I am unable to make call for below error
2014-05-06 12:44:15.313984 [INFO] mod_dialplan_xml.c:558 Processing 1234
<1234>->4321 in context public
2014-05-06 12:44:15.633985 [INFO] switch_core_state_machine.c:192 No Route,
Aborting
--
Thanks and Regards
Shaik Raheemuddin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140506/c97882a8/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list