<div dir="ltr"><div>Could anyone please help. I want to fetch gateways(sip_profiles) with mod_curl_xml. This is what I respond via http<br><br><br><?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"><br><section name="configuration"><br> <configuration name="sofia.conf" description="Core Configuration"> <br> <profile name="external"><br>
<gateways><br> <gateway name="supernode1"><br> <param name="username" value="supernode"/><br> <param name="realm" value="188.138.xx.xx:5060"/><br>
<param name="password" value="xxxx"/><br> <param name="register" value="false"/><br> <param name="proxy" value="188.138.xx.xx:5060"/><br>
<param name="caller-id-in-from" value="true"/><br> <param name="dtmf-type" value="inband"/><br> <param name="rtp-timeout-sec" value="30"/><br>
<param name="from-domain" value="188.138.xx.xx:5060"/><br> <param name="register" value="false"/><br> <param name="NDLB-sendrecv-in-session" value="true"/><br>
<param name="vad" value="none"/><br> <param name="rtp-ip" value="188.138.xx.xx"/><br> <param name="sip-ip" value="188.138.xx.xx"/><br>
<param name="extension-in-contact" value="true"/><br> <param name="rtp-autoflush-during-bridge" value="true"/><br> <param name="user-agent-string" value="SBC"/><br>
<param name="NDLB-sendrecv-in-session" value="true"/><br> <param name="inbound-late-negotiation" value="false"/><br> </gateway><br> </gateways><br>
</profile><br></configuration><br></section><br></document><br><br></div>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?<br clear="all">
<div><div><br></div><div>Thanks in advance.<br></div><div><br>-- <br>Kamil Nigmatullin<br></div></div></div>