Hello Liviu,
Forgot mention version.
[root@pr1 ~]# opensips -V
version: opensips 3.1.0-dev (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, CC_O0, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
main.c compiled on 10:46:54 Jan 29 2020 with gcc 8
volga629
On 4/26/20 10:35 AM, volga629 via Users wrote:
Hello Liviu,
I restructured config file to better see what was evaluated and I see
in debug right now clearly that opensips is not evaluate properly.
Oh I don't see something.
Debug:
https://pastebin.com/GHmbb0Uf
Config
https://pastebin.com/P60Bh9En
volga629
On 4/24/20 7:57 AM, Liviu Chircu wrote:
On 24.04.2020 13:22, volga629 wrote:
if($var(tls-frompbx)==$var(usr_check_tls)) {
$var(transport) = "tls";
if(!codec_exists("opus")) {
$var(codec_flag_frompbx_tls) = "transcode-opus";
}
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");
}
Please add an "else" to this "if" block exactly as follows, run it
and provide the output:
if($var(tls-frompbx)==$var(usr_check_tls)) {
$var(transport) = "tls";
if(!codec_exists("opus")) {
$var(codec_flag_frompbx_tls) = "transcode-opus";
}
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");
} else {
xlog("L_INFO", "DBG: TLS strings differ:
'$var(tls-frompbx)'/'$var(usr_check_tls)',
'$(var(tls-frompbx){s.len})'/'$(var(usr_check_tls){s.len})',
'$(var(tls-frompbx){s.md5})'/'$(var(usr_check_tls){s.md5})'\n");
}
Also, what is the output of "opensips -V"?
Best regards,
--
Liviu Chircu
www.twitter.com/liviuchircu |www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, Fall 2020
www.opensips.org/events
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users