[Users] rport in via header

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Aug 10 23:32:16 CEST 2005


Hello,

On 08/10/05 21:10, ranveer kunal wrote:

>hi daniel,
>             as far as i have explored force_rport(), places the rport
>parameter in the topmost via header and not in its own via header. am
>i right ?
>
>example :
>
>UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3,rport:via4)next proxy
>
>i want this :
>UAC -> (via1:via2:via3)proxy(force_rport)->(via1:via2:via3:via4,rport)next proxy
>
>Please clarify it ?
>  
>
yes, it is like that. And this is how it is supposed to be, according to 
RFC3581. Why do you need it in proxy's via? The proxy will look at the 
second via to get the destination address for reply.

Daniel

>Regards,
>Ranveer.
>
>On 8/10/05, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
>  
>
>>Hello,
>>
>>you have to use force_rport() in the configuration file for the request
>>you want rport parameter in VIA.
>>
>>Daniel
>>
>>
>>On 08/10/05 20:44, ranveer kunal wrote:
>>
>>    
>>
>>>hi all,
>>>       Is there a way to configure openser so that it sends rport in
>>>via header ? Actually th packet from server is reverse natted through
>>>another system using any random port, i want it the reply to come on
>>>the same port . thanks ....
>>>
>>>Regards,
>>>Ranveer.
>>>
>>>
>>>      
>>>
>
>
>  
>




More information about the sr-users mailing list