Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame^] | 1 | /* $Id$ */ |
| 2 | /* |
| 3 | * Copyright (C) 2008-2013 Teluu Inc. (http://www.teluu.com) |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | */ |
| 19 | #ifndef __PJSUA_APP_CONFIG_H__ |
| 20 | #define __PJSUA_APP_CONFIG_H__ |
| 21 | |
| 22 | #include <pjlib.h> |
| 23 | |
| 24 | /* This file defines the default app config. It's used by pjsua |
| 25 | * *mobile* version only. If you're porting pjsua to new mobile |
| 26 | * platform, you should only include this file once in one of |
| 27 | * your source file. |
| 28 | */ |
| 29 | const char *pjsua_app_def_argv[] = { "pjsua", |
| 30 | "--use-cli", |
| 31 | "--no-cli-console", |
| 32 | #if defined(PJ_SYMBIAN) && PJ_SYMBIAN |
| 33 | /* Can't reuse address on E52 */ |
| 34 | "--cli-telnet-port=0", |
| 35 | #else |
| 36 | "--cli-telnet-port=2323", |
| 37 | #endif |
| 38 | "--quality=4", |
| 39 | #if defined(PJ_CONFIG_BB10) && PJ_CONFIG_BB10 |
| 40 | "--add-buddy=sip:169.254.0.2", |
| 41 | #endif |
| 42 | NULL }; |
| 43 | |
| 44 | #define pjsua_app_def_argc (PJ_ARRAY_SIZE(pjsua_app_def_argv)-1) |
| 45 | |
| 46 | |
| 47 | #endif /* __PJSUA_APP_CONFIG_H__ */ |
| 48 | |