2011/1/20 prashanth.me <prashanth...@globaledgesoft.com>: > As per the RFC 3261 in section 18.1.2, On receiving a Response must > check the Sent-By field of VIA header to that of configured in Request. > Are the below sent-by params of VIA header in Request and Response are > same? Should UA discard the response? > > Request contains sent-by IP and port: > Via: SIP/2.0/UDP *172.16.8.152:5060*;rport;branch=z9hG4bK1049024051049025018 > > Response contains *only sent-by IP*: > Via: SIP/2.0/UDP > *172.16.8.152*;branch=z9hG4bK1049024051049025018;received=203.76.137.3;rport=31673
IMHO there is no reason at all a UAS to remove the port of the Via even if sentby_host is an IP and sentby_port is the default 5060. Some UAC could allow such response but it could also ignore it (as indeed Via sentby has changed). However, I expect that most UAC's just inspect the Via branch parameter when matching a response against outoing transactions. -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors