Changes between Version 6 and Version 7 of SIP_Redirection
- Timestamp:
- Nov 27, 2008 12:32:28 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SIP_Redirection
v6 v7 4 4 5 5 The redirection in this article is about processing SIP redirect (3xx) response in outgoing calls, and not about sending redirection/3xx response. Sending 3xx response in PJSUA-LIB is easy; just use {{{pjsua_call_hangup()}}} and give the new targets in Contact header in {{{msg_data}}} parameter. 6 7 '''Table of Contents''' 8 [[PageOutline(2-3,,inline)]] 9 6 10 7 11 == Objectives == … … 118 122 119 123 124 == Changes to Application == 125 126 === Type of Event in PJSIP's on_state_changed() and PJSUA-LIB's on_call_state() callbacks === 127 128 It's good to remind here that while these callbacks traditionally only emits {{{PJSIP_EVENT_TSX_STATE}}} event, technically it can emit other types of events. Now especially with the pending redirection feature, a {{{PJSIP_EVENT_USER}}} event may be passed to these callbacks. Hence application should check for the event type before accessing the event structure. 129 130 120 131 == Open Issues == 121 132