Opened 13 years ago

Last modified 13 years ago

#1209 closed enhancement

Option to update Contact URI when sending re-INVITE or UPDATE — at Version 2

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 (2)

comment:1 Changed 13 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 13 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.