diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-12-30 09:17:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-12-30 09:17:42 +0000 |
commit | d378a0cda4735265cce253e38d636cb416ff8ad5 (patch) | |
tree | 797512b8c111eb9cd1e63314a49413978cc60415 | |
parent | d82463d966b16fe70cdfb03a2a29f93987247114 (diff) |
Changed symbian_ua menu to use numeric keys
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1646 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjsip-apps/src/symbian_ua/ua.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pjsip-apps/src/symbian_ua/ua.cpp b/pjsip-apps/src/symbian_ua/ua.cpp index 1dd8a20d..bb3b8102 100644 --- a/pjsip-apps/src/symbian_ua/ua.cpp +++ b/pjsip-apps/src/symbian_ua/ua.cpp @@ -455,14 +455,14 @@ static void PrintMenu() " P Dump pool factory\n" " l Start loopback audio device\n" " L Stop loopback audio device\n" - " m Call " SIP_DST_URI "\n" - " a Answer call\n" - " h Hangup all calls\n" + " 1 Call " SIP_DST_URI "\n" + " 2 Answer call\n" + " 3 Hangup all calls\n" " s Subscribe " SIP_DST_URI "\n" " S Unsubscribe presence\n" " o Set account online\n" " O Set account offline\n" - " q Quit\n")); + " 9 Quit\n")); } // Implementation: called when read has completed. @@ -472,7 +472,7 @@ void ConsoleUI::RunL() pj_bool_t reschedule = PJ_TRUE; switch (kc) { - case 'q': + case '9': asw_->AsyncStop(); reschedule = PJ_FALSE; break; @@ -490,7 +490,7 @@ void ConsoleUI::RunL() case 'L': pjsua_conf_disconnect(0, 0); break; - case 'm': + case '1': if (g_call_id != PJSUA_INVALID_ID) { PJ_LOG(3,(THIS_FILE, "Another call is active")); break; @@ -504,11 +504,11 @@ void ConsoleUI::RunL() PJ_LOG(3,(THIS_FILE, "Invalid SIP URI")); } break; - case 'a': + case '2': if (g_call_id != PJSUA_INVALID_ID) pjsua_call_answer(g_call_id, 200, NULL, NULL); break; - case 'h': + case '3': pjsua_call_hangup_all(); break; case 's': |