[Serusers] Nathelper question

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Fri Jul 9 12:24:23 CEST 2004


ser wrote:

>Thanks.
>
>It's a real problem!
>
>If a company have employee using my SER server to make calls to the PSTN via my gateway, and they want to be able to make internall call too, all their calls will go via my rtpproxy ?
>  
>
for the moment no, the limitation is in nathelper, not in rtpproxy. you 
can add a small function in nathelper that test if the src_ip on request 
is the same with the one in RURI ( after you did lookup("location") in 
script); be sure that both caller and callee are nated.

bogdan

>No idea on how configure ser to prevent this ?
>
>----- Message d'origine -----
>De: Bogdan-Andrei IANCU <iancu at fokus.fraunhofer.de>
>Date: Fri, 09 Jul 2004 11:29:00 +0200
>Sujet: Re: [Serusers] Nathelper question
>À: ser <ser at plexid.com>
>Cc: serusers at lists.iptel.org
>
>  
>
>>hello ser :-),
>>
>>see comments inline.
>>bogdan
>>
>>ser wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>nat_uac_test can be call with parameter :
>>>"1" : via adress is compared to signaling IP
>>>"2" : test if RFC1918 adress
>>>
>>>But in some configuration, i see "3". What is it for ? I can't find it in the nathelper code.
>>> 
>>>
>>>      
>>>
>>3 means to do both tests.
>>
>>    
>>
>>>Another question, what happen if two people on the SAME LOCAL network try to call each other via my SER server ?
>>>
>>>Their adress will be detected as private and rtpproxy will be use, but it's not needed as they are visible for each other.
>>>
>>>How could i prevent this ?
>>> 
>>>
>>>      
>>>
>>for the moment you cannot. maybe in the next release will be available a 
>>function that tells you if both nated users (callee and caller) are 
>>behind the same NAT.
>>
>>    
>>
>>>Thanks
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers at lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>> 
>>>
>>>      
>>>
>>    
>>
>>
>
>  
>




More information about the sr-users mailing list