pjsip-symbian tls Error

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

 



Just FYI,

In the SVN trunk, symbian_ua sample app has already support for TLS
(on Symbian platforms it is implemented using CSecureSocket), perhaps
this could be a starting point for testing or reference purpose. Here
are few steps to configure it:
1. Build PJSIP with TLS support, see
http://trac.pjsip.org/repos/wiki/TLS#BuildPJSIPwithTLSSupport.
2. Edit ENABLE_SIP_TLS setting in ua.cpp of symbian_ua to enable SIP TLS:
---
#define ENABLE_SIP_TLS	1
---
3. Don't forget to put URI param "transport=tls" in proxy or target
settings, e.g: <sip:a.b.c;transport=tls>

BR,
nanang


On Sun, Oct 18, 2009 at 12:17 PM, towhid islam <towhid2000bd at yahoo.com> wrote:
>
> hi,
>
> 1. pjsip tls Error
> 2. pjsip-symbian tls Error
>
> which one is better understanding that the problem related to symbian ?
>
> anyway , i will try to be more attantive.
>
> TLS setup:
>
>
>
> pjsua_transport_config tcfg;
>
> pjsua_transport_id tid;
>
>
>
> pjsua_transport_config_default(&tcfg);
>
> tcfg.
>
> port = SIP_PORT;
>
> tcfg.
>
> tls_setting.method=PJSIP_TLSV1_METHOD;
>
> tcfg.
>
> tls_setting.server_name=pj_str(TLS_SERVER_NAME);
>
> status =
>
> pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid);
>
>
>
> thanks
>
> towhid
>
>
>
> Yeah, like Benny said, just send the mail once, we will hear it and if
> someone knows the answer they'll reply.
>
> Can you paste the code that sets up the TLS transport please? (Just
> once!)
>
> Shayne.
>
> On 14/10/2009, at 5:34 PM, towhid islam wrote:
>
> > hi,
> >
> > pjsip-symbian tls cant send BYE,
> >
> > log file:
> >
> > 07:55:06.241?? Master/sound? Underflow, buf_cnt=0, will generate 1
> > frame
> > ?07:55:06.241?? Master/sound? Underflow, buf_cnt=0, will generate 1
> > frame
> > ?07:55:06.281? tsx0x2456b2d0? Failed to send Request msg BYE/
> > cseq=29613 (tdta0x2456f880)! err=171060 (Unsupported transport
> > (PJSIP_EUNSUPTRANSPORT))
> > ?07:55:06.346? pjsua_media.c? Media session for call 0 is destroyed
> > ?07:55:06.346?? pjsua_call.c? Failed to send end session message:
> > Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
> >
> > why unsupported transport is occurring.
> >
> > thanks
> >
> >
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> ===================================
> Shayne O'Neill Development
> Mobile, Web and Business process integration.
> shayne.oneill at gmail.com 0400247091
> Ask me about how Alfresco can help your business grow.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[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