Ignore:
Timestamp:
Sep 26, 2018 5:58:47 AM (3 years ago)
Author:
ming
Message:

Fixed #2155: Cleanup call setting flag before sending reinvite on IP change

This changeset also clears PJSUA_CALL_UNHOLD flag after calling pjsua_call_set_hold/hold2()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r5872 r5892  
    39513951                acc->ip_change_op = PJSUA_IP_CHANGE_OP_ACC_REINVITE_CALLS; 
    39523952 
     3953                pjsua_call_cleanup_flag(&call_info.setting.flag); 
    39533954                call_info.setting.flag |= 
    39543955                                         acc->cfg.ip_change_cfg.reinvite_flags; 
     
    39563957                PJ_LOG(3, (THIS_FILE, "call to %.*s: send " 
    39573958                           "re-INVITE with flags 0x%x triggered " 
    3958                            "by IP change", 
     3959                           "by IP change (IP change flag: 0x%x)", 
    39593960                           call_info.remote_info.slen, 
    39603961                           call_info.remote_info.ptr, 
     3962                           call_info.setting.flag, 
    39613963                           acc->cfg.ip_change_cfg.reinvite_flags)); 
    39623964 
Note: See TracChangeset for help on using the changeset viewer.