From khorsmann@gmail.com Mon Jun 17 19:10:37 2019 From: Karsten Horsmann To: sr-users@lists.kamailio.org Subject: [SR-Users] dispatcher and TLS targets Date: Mon, 17 Jun 2019 19:10:18 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1762451438==" --===============1762451438== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, i try to configure an SBC OS config [1] based kamailio 5.2.3 [2] with dispatcher and rtpengine. I used transport=3Dtcp to see the plain traffic and then switched to TLS (with tls.cfg, valid certificate and stuff). After starting up, the Target is marked as "down". Due the encryption its hard to debug that. Any hints? Did i made an mistake in the configuration? TLS calls from the target to my kamailio proxy works. So its "half broken" :) at the moment. [1] https://github.com/voiceboys/sbcOS/blob/master/SbcOS/configs/voice/kamailio/k= amailio.cfg [2] kamailio -v version: kamailio 5.2.3 (x86_64/linux) c36229 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: c36229 compiled on 11:28:11 May 22 2019 with gcc 4.8.5 -- %< --------------------- kamctl dispatcher dump "SET": { "ID": 1004, "TARGETS": [{ "DEST": { "URI": "sip:sip101.example.de;transport=3Dtls", "FLAGS": "TP", "PRIORITY": 0, "ATTRS": { "BODY": "access=3D212.xx.xx.xx:5061;socket=3Dtls:212.xx.xx.xx:5061;weight=3D100;ping_= from=3Dsip: mykamailio.example.de", "DUID": "", "MAXLOAD": 0, "WEIGHT": 100, "RWEIGHT": 0, "SOCKET": "tls:212.xx.xx.xx:5061" }, "LATENCY": { "AVG": 30000, "STD": 0, "EST": 30000, "MAX": 30000, "TIMEOUT": 1 } } }] } }, -- %< --------------------- kamctl dispatcher dump WARNING: