Re: tls support android M (6.0)

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

 



What sever are you using? It would appear that your server only supports SSLv3 and the OpenSSL library being used by PJSIP requires TLSv1 minimum. I would solve this on your server end by trying to disable SSLv3 in favor of more recent TLS implementations if possible.
On Thu, May 12, 2016 at 8:13 AM Michael Barthold <Michael.Barthold@xxxxxxxxxxx> wrote:

Ok – i can only support you by telling you how we compile it.

jdk1.7.0_79

ndk-r10e  (DO NOT USE R11!!)

swig 3.0.8

 

this is the config_site.h we are using:

 

/// ********* START *************

 

 

// PJSIP - Kompilierung (Android)

// Datum: v1: 2015-11-17 11:00:00

 

#define PJMEDIA_HAS_VIDEO 0

 

#define PJ_ANDROID                          1

 

/*

* PJLIB settings.

*/

 

/* Disable floating point support */

#undef PJ_HAS_FLOATING_POINT

#define PJ_HAS_FLOATING_POINT              0

 

/*

* PJMEDIA settings

*/

 

/* We have our own OpenSL ES backend */

#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0

#define PJMEDIA_AUDIO_DEV_HAS_WMME                     0

#define PJMEDIA_AUDIO_DEV_HAS_OPENSL        0

#define PJMEDIA_AUDIO_DEV_HAS_ANDROID_JNI          1

 

/* Disable some codecs */

#define PJMEDIA_HAS_L16_CODEC            0

//#define PJMEDIA_HAS_G722_CODEC                  0

 

/* Fine tune Speex's default settings for best performance/quality */

#define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY       5

 

/* Increase number of video device's supported formats */

#define PJMEDIA_VID_DEV_INFO_FMT_CNT          128

 

/*

* PJSIP settings.

*/

 

/* Increase allowable packet size, just in case */

/* modified by mb. Original value was 2000 */

#define PJSIP_MAX_PKT_LEN                                   4000

 

/*

* PJSUA settings.

*/

 

/* Default codec quality, previously was set to 5, however it is now

* set to 4 to make sure pjsua instantiates resampler with small filter.

*/

#define PJSUA_DEFAULT_CODEC_QUALITY                        4

 

/* Set maximum number of dialog/transaction/calls to minimum */

#define PJSIP_MAX_TSX_COUNT                 31

#define PJSIP_MAX_DIALOG_COUNT                      31

#define PJSUA_MAX_CALLS                         4

 

/* Other pjsua settings */

#define PJSUA_MAX_ACC                            4

#define PJSUA_MAX_PLAYERS                                4

#define PJSUA_MAX_RECORDERS                          4

#define PJSUA_MAX_CONF_PORTS             (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)

#define PJSUA_MAX_BUDDIES                                32

 

/// ********** END ***************

 

 

 

 

 

Von: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] Im Auftrag von João Resende
Gesendet: Donnerstag, 12. Mai 2016 13:51
An: pjsip list <pjsip@xxxxxxxxxxxxxxx>
Betreff: Re: tls support android M (6.0)

 

Sorry my mistake, 2.4.5, is my version. 

 

I'm running in a Samsung S7 (arm64) ... and I'm getting that problem

 

2016-05-12 12:48 GMT+01:00 Michael Barthold <Michael.Barthold@xxxxxxxxxxx>:

Why don't you work with the latest version, and only 1.4.5?

2.4.5 compile and run without any problems on marshmallow.

 

 

Hello all,

 

I'm compilling PJSIP(1.4.5) for Android 6.0 and I'm getting a problem with the TLS connection, just in that device, where I get PJSIP_SC_SERVICE_UNAVAILABLE reason tlsv1 alert protocol version 300.

 

In another android like 4.4.2 I don't get any error.

 

any idea how to solve this problem?

 


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

 

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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