<div dir="ltr">You have too many RR of Kamailio, x1 FQDN, x3 IP. Why?<br><div><br></div><div>IMO, you should have only 2 of Kamailio, if you're doing transport conversion. Both FQDNs + ";r2=on". MS clearly says FQDN everywhere, no IP, especially RR</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 10, 2020 at 7:06 AM Aidar Kamalov <<a href="mailto:aidar.kamalov@gmail.com">aidar.kamalov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks for the answer, I have disabled forse_rport() for Teams side, responses now going to address in Via header, but it is not resolved my issue, no ACK from Teams :(</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 9 апр. 2020 г. в 18:22, Sergiu Pojoga <<a href="mailto:pojogas@gmail.com" target="_blank">pojogas@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Aydar,</div><div><br></div>Request from MS proxy has
VIA: SIP/2.0/TLS <a href="http://52.114.7.24:5061" target="_blank">52.114.7.24:5061</a>, that's where your reply should go. You're sending to <a href="http://52.114.7.24:1024" target="_blank">52.114.7.24:1024</a> instead?<div><br></div><div>Also, looks like you're missing "r2=on" on the other RR, only one has it.</div><div><br></div><div>Cheers,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 9, 2020 at 11:09 AM Aidar Kamalov <<a href="mailto:aidar.kamalov@gmail.com" target="_blank">aidar.kamalov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I read <a href="https://skalatan.de/en/blog/kamailio-sbc-teams" target="_blank">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" target="_blank">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" target="_blank">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">Aydar A. Kamalov</div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Aydar A. Kamalov</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>