[Serdev] Better NAT support in registrar

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Tue Mar 1 11:44:52 UTC 2005


Jan Janak wrote:

>On 28-02 23:27, Andres wrote:
>  
>
>>>sip:1.2.3.4:5060;dstip=5.6.7.8;dstport=5090
>>>
>>>Where the hostname part is the public IP of the NAT, the port (5060) is
>>>the port allocated by the NAT, "dstip" parameter is the IP used on SER
>>>side and "dstport" parameter is the port number used on SER side during
>>>registration. This information is later used to find the correct outgoing
>>>socket in SER. If no such socket can be found (it can happen if you
>>>reconfigure SER to use different ports or IPs), it will use the default 
>>>IP/port again.
>>>
>>>Daredevils are encouraged to give it a try and send feedback to the list 
>>>:-)
>>>
>>>
>>>
>>>      
>>>
>>Jan.   This feature is simply fantastic!!  We have had this problem for 
>>2 years now and had been forced to do customized routing for many of our 
>>users.  We will try it our and let you know the results.
>>    
>>
>
>  There is one problem we discovered yesterday, the socket enforced by
>  lookup function would also be used when generating replies (100
>  Trying) so it can happen that you would receive the reply from a
>  different port number than the request was sent to. Andrei is looking
>  into it.
>  
>
that's already fixed on CVS

bogdan




More information about the Serdev mailing list