Teams Direct Routing

mikkadim

New Member
Sep 10, 2024
1
0
1
47
Could you guys share your experience with Teams, I have a Kamailio (mimics AudioCodes) in front of FusionPBX which sends OPTIONS to Teams via TLS (all certs are legit from Digicert) and I have a dialog, according to this guide after that full dialog SBC should be marked as Active in the Microsoft Teams admin center, but instead it's still shows as "!":

1727096049633.png

2024/09/22 17:23:57.616790 myip.myip.myip.myip:5061 -> 52.127.88.59:5061
OPTIONS sip:sip.pstnhub.gov.teams.microsoft.us:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS myip.myip.myip.myip:5061;branch=z9hG4bK120a.44c99132000000000000000000000000.0
To: <sip:sip.pstnhub.gov.teams.microsoft.us:5061;transport=tls>
From: <sip:my-sbc-domain.com>;tag=6ba9c7047fcf8d030b0ead0b420aac5e-10f11078
CSeq: 10 OPTIONS
Call-ID: 766eb0d9774bd376-893955@192.168.1.194
Max-Forwards: 70
Content-Length: 0
User-Agent: AudioCodes-Sip-Gateway-/7.20A.258.980



2024/09/22 17:23:57.640985 myip.myip.myip.myip:5061 -> 52.127.88.59:5061
OPTIONS sip:sip.pstnhub.gov.teams.microsoft.us:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS myip.myip.myip.myip:5061;branch=z9hG4bK120a.44c99132000000000000000000000000.0
To: <sip:sip.pstnhub.gov.teams.microsoft.us:5061;transport=tls>
From: <sip:my-sbc-domain.com>;tag=6ba9c7047fcf8d030b0ead0b420aac5e-10f11078
CSeq: 10 OPTIONS
Call-ID: 766eb0d9774bd376-893955@192.168.1.194
Max-Forwards: 70
Content-Length: 0
Contact: <sip:my-sbc-domain.com:5061;transport=tls>
User-Agent: AudioCodes-Sip-Gateway-/7.20A.258.980



2024/09/22 17:23:57.704502 52.127.88.59:5061 -> myip.myip.myip.myip:0
SIP/2.0 200 OK
FROM: <sip:my-sbc-domain.com>;tag=6ba9c7047fcf8d030b0ead0b420aac5e-10f11078
TO: <sip:sip.pstnhub.gov.teams.microsoft.us:5061;transport=tls>
CSEQ: 10 OPTIONS
CALL-ID: 766eb0d9774bd376-893955@192.168.1.194
VIA: SIP/2.0/TLS myip.myip.myip.myip:5061;branch=z9hG4bK120a.44c99132000000000000000000000000.0
CONTENT-LENGTH: 0
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
SERVER: Microsoft.PSTNHub.SIPProxy v.2024.8.29.7 i.GOVTX.3



2024/09/22 17:23:57.701017 52.127.88.59:5065 -> myip.myip.myip.myip:5061
OPTIONS sip:my-sbc-domain.com:5061;transport=tls SIP/2.0
FROM: <sip:tx.sip.pstnhub.gov.teams.microsoft.us:5061>;tag=1e163a1a-681c-4cd8-bf1d-f10c1c194992
TO: <sip:my-sbc-domain.com>
CSEQ: 1 OPTIONS
CALL-ID: 4b831fac-c187-4a5a-b90f-12fd2d7a7fcf
MAX-FORWARDS: 70
VIA: SIP/2.0/TLS 52.127.88.59:5061;branch=z9hG4bKe2cc57c9
CONTACT: <sip:tx.sip.pstnhub.gov.teams.microsoft.us:5061>
CONTENT-LENGTH: 0
USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2024.8.29.7 i.GOVTX.3
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY



2024/09/22 17:23:57.701667 myip.myip.myip.myip:5061 -> 52.127.88.59:5065
SIP/2.0 200 OK
FROM: <sip:tx.sip.pstnhub.gov.teams.microsoft.us:5061>;tag=1e163a1a-681c-4cd8-bf1d-f10c1c194992
TO: <sip:my-sbc-domain.com>;tag=706e1feb226636f018fd2d04e33de18c.b911e3d2
CSEQ: 1 OPTIONS
CALL-ID: 4b831fac-c187-4a5a-b90f-12fd2d7a7fcf
VIA: SIP/2.0/TLS 52.127.88.59:5061;branch=z9hG4bKe2cc57c9;rport=5065
Server: AudioCodes Mediant 500 SBC
Content-Length: 0