Changeset 5892 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Sep 26, 2018 5:58:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5882 r5892 594 594 * PJSUA_CALL_NO_SDP_OFFER, to be sticky (ticket #1793). 595 595 */ 596 static void cleanup_call_setting_flag(pjsua_call_setting *opt)596 void pjsua_call_cleanup_flag(pjsua_call_setting *opt) 597 597 { 598 598 opt->flag &= ~(PJSUA_CALL_UNHOLD | PJSUA_CALL_UPDATE_CONTACT | … … 637 637 638 638 if (!opt) { 639 cleanup_call_setting_flag(&call->opt);639 pjsua_call_cleanup_flag(&call->opt); 640 640 return PJ_SUCCESS; 641 641 } … … 1309 1309 /* Copy call setting from the replaced call */ 1310 1310 call->opt = replaced_call->opt; 1311 cleanup_call_setting_flag(&call->opt);1311 pjsua_call_cleanup_flag(&call->opt); 1312 1312 1313 1313 /* Notify application */ … … 2701 2701 call->local_hold = PJ_TRUE; 2702 2702 2703 /* Clear unhold flag */ 2704 call->opt.flag &= ~PJSUA_CALL_UNHOLD; 2705 2703 2706 on_return: 2704 2707 if (dlg) pjsip_dlg_dec_lock(dlg); … … 4397 4400 } 4398 4401 4399 cleanup_call_setting_flag(&call->opt);4402 pjsua_call_cleanup_flag(&call->opt); 4400 4403 opt = call->opt; 4401 4404 … … 4598 4601 #endif 4599 4602 4600 cleanup_call_setting_flag(&call->opt);4603 pjsua_call_cleanup_flag(&call->opt); 4601 4604 4602 4605 if (pjsua_var.ua_cfg.cb.on_call_tx_offer) { … … 4915 4918 } 4916 4919 4917 cleanup_call_setting_flag(&existing_call->opt);4920 pjsua_call_cleanup_flag(&existing_call->opt); 4918 4921 call_opt = existing_call->opt; 4919 4922 if (pjsua_var.ua_cfg.cb.on_call_transfer_request2) {
Note: See TracChangeset
for help on using the changeset viewer.