diff options
Diffstat (limited to 'pjsip-apps/src/pjsua/main.c')
-rw-r--r-- | pjsip-apps/src/pjsua/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua/main.c b/pjsip-apps/src/pjsua/main.c index 3c7e2fdd..97da6f34 100644 --- a/pjsip-apps/src/pjsua/main.c +++ b/pjsip-apps/src/pjsua/main.c @@ -413,6 +413,12 @@ static void ui_console_main(void) char *uri; struct input_result result; + + /* If user specifies URI to call, then call the URI */ + if (pjsua.uri_to_call.slen) { + pjsua_make_call( current_acc, pjsua.uri_to_call.ptr, NULL); + } + keystroke_help(); for (;;) { |