[Freeswitch-users] Fetching gateways via mod_curl_xml
Kamil Nigmatullin
kamil.nigmatullin at gmail.com
Thu Aug 21 02:38:41 MSD 2014
Could anyone please help. I want to fetch gateways(sip_profiles) with
mod_curl_xml. This is what I respond via http
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="configuration">
<configuration name="sofia.conf" description="Core Configuration">
<profile name="external">
<gateways>
<gateway name="supernode1">
<param name="username" value="supernode"/>
<param name="realm" value="188.138.xx.xx:5060"/>
<param name="password" value="xxxx"/>
<param name="register" value="false"/>
<param name="proxy" value="188.138.xx.xx:5060"/>
<param name="caller-id-in-from" value="true"/>
<param name="dtmf-type" value="inband"/>
<param name="rtp-timeout-sec" value="30"/>
<param name="from-domain" value="188.138.xx.xx:5060"/>
<param name="register" value="false"/>
<param name="NDLB-sendrecv-in-session" value="true"/>
<param name="vad" value="none"/>
<param name="rtp-ip" value="188.138.xx.xx"/>
<param name="sip-ip" value="188.138.xx.xx"/>
<param name="extension-in-contact" value="true"/>
<param name="rtp-autoflush-during-bridge" value="true"/>
<param name="user-agent-string" value="SBC"/>
<param name="NDLB-sendrecv-in-session" value="true"/>
<param name="inbound-late-negotiation" value="false"/>
</gateway>
</gateways>
</profile>
</configuration>
</section>
</document>
I see that FS requests and read this XML(each line ended by \r\n) without
reporting any errors, but gateway does not appears at sofia status. Is
there anything wrong in that XML Block?
Thanks in advance.
--
Kamil Nigmatullin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140821/05c748a9/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list