Changeset 6083
- Timestamp:
- Oct 2, 2019 3:42:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r6063 r6083 3029 3029 call->inv->pool_prov, 3030 3030 NULL, &sdp, NULL); 3031 call->local_hold = PJ_FALSE;3032 3031 } 3033 3032 if (status != PJ_SUCCESS) { … … 3072 3071 call->med_update_success = PJ_FALSE; 3073 3072 status = pjsip_inv_send_msg( call->inv, tdata); 3074 if (status != PJ_SUCCESS) { 3073 if (status == PJ_SUCCESS && 3074 ((call->opt.flag & PJSUA_CALL_UNHOLD) && 3075 (call->opt.flag & PJSUA_CALL_NO_SDP_OFFER) == 0)) 3076 { 3077 call->local_hold = PJ_FALSE; 3078 } else if (status != PJ_SUCCESS) { 3075 3079 pjsua_perror(THIS_FILE, "Unable to send re-INVITE", status); 3076 3080 goto on_return; … … 3156 3160 call->inv->pool_prov, 3157 3161 NULL, &sdp, NULL); 3158 call->local_hold = PJ_FALSE;3159 3162 } 3160 3163 … … 3200 3203 call->med_update_success = PJ_FALSE; 3201 3204 status = pjsip_inv_send_msg( call->inv, tdata); 3202 if (status != PJ_SUCCESS) { 3205 if (status == PJ_SUCCESS && 3206 ((call->opt.flag & PJSUA_CALL_UNHOLD) && 3207 (call->opt.flag & PJSUA_CALL_NO_SDP_OFFER) == 0)) 3208 { 3209 call->local_hold = PJ_FALSE; 3210 } else if (status != PJ_SUCCESS) { 3203 3211 pjsua_perror(THIS_FILE, "Unable to send UPDATE request", status); 3204 3212 goto on_return;
Note: See TracChangeset
for help on using the changeset viewer.