Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1209 closed enhancement (fixed)

Option to update Contact URI when sending re-INVITE or UPDATE

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

Description (last modified by bennylp)

Updated pjsua_call_reinvite() and pjsua_call_update() API to use bitmask flag in the options parameter, to allow application to request that the invite session be updated with the new Contact URI from the account. This is useful in IP address change situation, to update the invite session with the new account Contact after the account Contact is updated (typically with a registration refresh), and send this new Contact in an re-INVITE or UPDATE request.

Two options/flags are created:

  • PJSUA_CALL_UNHOLD
  • PJSUA_CALL_UPDATE_CONTACT

Note that this update is backward compatible.

Change History (4)

comment:1 Changed 9 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 9 years ago by bennylp

  • Description modified (diff)

comment:3 Changed 9 years ago by bennylp

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

(In [3452]) Fixed #1209: new enhancement: Option to update Contact URI when sending re-INVITE or UPDATE

comment:4 Changed 9 years ago by bennylp

(In [3453]) Re #1209: clarified in the comment that PJSUA_CALL_UNHOLD is only valid for pjsua_call_reinvite()

Note: See TracTickets for help on using tickets.