<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>you should have unique names in this case</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=hynek.cihlar@gmail.com href="mailto:hynek.cihlar@gmail.com">Hynek
Cihlar</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, October 22, 2011 12:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Reloading
sofia+distributor</DIV>
<DIV><BR></DIV>
<DIV>No. Killing the gateway isn't instantaneous. There is some delay
before the gateway disappears completely. Why it works like that or whether it
can be tuned I have no idea. For my case, the unique names work just
fine.</DIV><BR clear=all>Hynek<BR><BR><BR><BR>
<DIV class=gmail_quote>On Sat, Oct 22, 2011 at 6:10 PM, David Villasmil <SPAN
dir=ltr><<A
href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Hello,
<DIV><BR></DIV>
<DIV>Thanks for your answer... </DIV>
<DIV><BR></DIV>
<DIV>But then that's the same as killing it and reloading it, no?</DIV>
<DIV><BR></DIV>
<DIV><FONT color=#888888>David</FONT>
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR>
<DIV class=gmail_quote>On Sat, Oct 22, 2011 at 6:03 PM, Hynek Cihlar <SPAN
dir=ltr><<A href="mailto:hynek.cihlar@gmail.com"
target=_blank>hynek.cihlar@gmail.com</A>></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><<A
href="mailto:david.villasmil.work@gmail.com"
target=_blank>david.villasmil.work@gmail.com</A>></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't updated the config until
all sessions are finished.</DIV>
<DIV>If the gateway has no traffic, that'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><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>
<P>
<HR>
<P></P><BR>FreeSWITCH-users mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>