<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
please do not send private messages from mailing lists discussions,
keep the mailing list cc-ed so other can participate or learn from
archives.<br>
<br>
<div class="moz-cite-prefix">On 8/27/12 5:22 PM, Simon Hintermann
wrote:<br>
</div>
<blockquote cite="mid:503B90A0.3000905@ganesh-consulting.ch"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello,<br>
<br>
I will try with a smaller "Subscription Expiry (s):" in my SNOM.<br>
<br>
Just to be clear with the method of test:<br>
<br>
- firewall redirects SNOM to my first ISP<br>
- telephone works perfectly, registered in Kamailio...<br>
- firewall redirects SNOM to my second ISP<br>
- telephone is unregistered in Kamailio, impossible to
"re-register" the identity1, says "network error"<br>
- only way to recover is to change the SNOM's IP address<br>
</blockquote>
<br>
what do you mean by 'firewall redirects Snom to Nth ISP'? Is the IP
of snom static or taken via dhcp from adsl router?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:503B90A0.3000905@ganesh-consulting.ch"
type="cite"> <br>
Thanks for your support, greetings<br>
<br>
Simon<br>
<br>
<div class="moz-cite-prefix">Le 27.08.2012 09:04,
Daniel-Constantin Mierla a écrit :<br>
</div>
<blockquote cite="mid:503B1C11.1030409@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello,<br>
<br>
what is the expire time of your registrations? 24 hours seems a
lot to re-register.<br>
<br>
From kamailio point of view, the contact is expired based on
un-registration or timeout. You can look with 'kamctl ul show'
to see if the phone is still registered or not.<br>
<br>
Anyhow, in such cases is good to set registration time quite
small, say 5 or 10 minutes, but if there is a problem in the
client side, it is not much to do in server side.<br>
<br>
What is the adsl routed, does it do SIP ALG? I have snom on ADSL
using tcp, does not seem to make big problems.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 8/16/12 2:10 PM, Simon
Hintermann wrote:<br>
</div>
<blockquote
cite="mid:4501cdc1-a894-4b5d-837c-7f68c136cbcd@ganesh-consulting.ch"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE-CH">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">I am experiencing some disconnections
with my VOIP phones.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Let me explain:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE-CH">My server is an
Asterisk + Kamailio in a datacenter with a fixed IP, and
a bridge firewall in front of it, so no NAT here.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">My client (several offices) have
usually no problem when they have a fixed IP, but
encounter fatal disconnection when they have a dynamic IP.
I had the case with Siemens, SNOM and Aastra phones,
without any difference. <span lang="DE-CH">They are of
course natted behind an ADSL router. I also have clients
doing load-balance between two ADSL lines, which is also
problematic.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">The only way for me to recover is to
change the private IP of the VOIP phones. <span
lang="DE-CH">Seems more like a TCP problem or a routing
problem, but I am no network guru.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH">I have two ADSL
lines to test it, and when I switch from one line to
another, every phone becomes „Not registered“. Even
falling back tot he first line does not help recovering.
</span>I did not try to wait for longer than 24 hours to
recover.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So my question is, more generally: is
it possible to allow the clients (VOIP phones) to
re-connect with a new IP address without having closed
correctly the first connection (SIP session, I presume)? <span
lang="DE-CH">It seems not by default, but I played with
the timeouts server-side and phone-side, without luck.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">I saw many posts with PBX having
problems when behind a dynamic IP, but nothing about the
clients having dynamic addresses or load-balancing.
Normally, having a dynamic IP does not mean that your IP
will change « on-the-fly », but each time you shut down
and reboot later your ADSL router, but we came to the
conclusion that every client NOT having a fixed IP was
experiencing fatal disconnects. <span lang="DE-CH">So I
managed to test and validate this behavior with our two
ADSL lines.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">Hope someone can help me.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Greetings<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
</blockquote>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
</body>
</html>