HI Aditya

UAC should use same protected server port in Via header in Register request
always irrespective of TCP UDP .

In UDP case : Response will follow Via header and will be recieved on
protected server port .
In TCP case : If TCP connection present :Via header will be overwritten and
response will be recieved on protected client port(from where request was
sent out).
                      In case TCP connection breaks after sending Register
then UAS can create new TCP connection using port mentioned in Via and
response will
                      be recived on protected server port .

So basically difference is due to TCP connection oriented nature and TCP
connection reuse property.

Thanks & regards
Ankur Bansal


On Mon, Feb 10, 2014 at 11:15 AM, Aditya Kumar <adityakumar...@yahoo.com>wrote:

> Hi,
> when using IP-Sec and sending the subsequent SIP:REGISTER  after receiving
> 401 challenge,
> I see that when UDP is used, the via is protected server port
> and when TCP the via is protected client port? any reason for the
> difference? if so can you please let me know....
> _______________________________________________
> Sip-implementors mailing list
> Sip-implementors@lists.cs.columbia.edu
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to