Opened 9 years ago

Last modified 9 years ago

#1892 closed enhancement

Add pjsua/pjsua2 callback to notify incoming re-INVITE without offer — at Version 1

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

Description (last modified by nanang)

When receiving re-INVITE without offer, RFC3261 section 14.2 recommends UAS to generate offer with all capabilities that the UA is willing to support to avoid the need for the peer to reject the session description. Some SIP UA (e.g: B2BUA) seem to rely on this recommendation for media switching (e.g: stop IVR and start video).

Currently the behaviour of pjsua is to automatically send offer generated from the current active session, application is not involved in the offer generation. This callback will give the application a better control in the offer generation, for example it may add video via modifying call setting, enable/disable codecs from within the callback, so application could put all its capabilities in the offer.

Change History (1)

comment:1 Changed 9 years ago by nanang

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