Ticket #1892 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Add pjsua/pjsua2 callback to notify incoming re-INVITE without offer

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

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

comment:1 Changed 3 years ago by nanang

  • Description modified (diff)

comment:2 Changed 3 years ago by nanang

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

In 5185:

Close #1892: Add pjsua/pjsua2 callback on_call_tx_offer()/Call::onCallTxOffer() to notify incoming re-INVITE without offer.

Note: See TracTickets for help on using tickets.