<div dir="ltr"><div>Hello,</div><div><br></div><div>I read <a href="https://skalatan.de/en/blog/kamailio-sbc-teams">https://skalatan.de/en/blog/kamailio-sbc-teams</a> and trying to use kamailio for teams.</div><div>But I faced that MS not responding ACK to my 200OK. Somethin is wrong, but I don't know what. I call from teams to kamailio.</div><div>Can you help me please</div><div><br></div><div>This is initial INVITE from Teams:</div><div>2020/04/09 22:55:17.346092 <a href="http://52.114.7.24:1024">52.114.7.24:1024</a> -> KAMAILIO_IP:5061<br>INVITE sip:+xxxxxxxxx@MY_KAMAILIO_FQDN:5061;user=phone;transport=tls SIP/2.0<br>FROM: Aidar Kamalov<sip:+xxxxxxxxx@sip.pstnhub.microsoft.com:5061;user=phone>;tag=de28a5b5333b451a97312097f91f5564<br>TO: <sip:xxxxxxxx@MY_KAMAILIO_FQDN:5061;user=phone><br>CSEQ: 1 INVITE<br>CALL-ID: 3d5ad3cdd01457be94d127fa20478cf1<br>MAX-FORWARDS: 70<br>VIA: SIP/2.0/TLS 52.114.7.24:5061;branch=z9hG4bKdb903e2c<br>RECORD-ROUTE: <sip:sip-du-a-as.pstnhub.microsoft.com:5061;transport=tls;lr><br>CONTACT: <sip:api-du-a-euno.pstnhub.microsoft.com:443;x-i=903eeaac-b19e-43a0-8e75-bb222049922a;x-c=3d5ad3cdd01457be94d127fa20478cf1/d/8/d3d2c2e3f3c14f88bb2fe843b4bc70e4><br>CONTENT-LENGTH: 2426<br>USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2020.4.4.3 i.ASEA.5<br>CONTENT-TYPE: application/sdp<br>ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY<br><br>v=0<br>o=- 0 0 IN IP4 52.114.252.146<br>s=session<br>c=IN IP4 52.114.252.146<br>b=CT:50000<br>t=0 0<br>m=audio 52939 RTP/SAVP 104 9 111 18 0 8 103 97 13 118 119 101<br>a=rtcp:52925<br>a=ice-ufrag:rKBm<br>a=ice-pwd:BkjUnkfIvYV5pjteSteevL1O<br>a=rtcp-mux<br>a=candidate:4 1 UDP 184547839 52.114.252.146 52939 typ relay raddr 31.13.144.55 rport 57780<br>a=candidate:4 2 UDP 184547326 52.114.252.146 52925 typ relay raddr 31.13.144.55 rport 57781<br>a=candidate:1 1 tcp-act 2121006590 100.78.247.179 1024 typ host<br>a=candidate:1 2 tcp-act 2121006590 100.78.247.179 1024 typ host<br>a=candidate:2 1 UDP 2130705919 100.78.247.179 39182 typ host<br>a=candidate:2 2 UDP 2130705406 100.78.247.179 39183 typ host<br>a=candidate:3 1 UDP 1694497791 31.13.144.55 57780 typ srflx raddr 100.78.247.179 rport 39182<br>a=candidate:3 2 UDP 1694497278 31.13.144.55 57781 typ srflx raddr 100.78.247.179 rport 39183<br>a=candidate:5 1 tcp-act 1684796926 31.13.144.55 9761 typ srflx raddr 100.78.247.179 rport 41775<br>a=candidate:5 2 tcp-act 1684796926 31.13.144.55 9761 typ srflx raddr 100.78.247.179 rport 41775<br>a=candidate:6 1 tcp-pass 174453758 52.114.252.130 59925 typ relay raddr 31.13.144.55 rport 9761<br>a=candidate:6 2 tcp-pass 174453758 52.114.252.130 59925 typ relay raddr 31.13.144.55 rport 9761<br>a=candidate:7 1 tcp-act 174846462 52.114.252.130 59925 typ relay raddr 31.13.144.55 rport 9761<br>a=candidate:7 2 tcp-act 174846462 52.114.252.130 59925 typ relay raddr 31.13.144.55 rport 9761<br>a=x-candidate-info:4 network-type=WWAN<br>a=x-candidate-info:1 network-type=WWAN<br>a=x-candidate-info:2 network-type=WWAN<br>a=x-candidate-info:3 network-type=WWAN<br>a=x-candidate-info:5 network-type=WWAN<br>a=x-candidate-info:6 network-type=WWAN<br>a=x-candidate-info:7 network-type=WWAN<br>a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:DY3r3DWRojJm94CJQ83OAavmlRCwPf5ciRxHCT40|2^31<br>a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:DY3r3DWRojJm94CJQ83OAavmlRCwPf5ciRxHCT40|2^31<br>a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:DY3r3DWRojJm94CJQ83OAavmlRCwPf5ciRxHCT40|2^31|1:1<br>a=rtpmap:104 SILK/16000<br>a=fmtp:104 useinbandfec=1; usedtx=0<br>a=rtpmap:9 G722/8000<br>a=rtpmap:111 SIREN/16000<br>a=fmtp:111 bitrate=16000<br>a=rtpmap:18 G729/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:103 SILK/8000<br>a=fmtp:103 useinbandfec=1; usedtx=0<br>a=rtpmap:97 RED/8000<br>a=rtpmap:13 CN/8000<br>a=rtpmap:118 CN/16000<br>a=rtpmap:119 CN/24000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=ptime:20<br>a=maxptime:200<br></div><div><br></div><div><br></div><div><br></div><div>and my 200OK to MS is:</div><div><br></div><div>2020/04/09 22:55:19.976427 KAMAILIO_IP:5061 -> <a href="http://52.114.7.24:1024">52.114.7.24:1024</a><br>SIP/2.0 200 OK<br>Record-Route: <sip:KAMAILIO_FQDN_DOMAIN:5061;transport=tls;ftag=de28a5b5333b451a97312097f91f5564;lr=on><br>Record-Route: <sip:KAMAILIO_IP:5060;ftag=de28a5b5333b451a97312097f91f5564;lr=on><br>Via: SIP/2.0/TLS 52.114.7.24:5061;rport=1024;branch=z9hG4bKdb903e2c<br>Record-Route: <sip:ENDPOINT_BEHIND_KAMAILIO_IP;line=sr-QyfKA15Kw1rKw1hKEoPljM0oE1VLX10RQ1VLX10gkY37WJufE1BBjJhVE6E6r14VEJ5Nj6ElE1UNjyrNEJrVjnr.AyudmMV1rg52rJrlAyNBkMVNmSE*><br>Record-Route: <sip:ENDPOINT_BEHIND_KAMAILIO_IP;r2=on;lr=on;ftag=de28a5b5333b451a97312097f91f5564;did=cba.af1;nat=yes><br>Record-Route: <sip:KAMAILIO_IP;r2=on;lr=on;ftag=de28a5b5333b451a97312097f91f5564;did=cba.42a1;nat=yes><br>Record-Route: <sip:KAMAILIO_IP:5061;transport=tls;r2=on;lr=on;ftag=de28a5b5333b451a97312097f91f5564;did=cba.42a1;nat=yes><br>Record-Route: <sip:sip-du-a-as.pstnhub.microsoft.com:5061;transport=tls;lr><br>To: <sip:+xxxxxxxxxx@KAMAILIO_FQDN_DOMAIN:5061;user=phone>;tag=3795432917-393759697<br>From: <sip:+xxxxxxxxxx@sip.pstnhub.microsoft.com:5061;user=phone>;tag=de28a5b5333b451a97312097f91f5564<br>Call-ID: 3d5ad3cdd01457be94d127fa20478cf1<br>CSeq: 1 INVITE<br>Allow: PUBLISH,MESSAGE,UPDATE,PRACK,SUBSCRIBE,REFER,INFO,NOTIFY,REGISTER,OPTIONS,BYE,INVITE,ACK,CANCEL<br>Content-Type: application/sdp<br>Accept: application/sdp<br>Content-Length: 282<br>User-Agent: MY_DOMAIN<br>Contact: <sip:KAMAILIO_IP;line=sr-DHZToOtmMdn7MODy9AnmD10TGLpUrL4noJCE4A03DdQE9LUaMXr*><br><br>v=0<br>o=ETPI-MSX1 0 0 IN IP4 KAMAILIO_IP<br>s=sip call<br>c=IN IP4 KAMAILIO_IP<br>t=0 0<br>m=audio 12176 RTP/SAVP 8<br>b=AS:64<br>a=maxptime:20<br>a=rtpmap:8 PCMA/8000<br>a=sendrecv<br>a=rtcp:12177<br>a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:03ZmcR+CxxB7k7C8QvWBgseYq7cH7py7VxqfLM8j<br>a=ptime:20<br></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Aydar A. Kamalov</div></div>