Changeset 5977
- Timestamp:
- May 6, 2019 10:44:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5973 r5977 1397 1397 int sip_err_code = PJSIP_SC_INTERNAL_SERVER_ERROR; 1398 1398 pjmedia_sdp_session *offer=NULL; 1399 pj_bool_t should_dec_dlg = PJ_ TRUE;1399 pj_bool_t should_dec_dlg = PJ_FALSE; 1400 1400 pj_status_t status; 1401 1401 … … 1785 1785 1786 1786 pjsip_dlg_inc_session(dlg, &pjsua_var.mod); 1787 should_dec_dlg = PJ_TRUE; 1787 1788 1788 1789 /* Init media channel, only when there is offer or call replace request. … … 2014 2015 on_return: 2015 2016 if (dlg) { 2017 if (should_dec_dlg) 2018 pjsip_dlg_dec_session(dlg, &pjsua_var.mod); 2019 2016 2020 pjsip_dlg_dec_lock(dlg); 2017 }2018 2019 if (should_dec_dlg) {2020 pjsip_dlg_dec_session(dlg, &pjsua_var.mod);2021 2021 } 2022 2022
Note: See TracChangeset
for help on using the changeset viewer.