- Joined
- Sep 24, 2024
- Messages
- 2
- Reaction score
- 0
Hi All,
We are having some problems trying to get the 3cx to integrate with Teams.
Our setup has
Issues:
Whatever I try I just can't get it to connect. Are there any logs on the Microsoft side that I can refer to potentially?
Any help would be much appreciated.
Regards
Charlie
We are having some problems trying to get the 3cx to integrate with Teams.
Our setup has
- An Enterprise licence with 16 SC's
- Teams standard licences (currently trial) applied to the users
- Custom sub domain for teams setup (teams.domain.com)
- Certificate for that custom domain from DigiCert as preferred by Microsoft (it is a subdomain of teams.<main domain> not a wildcard)
- The teams integration is active with port 5062 open on the firewall for the server.
- The certificates are installed on the teams integration.
- I can nmap the server port 5062 on the server and see that the correct certificate is being presented.
- command: nmap --script ssl-cert -p 5062 domain -Pn
- output:
- PORT STATE SERVICE
5062/tcp open na-localise
| ssl-cert: Subject: commonName=teams.domain.com/organizationName=<ORG NAME>/stateOrProvinceName=Western Australia/countryName=AU
| Subject Alternative Name: DNS:teams.domain.com
| Issuer: commonName=DigiCert EV RSA CA G2/organizationName=DigiCert Inc/countryName=US
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2024-08-13T00:00:00
| Not valid after: 2025-08-13T23:59:59
| MD5: 9fcc 7395 5aa0 720d af8e a037 426b c79f
|_SHA-1: 62c2 c53d 1ac1 b0cc 6ce6 083b ae95 7cdd 9865 3903
- The key length is correct.
- I have anonymised the SAN in the above text but that is also correct on the cert.
- Dial plan and users script has been run on MSOnline
- The SBC has been created along with dial plans etc
- The 3CX activity log relating to "teams" shows
09/24/2024 11:09:53.774 PM Extn:107 has specified Teams number: <MAIN PHONE NUMBER>;ext=107 09/24/2024 11:09:53.774 PM Added Teams mapping <MAIN PHONE NUMBER>;ext=107 <-> 107 09/24/2024 11:09:53.769 PM Resolving Teams FQDN sip.pstnhub.microsoft.com 09/24/2024 11:09:53.756 PM Created transport for Teams SBC: 0.0.0.0:5062/TLS fk=0 tgt=
- 3CX is a self hosted debian machine.
- Server is behind a Sophos firewall.
- All firewall/NAT rules are working.
- Can access the web platform on the 3CX (port 5001) not issues.
Issues:
- The voice directing routing on o365 (Teams) shows that the SBC has never connected.
- I left for 24 hours as recommended but still won't connect.
- The TLS Connectivity Status says never connected
- The SIP options says the following: "The Session Border Controller exists in our database (your administrator created it using the command New-CSOnlinePSTNGateway). It's configured to send SIP options but we never saw SIP options coming back from this SBC".
Whatever I try I just can't get it to connect. Are there any logs on the Microsoft side that I can refer to potentially?
Any help would be much appreciated.
Regards
Charlie
Last edited: