summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/pjsua_ui_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/pjsua/pjsua_ui_cmd.c')
-rw-r--r--pjsip-apps/src/pjsua/pjsua_ui_cmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_ui_cmd.c b/pjsip-apps/src/pjsua/pjsua_ui_cmd.c
index 044db37a..76da2c14 100644
--- a/pjsip-apps/src/pjsua/pjsua_ui_cmd.c
+++ b/pjsip-apps/src/pjsua/pjsua_ui_cmd.c
@@ -970,7 +970,8 @@ static void ui_call_reinvite()
static void ui_send_update()
{
- if (current_call != -1) {
+ if (current_call != -1) {
+ call_opt.flag |= PJSUA_CALL_UNHOLD;
pjsua_call_update2(current_call, &call_opt, NULL);
} else {
PJ_LOG(3,(THIS_FILE, "No current call"));
@@ -1935,4 +1936,5 @@ void console_app_main(const pj_str_t *uri_to_call, pj_bool_t *app_restart)
on_exit:
;
-} \ No newline at end of file
+}
+