Reloading sofia doesn&#39;t changes the IP address, for one.<div>Relaoding mod_distributor has nothing to do with the GW configuration, only the distribution if the calls amongst the gateways.</div><div><br></div><div>you *must* kill it, then reload it.</div>

<div><br></div><div>Of course, you can always create a tmp gw, and then rename it, but that sounds horrible to me, not elegant at all.</div><div><br></div><div><br></div><div>David<br><br><div class="gmail_quote">On Sat, Oct 22, 2011 at 6:23 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>





<div bgcolor="#ffffff">
<div><font size="2">and if you reload the profile that includes these gateways 
?</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div class="im">
  <div style="font:10pt arial">----- Original Message ----- </div>
  <div style="font:10pt arial;background:#e4e4e4"><b>From:</b> 
  <a title="david.villasmil.work@gmail.com" href="mailto:david.villasmil.work@gmail.com" target="_blank">David Villasmil</a> </div>
  <div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  </div><div><div></div><div class="h5"><div style="font:10pt arial"><b>Sent:</b> Saturday, October 22, 2011 12:10 
  PM</div>
  <div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] Reloading 
  sofia+distributor</div>
  <div><br></div>Hello,
  <div><br></div>
  <div>Thanks for your answer... </div>
  <div><br></div>
  <div>But then that&#39;s the same as killing it and reloading it, no?</div>
  <div><br></div>
  <div>David<br><br>
  <div class="gmail_quote">On Sat, Oct 22, 2011 at 6:03 PM, Hynek Cihlar <span dir="ltr">&lt;<a href="mailto:hynek.cihlar@gmail.com" target="_blank">hynek.cihlar@gmail.com</a>&gt;</span> 
  wrote:<br>
  <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
    <div>I was also having issues with changing gateways. A solution I came up 
    with was to have globally unique names and changing a gateway was actually 
    destroying the old one and recreating a new one under new name. The downside 
    is that DB lookup must be performed before new call is initiated.</div><br clear="all">Hynek<br><br><br><br>
    <div class="gmail_quote">
    <div>
    <div></div>
    <div>On Sat, Oct 22, 2011 at 5:15 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>&gt;</span> 
    wrote:<br></div></div>
    <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
      <div>
      <div></div>
      <div>Hello,
      <div><br></div>
      <div>I understand that if I make a change in a gateway, like IP address I 
      need to first kill the gw because fs doesn&#39;t updated the config until all 
      sessions are finished.</div>
      <div>If the gateway has no traffic, that&#39;s fine. But the idea would be for 
      the change to take effect starting with the new incoming calls and allow 
      the old ones to end normally.</div>
      <div><br></div>
      <div>Also, when you kill a gw and then reload it, and incoming call 
      between the kill and the reload will NOT be handled... this is just not 
      right for a production environment..</div>
      <div><br></div>
      <div>Is there any other way of doing this WITHOUT actually:</div>
      <div><br></div>
      <div>- not handling new incoming calls?</div>
      <div>- having to kill the gw?</div>
      <div><br></div>
      <div>Thanks!</div>
      <div><br></div><font color="#888888">
      <div>David</div></font><br><br></div></div>FreeSWITCH-users mailing 
      list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br><br>FreeSWITCH-users 
    mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
  </div></div><p>
  </p><hr><div class="im">

  <p></p><br>FreeSWITCH-users mailing 
  list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><p></p></blockquote></div>
<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>