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?
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?
[https://mailtrack.io/trace/mail/9dec0c95a00556640dd73af313e23fb83a4474ab513599.png]
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@unicope.com:
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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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
/*
/* Disable floating point support */
#undef PJ_HAS_FLOATING_POINT
#define PJ_HAS_FLOATING_POINT 0
/*
/* 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
/*
/* Increase allowable packet size, just in case /
/ modified by mb. Original value was 2000 */
#define PJSIP_MAX_PKT_LEN 4000
/*
/* Default codec quality, previously was set to 5, however it is now
/* 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+2PJSUA_MAX_PLAYERS)
#define PJSUA_MAX_BUDDIES 32
/// ********** END ***************
Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von João Resende
Gesendet: Donnerstag, 12. Mai 2016 13:51
An: pjsip list pjsip@lists.pjsip.org
Betreff: Re: [pjsip] 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
[https://mailtrack.io/trace/mail/a6872294890f753104831d274ac65bf66b54b2e4513599.png]
2016-05-12 12:48 GMT+01:00 Michael Barthold <Michael.Barthold@unicope.commailto:Michael.Barthold@unicope.com>:
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?
[X]
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.orgmailto:pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@unicope.com> 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
/*
*/
/* Disable floating point support */
#undef PJ_HAS_FLOATING_POINT
#define PJ_HAS_FLOATING_POINT 0
/*
*/
/* 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
/*
*/
/* Increase allowable packet size, just in case */
/* modified by mb. Original value was 2000 */
#define PJSIP_MAX_PKT_LEN 4000
/*
*/
/* Default codec quality, previously was set to 5, however it is now
*/
#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@lists.pjsip.org] *Im Auftrag von *João
Resende
Gesendet: Donnerstag, 12. Mai 2016 13:51
An: pjsip list pjsip@lists.pjsip.org
Betreff: Re: [pjsip] 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@unicope.com
:
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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org