Opened 17 years ago

Closed 17 years ago

#36 closed defect (fixed)

pjsip_regc_unregister SHOULD NOT unregister all Contacts

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10
Component: pjsip Version: 0.5.9
Keywords: Cc:
Backport to 1.x milestone: Backported:


Currently the unregistration function in PJSIP client registration (pjsip_regc_unregister()) sends REGISTER with Expires=0 for all contacts including those that are registered by other endpoints (because Contact header is set to "*"). This is not the correct behavior since it prevents more than one AOR to be registered.

The correct behavior should be for pjsip_regc_unregister() to unregister only contact(s) that was registered by this endpoint only.

Change History (1)

comment:1 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r843:

  • pjsip_regc_unregister() only unregisters previously registered contact.
  • Added pjsip_regc_unregister_all() to register ALL contacts including those that are registered by other endpoints.
Note: See TracTickets for help on using tickets.