[SR-Users] CRLF from Kamailio server

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 26 11:05:02 CET 2012


Hello,

this might be actually related to tcp connection keepalive:

http://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_crlf_ping

IIRC, nathelper pings only udp contacts.

Cheers,
Daniel

On 11/26/12 10:54 AM, Klaus Darilion wrote:
>
>
> On 26.11.2012 05:13, Dmytro Bogovych wrote:
>> Greetings.
>> May anyone give me advice?
>> I have working Kamailio with TLS.
>> It is used by iOS softphone - i developed own one based on resiprocate.
>> All signalling is TLS.
>> Almost everything is fine.
>>
>> But looks kamailio sends CRLF messages sometimes.
>> If it happens when softphone is in background mode - it is killed by iOS
>>   (as iOS prohibits too often awakes from background mode).
>>
>> How I can disable these messages?
>> I see natping_interval = 30 and ping_nated_only=0
>> Should I set natping_interval to zero ?
>
> Either set the interval to 0 or set ping_nated_only=1 and make sure to 
> not set the NAT flag for the iphone clients.
>
> A problem may be firewalls/NAT between the iPhone and Kamailio, as 
> they may drop the TCP connection is there is no activity for too long 
> time.
>
> regards
> Klaus
>
> _______________________________________________
> 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




More information about the sr-users mailing list