Status 171060 while using TLS

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

 



Try adding following defines in your config_site.h

#define PJ_HAS_SSL_SOCK   1
#define PJSIP_HAS_TLS_TRANSPORT  1

Thanks.
Regards,
Umesh.


On Tue, Apr 1, 2014 at 1:02 AM, jyotirmoy banerjee <iamjyotirmoy at yahoo.co.in
> wrote:

> Hello All,
>     I am trying to configure my iOS app (which uses pjsip as you can guess
> :) to use TLS. It works perfectly fine with UDP.
> I have built the libraries as advised, and I have checked that TLS is well
> enabled during the build.. Have a look at the output of the configure
> script..
> checking for OpenSSL installations..
> checking openssl/ssl.h usability... yes
> checking openssl/ssl.h presence... yes
> checking for openssl/ssl.h... yes
> checking for ERR_load_BIO_strings in -lcrypto... yes
> checking for SSL_library_init in -lssl... yes
> OpenSSL library found, SSL support enabled
>
> Now to enable TLS, I am using the following code:
>
> pjsip_tls_setting_default(&app_config->tls_cfg.tls_setting);
> app_config->tls_cfg.port = 5061;
> status = pjsua_transport_create(PJSIP_TRANSPORT_TLS,&app_config->tls_cfg,
> &transport_id);
>
> But I always land up getting the following errors, here is an extract from
> the logs :
>
> *22:44:44.875   pjsua_core.c  Error creating transport: Unsupported
> transport (PJSIP_EUNSUPTRANSPORT) [status=171060]*
> *22:44:44.876         call.m  Error setting G722/ codec priority (Err. 5)*
> *22:44:44.876         call.m  Error setting G7221 codec priority (Err. 5)*
> *22:44:44.876         call.m  Error setting G729 codec priority (Err. 4)*
>
> Request you to please share any information that would help me to resolve
> these errors.
> I am using the latest version from the SVN and ios-openssl-master for
> OpenSSL.
>
> Thanks upfront
> Jyotirmoy Banerjee
> iamjyotirmoy at yahoo.co.in
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140401/55f5fe10/attachment-0001.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