summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/pjsua_app_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/pjsua/pjsua_app_config.h')
-rw-r--r--pjsip-apps/src/pjsua/pjsua_app_config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app_config.h b/pjsip-apps/src/pjsua/pjsua_app_config.h
index 417bc430..40a24edf 100644
--- a/pjsip-apps/src/pjsua/pjsua_app_config.h
+++ b/pjsip-apps/src/pjsua/pjsua_app_config.h
@@ -19,6 +19,8 @@
#ifndef __PJSUA_APP_CONFIG_H__
#define __PJSUA_APP_CONFIG_H__
+#include <pjlib.h>
+
/* This file defines the default app config. It's used by pjsua
* *mobile* version only. If you're porting pjsua to new mobile
* platform, you should only include this file once in one of
@@ -27,14 +29,20 @@
const char *pjsua_app_def_argv[] = { "pjsua",
"--use-cli",
"--no-cli-console",
+#if defined(PJ_SYMBIAN) && PJ_SYMBIAN
+ /* Can't reuse address on E52 */
+ "--cli-telnet-port=0",
+#else
"--cli-telnet-port=2323",
- "--no-vad",
+#endif
"--quality=4",
#if defined(PJ_CONFIG_BB10) && PJ_CONFIG_BB10
"--add-buddy=sip:169.254.0.2",
#endif
NULL };
+#define pjsua_app_def_argc (PJ_ARRAY_SIZE(pjsua_app_def_argv)-1)
+
#endif /* __PJSUA_APP_CONFIG_H__ */