Hello,

what libssl version do you have? Some of them have bugs related to compression and the feature is disabled if such case is discovered.

You can set debug=3 and send over the log messages from startup.

Cheers,
Daniel


On 06/05/14 11:36, 刘日新 wrote:

Hi, all.

 

I has configure kamailio.cfg as below:

 

#!ifdef WITH_TLS

modparam("tls", "session_id", "vic22")

modparam("tls", "session_cache",1)

modparam("tls", "tls_disable_compression",0)

modparam("tls", "config", "/usr/cfg/tls.cfg")

#!endif

 

I was sure that this configure segment was included , in case that I set a wrong path to

modparam("tls", "config", "/wrong paths/tls.cfg")

the kamailio can`t boost and raised error.

 

But, when I debug this configure with gdb, I found that, within method : init_tls_compression(),

Line 384 of tls_init.c

 

384  } else if (cfg_get(tls, tls_cfg, disable_compression)){

385            LOG(L_INFO, "tls: init_tls: disabling compression...\n");

386            sk_SSL_COMP_zero(comp_methods);

 

The param value from cfg was always 1, namely:

 

Ø  print ((struct cfg_group_tls *)tls_cfg)->disable_compression

1

 

Why that? Are there something wrong?

 

B.R.

 

Rixin liu

 



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda