Asterisk does let you reload, and it *tries* not to interrupt the calls but it's like a game of Russian Roulette,<br>because at some point for sure you *will* deadlock and/or seg fault when you reload. There is an actual unavoidable race condition in many of the things that they made reloadable that I have identified myself as a long time developer for the project and to this day still exist and are a major bullet point to address on their roadmap for future releases. 1.8 maybe? <br>
<br><br>Our philosophy on reload is simple and strict. Each module is responsible independently for it's own ability to reload.<br>In the case of sofia, it was a year after it was written until I introduced the profile restart command because it's <br>
quite complicated and introduces a great challenge in stability. Nearly all of the elements in a sofia profile are things you must stop the profile to change anyway. <br><br>There are a few innocuous params that could be changed while it's running so I will say there is a possibility to make a sofia reload and a sofia profile reload that unlike profile restart looks for profiles that do not yet exist and brings them online and when they do exist only changes the params that do not require a full restart of the sip engine (context to use, dialplan, moh prefs vs bind url, sip specific options that cannot be changed).<br>
<br>As part of this process the profiles could be rescanned for new gateways that do not already exist and bring them online if they do not already exist. Removing them would require a full restart of that profile.<br><br>
This idea I am willing to entertain but in the light of my horribly busy schedule and the fact that the patch needs near surgical precision to avoid tainting our release candidate state of stability. Not to mention I have coded nearly 20,000 lines of mod_sofia pro bono providing every SIP feature anyone can ask for, I would like to see the bounty for it first. =D<br>
<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 7:16 AM, kokoska rokoska <<a href="mailto:kokoska.rokoska@post.cz">kokoska.rokoska@post.cz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Brian West napsal(a):<br>
<div class="Ih2E3d">> The gateway name has to already be unique.<br>
><br>
<br>
</div>Of course :-)<br>
But the names could change between config reloads - I think it is<br>
Anthony talked about.<br>
So gws could be recognized by names and the names of gws could not be<br>
changed or let's add another constant indetifier :-)<br>
<br>
Best regards,<br>
<font color="#888888"><br>
kokoska.rokoska<br>
</font><div><div></div><div class="Wj3C7c"><br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400