Ignore:
Timestamp:
Nov 27, 2008 12:42:07 PM (15 years ago)
Author:
bennylp
Message:

More ticket #10: changed to signature of the redirection callbacks to make it more natural to use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r2370 r2371  
    10801080     * @param call_id   The call ID. 
    10811081     * @param target    The current target to be tried. 
    1082      * @param cmd       Action to be performed for the target. Set this 
     1082     * @param e         The event that caused this callback to be called. 
     1083     *                  This could be the receipt of 3xx response, or 
     1084     *                  4xx/5xx response received for the INVITE sent to 
     1085     *                  subsequent targets, or NULL if this callback is 
     1086     *                  called from within #pjsua_call_process_redirect() 
     1087     *                  context. 
     1088     * 
     1089     * @return          Action to be performed for the target. Set this 
    10831090     *                  parameter to one of the value below: 
    10841091     *                  - PJSIP_REDIRECT_ACCEPT: immediately accept the 
     
    11011108     *                    to either accept or reject the redirection upon 
    11021109     *                    getting user decision. 
    1103      * @param e         The event that caused this callback to be called. 
    1104      *                  This could be the receipt of 3xx response, or 
    1105      *                  4xx/5xx response received for the INVITE sent to 
    1106      *                  subsequent targets, or NULL if this callback is 
    1107      *                  called from within #pjsua_call_process_redirect() 
    1108      *                  context. 
    1109      */ 
    1110     void (*on_call_redirected)(pjsua_call_id call_id, const pjsip_uri *target, 
    1111                                pjsip_redirect_op *cmd, const pjsip_event *e); 
     1110     */ 
     1111    pjsip_redirect_op (*on_call_redirected)(pjsua_call_id call_id,  
     1112                                            const pjsip_uri *target, 
     1113                                            const pjsip_event *e); 
    11121114 
    11131115} pjsua_callback; 
Note: See TracChangeset for help on using the changeset viewer.