#643 closed enhancement (fixed)
Consider the server IP address before trying to re-register with a new Contact when the REGISTER response contains different IP address
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-1.0-rc3 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Ticket #409 (from 0.8.0 milestone) adds the feature to automatically re-register the account if the Via address in the 200/OK response to REGISTER contains different address than the one being registered as Contact header.
This feature is intended to work with symmetric NATs.
However there are cases where this feature do not work very well. Some NAT in the middle might mess up with the SIP/SDP addresses, and eventhough the initial REGISTER request contains public address in the Via header, the router may change the Via header in the response back to the private IP, causing the client to re-register using the private IP.
Attachments (1)
Change History (5)
comment:1 Changed 16 years ago by bennylp
- Summary changed from Option to not try to re-register with a new Contact when the REGISTER response contains private IP address to Do not try to re-register with a new Contact when the REGISTER response contains private IP address
comment:2 Changed 16 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 16 years ago by bennylp
- Summary changed from Do not try to re-register with a new Contact when the REGISTER response contains private IP address to Consider the server IP address before trying to re-register with a new Contact when the REGISTER response contains different IP address
Changed 16 years ago by bennylp
comment:4 Changed 6 years ago by nanang
- Backported unset
In r2325:
- added setting to disable this ticket (by setting allow_contact_rewrite to 2)
Done in r2316: