Changes between Version 6 and Version 7 of SIP_Redirection


Ignore:
Timestamp:
Nov 27, 2008 12:32:28 PM (15 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SIP_Redirection

    v6 v7  
    44 
    55The 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 
    610 
    711== Objectives == 
     
    118122 
    119123 
     124== Changes to Application == 
     125 
     126=== Type of Event in PJSIP's on_state_changed() and PJSUA-LIB's on_call_state() callbacks === 
     127 
     128It'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 
    120131== Open Issues == 
    121132