TLS on Symbain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using PJSIP on Symbian as my Mobile SIP Dialer. Recently I am trying to
using TLS with PJSIP. I followed all steps which was noted in
http://trac.pjsip.org/repos/wiki/TLS_on_Symbian and
http://trac.pjsip.org/repos/wiki/TLS. But unfortunately I could not
successfully run given console application(symbian_ua).

When I try to run this application it just gives an error...

ERROR:
------------------------------------------
 13:29:23.690    pjsua_acc.c  Invalid local URI: Invalid URI
(PJSIP_EINVALIDURI) [status=171039]
 13:29:23.728    pjsua_acc.c  Error adding account: Invalid URI
(PJSIP_EINVALIDURI) [status=171039]
 13:29:23.769 symbian_ua.cpp  Error adding account: Invalid URI
(PJSIP_EINVALIDURI) [status=171039]
------------------------------------------

CONFIGURATION :
------------------------------------------
PJSIP Version : pjsua version 1.5.5
SIP Switch : Opensips

Adding following 3 Lines in sonfig_site.h


Following Changes on ua.cpp

#include <pj/config_site_sample.h>
#define PJSIP_HAS_TLS_TRANSPORT 1
#define PJ_HAS_SSL_SOCK 1


#define SIP_DST_URI    "<sip:123321123321 at 192.168.10.62:443;transport=tls>"

#define HAS_SIP_ACCOUNT    1
#define SIP_DOMAIN    "<sip:192.168.10.62:443;transport=tls>"
#define SIP_USER    "123321"
#define SIP_PASSWD    "123321"

#define TLS_SRV_NAME    "<sip:192.168.10.62:443;transport=tls>"
------------------------------------------

Please guide me if there any wrong...

Thanks,
-- 
Salahuddin Ahmed
Cell : 8801670001051

"I'm Trying to change the world, But they won't give me the source code."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100616/f1fd3187/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux