Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#381 closed enhancement (fixed)

Auto-update IP address/port in Contact header according to the IP address/port received in REGISTER response

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjsua-lib Version: trunk
Keywords: Cc: Ravin Suri
Backport to 1.x milestone: Backported:

Description


Change History (2)

comment:1 Changed 16 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Handle the case when NAT binding has changed the SIP mapped port to Auto-update IP address/port in Contact header according to the IP address/port received in REGISTER response
  • Type changed from defect to enhancement

Implemented in r1454:

  • There is a new setting pjsua_acc_config.auto_update_nat to control this feature. Default is 1 (on).
  • When this option is enabled and STUN is configured, the library will keep track of the public IP address from the response of REGISTER request. Once it detects that the address has changed, it will unregister current Contact, update the UDP transport address, and register a new Contact to the registrar.

comment:2 Changed 16 years ago by bennylp

FYI this was modified by ticket #515

Note: See TracTickets for help on using tickets.