diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-14 13:39:24 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-14 13:39:24 +0000 |
commit | c63233e0492ff86a16f575692131d67ec5df589a (patch) | |
tree | 9ce6a2646b701ef7e5bde6ceb1a835e40655a219 /pjsip-apps | |
parent | 74636586305ff3d800121f301345724b925d5ee3 (diff) |
Ticket #475: ported GSM codec to Symbian OS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1793 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-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 3e33ca48..b80055f9 100644 --- a/pjsip-apps/src/symbian_ua/ua.cpp +++ b/pjsip-apps/src/symbian_ua/ua.cpp @@ -32,15 +32,15 @@ // // Destination URI (to make call, or to subscribe presence) // -#define SIP_DST_URI "sip:user@192.168.0.11" +#define SIP_DST_URI "sip:100@pjsip.lab" // // Account // -#define HAS_SIP_ACCOUNT 0 // 0 to disable registration -#define SIP_DOMAIN "domain" -#define SIP_USER "username" -#define SIP_PASSWD "password" +#define HAS_SIP_ACCOUNT 1 // 0 to disable registration +#define SIP_DOMAIN "pjsip.lab" +#define SIP_USER "400" +#define SIP_PASSWD "400" // // Outbound proxy for all accounts @@ -53,8 +53,8 @@ // Configure nameserver if DNS SRV is to be used with both SIP // or STUN (for STUN see other settings below) // -#define NAMESERVER NULL -//#define NAMESERVER "192.168.0.1" +//#define NAMESERVER NULL +#define NAMESERVER "192.168.0.2" // // STUN server @@ -368,7 +368,7 @@ static pj_status_t app_startup() cfg.id = pj_str("sip:" SIP_USER "@" SIP_DOMAIN); cfg.reg_uri = pj_str("sip:" SIP_DOMAIN); cfg.cred_count = 1; - cfg.cred_info[0].realm = pj_str(SIP_DOMAIN); + cfg.cred_info[0].realm = pj_str("*"); cfg.cred_info[0].scheme = pj_str("digest"); cfg.cred_info[0].username = pj_str(SIP_USER); cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; |