Changeset 4457
- Timestamp:
- Apr 3, 2013 8:21:47 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_cli_cmd.c
r4440 r4457 1524 1524 { 1525 1525 if (current_call != PJSUA_INVALID_ID) { 1526 call_opt.flag |= PJSUA_CALL_UNHOLD; 1526 1527 pjsua_call_update2(current_call, &call_opt, NULL); 1527 1528 } else { -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_ui_cmd.c
r4440 r4457 971 971 static void ui_send_update() 972 972 { 973 if (current_call != -1) { 973 if (current_call != -1) { 974 call_opt.flag |= PJSUA_CALL_UNHOLD; 974 975 pjsua_call_update2(current_call, &call_opt, NULL); 975 976 } else { … … 1936 1937 on_exit: 1937 1938 ; 1938 } 1939 } 1940 -
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.