That's not possible. Sofia needs you to do a 'sofia profile <name> rescan' to pick up new gateways, and if a gateway has changed its parameters you need to do 'sofia profile <name> killgw <gwname>' then rescan.<br>
<br>There's a reason for it too - FS has to register with the gateway then keep pinging it with OPTIONS requests. That means the gateway needs an object stored in memory. It wouldn't be ideal for FS to constantly poll a database looking for changes for something that might never change, so you're left with rescan.<br>
<br>You could however have a DB trigger that runs a script that connects via ESL and does that for you though...<br><br>-Steve<br><br><br><br><div class="gmail_quote">On 27 July 2011 16:35, <span dir="ltr"><<a href="mailto:chrisbware@interfree.it">chrisbware@interfree.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span>Hi guys,</span><br><span> </span><br><span>I've successfully configured FS to work with mod_xml_curl and a cgi, in order to configure Sofia channel.</span><br><span>In this way, all Sofia configuration (including gateway definition) is loaded from my DB.</span><br>
<span> </span><br><span>Next step I'd like to do is add a gateway on the fly, so that when gateway parameters are on DB table, it's</span><br><span>automatically loaded in FS. I hate asterisk "sip reload" method and I hope there's another solution with FS, not based on</span><br>
<span>config reload.</span><br><span> </span><br><span>Can you help?</span><br><span> </span><br><span>Thanks.</span><br>
<br>-------------------------------------------------------------------------------<br>Valore legale alle tue mail<br>InterfreePEC - la tua Posta Elettronica Certificata<br><a href="http://pec.interfree.it" target="_blank">http://pec.interfree.it</a><br>
-------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>