Changeset 4136
- Timestamp:
- May 22, 2012 4:09:53 AM (12 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4135 r4136 376 376 int title_len; 377 377 378 call->last_code = PJSIP_SC_ PRECONDITION_FAILURE;378 call->last_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; 379 379 pj_strcpy2(&call->last_text, "Media init error: "); 380 380 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4134 r4136 1314 1314 1315 1315 if (status != PJ_SUCCESS) { 1316 if (call->med_ch_info.status == PJ_SUCCESS) 1316 if (call->med_ch_info.status == PJ_SUCCESS) { 1317 1317 call->med_ch_info.status = status; 1318 call->med_ch_info.sip_err_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; 1319 } 1318 1320 pjsua_media_prov_clean_up(call_id); 1319 1321 goto on_return; … … 1343 1345 if (!call_med->tp) { 1344 1346 status = 1345 PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_ NOT_ACCEPTABLE);1347 PJSIP_ERRNO_FROM_SIP_STATUS(PJSIP_SC_TEMPORARILY_UNAVAILABLE); 1346 1348 } 1347 1349 } … … 1356 1358 call->med_ch_info.med_idx = mi; 1357 1359 call->med_ch_info.state = call_med->tp_st; 1358 call->med_ch_info.sip_err_code = PJSIP_SC_ NOT_ACCEPTABLE;1360 call->med_ch_info.sip_err_code = PJSIP_SC_TEMPORARILY_UNAVAILABLE; 1359 1361 pjsua_media_prov_clean_up(call_id); 1360 1362 goto on_return;
Note: See TracChangeset
for help on using the changeset viewer.