Changeset 4457 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Apr 3, 2013 8:21:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4452 r4457 2496 2496 2497 2497 /* Create SDP */ 2498 status = pjsua_media_channel_create_sdp(call->index, 2499 call->inv->pool_prov, 2500 NULL, &sdp, NULL); 2501 if (status != PJ_SUCCESS) { 2502 pjsua_perror(THIS_FILE, "Unable to get SDP from media endpoint", 2498 if (call->local_hold && (call->opt.flag & PJSUA_CALL_UNHOLD)==0) { 2499 status = create_sdp_of_call_hold(call, &sdp); 2500 } else { 2501 status = pjsua_media_channel_create_sdp(call->index, 2502 call->inv->pool_prov, 2503 NULL, &sdp, NULL); 2504 call->local_hold = PJ_FALSE; 2505 } 2506 2507 if (status != PJ_SUCCESS) { 2508 pjsua_perror(THIS_FILE, "Unable to get SDP from media endpoint", 2503 2509 status); 2504 2510 goto on_return;
Note: See TracChangeset
for help on using the changeset viewer.