[SR-Users] ADSL client-side problem

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 27 22:14:49 CEST 2012


Hello,

please do not send private messages from mailing lists discussions, keep 
the mailing list cc-ed so other can participate or learn from archives.

On 8/27/12 5:22 PM, Simon Hintermann wrote:
> Hello,
>
> I will try with a smaller "Subscription Expiry (s):" in my SNOM.
>
> Just to be clear with the method of test:
>
> - firewall redirects SNOM to my first ISP
> - telephone works perfectly, registered in Kamailio...
> - firewall redirects SNOM to my second ISP
> - telephone is unregistered in Kamailio, impossible to "re-register" 
> the identity1, says "network error"
> - only way to recover is to change the SNOM's IP address

what do you mean by 'firewall redirects Snom to Nth ISP'? Is the IP of 
snom static or taken via dhcp from adsl router?

Cheers,
Daniel

>
> Thanks for your support, greetings
>
> Simon
>
> Le 27.08.2012 09:04, Daniel-Constantin Mierla a écrit :
>> Hello,
>>
>> what is the expire time of your registrations? 24 hours seems a lot 
>> to re-register.
>>
>> 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.
>>
>> 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.
>>
>> What is the adsl routed, does it do SIP ALG? I have snom on ADSL 
>> using tcp, does not seem to make big problems.
>>
>> Cheers,
>> Daniel
>>
>> On 8/16/12 2:10 PM, Simon Hintermann wrote:
>>>
>>> Hello,
>>>
>>> I am experiencing some disconnections with my VOIP phones.
>>>
>>> Let me explain:
>>>
>>> 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.
>>>
>>> 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. They are of course natted behind an ADSL router. I also 
>>> have clients doing load-balance between two ADSL lines, which is 
>>> also problematic.
>>>
>>> The only way for me to recover is to change the private IP of the 
>>> VOIP phones. Seems more like a TCP problem or a routing problem, but 
>>> I am no network guru.
>>>
>>> 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. I did not try to wait for 
>>> longer than 24 hours to recover.
>>>
>>> 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)? It seems not by default, but I played with the timeouts 
>>> server-side and phone-side, without luck.
>>>
>>> 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. So I managed to test and validate this behavior with 
>>> our two ADSL lines.
>>>
>>> Hope someone can help me.
>>>
>>> Greetings
>>>
>>> Simon
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>> -- 
>> Daniel-Constantin Mierla -http://www.asipto.com
>> http://twitter.com/#!/miconda  -http://www.linkedin.com/in/miconda
>> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -http://asipto.com/u/kat
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120827/89f31913/attachment.htm>


More information about the sr-users mailing list