<div dir="ltr">You have to return the ENTIRE sofia config with gateways and such for this to work.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 8:03 AM, Bernhard Wendel <span dir="ltr"><<a href="mailto:bernhard@sessionbird.com" target="_blank">bernhard@sessionbird.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Kamil,<br>
<br>
you are telling FreeSWITCH to add a gateway, but not registering it.
I've highlighted the 2 occasions in the quote.<br>
Try it again, but this time set the register-param to <b>true</b>.<br>
<br>
Regards,<br>
Bernhard<br>
<br>
<br>
<div>Am 21.08.2014 00:38, schrieb Kamil
Nigmatullin:<br>
</div>
<blockquote type="cite"><div><div class="h5">
<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>
<b> <param name="register" value="false"/></b><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>
<b> <param name="register" value="false"/></b><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>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>