[Kamailio-Users] Keep-alive implementation

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 11 12:54:47 CEST 2009



On 06/11/2009 01:51 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 06/10/2009 11:20 AM, kokoska rokoska wrote:
>> Iñaki Baz Castillo napsal(a):
>>  
>>> El Martes, 9 de Junio de 2009, Alex Balashov escribió:
>>>    
>>>> Iñaki Baz Castillo wrote:
>>>>      
>>>>> El Martes, 9 de Junio de 2009, Saúl Ibarra escribió:
>>>>>        
>>>>>> Nevertheless, I would keep it active, and set ping_nated_only to 
>>>>>> 1, so
>>>>>> you just ping clients which are known to be behind NAT.
>>>>>>           
>>>>> The only problem with it is when a fuc**ng SIP ALG enabled router 
>>>>> takes
>>>>> place. It will modify the request so it'll look as coming from 
>>>>> public IP
>>>>> (NAT cannot be detected in Kamailio), but most of these infernal 
>>>>> routers
>>>>> don't mantain the keepalive so the input traffic is closed after UDP
>>>>> "connection" expires in the router.
>>>>>         
>>>> Yep.  Infernal - well said!
>>>>       
>>> This is my personal battle against SIP ALG routers:
>>>   http://www.voip-info.org/wiki/view/Routers+SIP+ALG
>>>
>>> Please, feel free to add any useful information about infernal 
>>> routers with SIP ALG enabled.
>>>
>>> Thanks a lot :)
>>>
>>>     
>>
>> SIP ALG routers are big pain, at least for me :-)
>>
>> What I'm trying to do is automagically detect users behind such a stupid
>> routers (analyzing INVITEs and REGISTERs in sip-dump) and automatically
>> send them e-mails aksing to disable SIP ALG.
>> Just my 2c...
>>   
> some do not offer any such option, even I googled a lot some time ago, 
> I couldn't get a solution for a siemens gigaset se36
errata: gigaset se361 ...

Daniel

> . If someone knows, would be great.
>
> However, it was easy to trick by listening on 5062 with kamailio and 
> pointing my phones to use that dst port. I haven't tried with tcp, 
> another option that should be tried with those algs.
>
> Cheers,
> Daniel
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com/





More information about the sr-users mailing list