From victor.velo@yahoo.ca Sun May 9 04:47:36 2021 From: Victor Velo To: sr-users@lists.kamailio.org Subject: [SR-Users] MS Teams SBC Date: Sun, 09 May 2021 02:47:30 +0000 Message-ID: <858061488.1167558.1620528450449@mail.yahoo.com> In-Reply-To: <858061488.1167558.1620528450449.ref@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0433743759==" --===============0433743759== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I'm trying to test a Henning's tutorial for Teams SBC described here: https:/= /skalatan.de/en/blog/kamailio-sbc-teams. A minor change at the MS Teams setup is just about the login. Now it requires= MFA.The license I used is : Microsoft 365 developer subscriptions (E5).The d= omanin dv-sbc.openabrik.com is added + 1 user PS> Connect-MicrosoftTeams (MFA)PS> New-CsOnlinePSTNGateway -Fqdn dev-sbc.ope= nfabrik.com -SipSignalingPort 5061 -MaxConcurrentSessions 10 -ForwardCallHist= ory $true -Enabled $true Everything seems to be OK at MS Teams side. I'm using the Kamailio coming with Kazoo. Version 5.2.5[root(a)dev-sbc kamail= io]# kamailio -versionversion: kamailio 5.2.5 (x86_64/linux)=C2=A0flags: STAT= S: 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, TL= SF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, = USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RESADAPTIVE_WAIT_= LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, = DEFAULT PKG_SIZE 8MBpoll method support: poll, epoll_lt, epoll_et, sigio_rt, = select.id: unknown=C2=A0compiled on 01:14:59 Nov 19 2019 with gcc 7.3.1 When Kamailio is probing MS Teams, the log shows the following errors (for th= e 3 GW): hG4bKc188.6a606040000000000000000000000000.0#015#012To: #015#012From: ;tag=3Dd= 9a52ca041d9e6253dd2a7d5399056e3-2f56#015#012CSeq: 10 OPTIONS#015#012Call-ID: = 4ed99b8a73a96dcd-10234(a)155.138.140.233#015#012Max-Forwards: 70#015#012Conte= nt-Length: 0May=C2=A0 9 01:26:17 dev-sbc kamailio[10234]: ERROR: [core= /tcp_main.c:618]: _wbufq_add(): (517 bytes): write queue full or timeout=C2= =A0 (0, total 1100374016, last write 41683154 s ago)May=C2=A0 9 01:26:17 dev-= sbc kamailio[10234]: ERROR: [core/tcp_main.c:2673]: tcpconn_1st_send()= : 52.114.76.76:5061: EAGAIN and write queue full or failed for 0x7fce434db860= May=C2=A0 9 01:26:17 dev-sbc kamailio[10234]: ERROR: tm [../../core/forward.h= :293]: msg_send_buffer(): tcp_send failedMay=C2=A0 9 01:26:17 dev-sbc kamaili= o[10234]: ERROR: tm [uac.c:648]: send_prepared_request_impl(): Attempt to sen= d to precreated request failedMay=C2=A0 9 01:26:17 dev-sbc kamailio[10234]: I= NFO: