Ticket #409 (closed enhancement: invalid)
Update Contact address/port from the rport in REGISTER response to work with symmetric NATs
|Reported by:||bennylp||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:|
The Contact URI is calculated from the STUN mapped address for the SIP transport, which in the symmetric NAT case would be different than rport received from REGISTER response. This would cause subsequent request directed towards the endpoint to not reach the endpoint.
PJSUA-LIB should detect the difference between Contact port and rport, and update the Contact address and registration to use the rport.