diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-29 08:31:09 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-29 08:31:09 +0000 |
commit | f58301dc3d3da0e92ac077618730f628416546cb (patch) | |
tree | 6cf25fd834a6df6a2b452df335f3fd57e488b274 /pjsip-apps/src/pjsua/main.c | |
parent | facbd77aee687ac9d282597e415bab3d0df8d181 (diff) |
Improve codec handling in pjsua cmd-line options, and add URI to call
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
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 (;;) { |