Ignore:
Timestamp:
Jan 8, 2018 4:08:35 AM (6 years ago)
Author:
nanang
Message:

Close #2080: Added call flag PJSUA_CALL_UPDATE_TARGET for updating remote target, the new remote target can be specified in pjsua_msg_data.target_uri.

File:
1 edited

Legend:

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

    r5717 r5721  
    19851985    /** 
    19861986     * Optional remote target URI (i.e. Target header). If NULL, the target 
    1987      * will be set to the remote URI (To header). At the moment this field 
    1988      * is only used by #pjsua_call_make_call() and #pjsua_im_send(). 
     1987     * will be set to the remote URI (To header). This field is used by 
     1988     * pjsua_call_make_call(), pjsua_im_send(), pjsua_call_reinvite(), 
     1989     * pjsua_call_set_hold(), and pjsua_call_update(). 
    19891990     */ 
    19901991    pj_str_t    target_uri; 
     
    46404641     * been updated (typically with re-registration). 
    46414642     */ 
    4642     PJSUA_CALL_UPDATE_VIA = 32 
     4643    PJSUA_CALL_UPDATE_VIA = 32, 
     4644 
     4645    /** 
     4646     * Update dialog target to URI specified in pjsua_msg_data.target_uri. 
     4647     * This flag is only valid for pjsua_call_set_hold(), 
     4648     * pjsua_call_reinvite(), and pjsua_call_update(). This flag can be 
     4649     * useful in IP address change scenario where IP version has been changed 
     4650     * and application needs to update target IP address. 
     4651     */ 
     4652    PJSUA_CALL_UPDATE_TARGET = 64 
    46434653 
    46444654} pjsua_call_flag; 
Note: See TracChangeset for help on using the changeset viewer.