Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: AlanCReid on February 09, 2021, 06:16:49 AM

Title: Connecting to MS Teams
Post by: AlanCReid on February 09, 2021, 06:16:49 AM
Hi all

We are trying to connect our existing telephone system to MS Teams to allow incoming calls to be redirected to Teams and outbound made from teams.

So far we are able to call internally between the telephone system and Teams in both directions and we can route incoming calls directly to Teams using forwarding rules.  What I would like to do now is allow Teams users to make outbound calls via the phone system.

If a Teams user dials an external number, the call routes to the telephone system correctly, but is then rejected with a 404 error.  Does anyone know what I need to do to have the incoming number parsed by our existing ARS rules and forwarded onto our service provider?

Thanks
Alan
Title: Re: Connecting to MS Teams
Post by: sunspark on February 09, 2021, 08:15:25 AM
you can do that with sip gateway like : Call2teams
Title: Re: Connecting to MS Teams
Post by: Dogbreath on February 09, 2021, 12:05:16 PM
Is it something silly like missing a 9 when trying to dial out?
Title: Re: Connecting to MS Teams
Post by: AlanCReid on February 09, 2021, 01:21:17 PM
No, the incoming requestURI from Teams already has the 9 at the start of it for an external call.
Title: Re: Connecting to MS Teams
Post by: sunspark on February 09, 2021, 01:36:19 PM

as explained you can't use your mitel controller to make calls from teams "direct routing" without making a trunk between your Teams (micorosoft in the cloud) and your controller.
you need a Call2teamps type gateway with an mbg.

https://www.call2teams.com
Title: Re: Connecting to MS Teams
Post by: AlanCReid on February 09, 2021, 02:06:16 PM
We already have a SIP trunk from one of our controllers via an MBG to an Oracle SBC and then onto Teams and are using this trunk for internal calls (in both directions) and incoming external calls. 

All that I am left with is the issue of making outbound external calls from Teams.  They are delivered via the SIP trunk to the Mitel controller, but the controller rejects them with a 404 error.
Title: Re: Connecting to MS Teams
Post by: NEPhoneGuy on February 09, 2021, 05:20:42 PM
We already have a SIP trunk from one of our controllers via an MBG to an Oracle SBC and then onto Teams and are using this trunk for internal calls (in both directions) and incoming external calls. 

All that I am left with is the issue of making outbound external calls from Teams.  They are delivered via the SIP trunk to the Mitel controller, but the controller rejects them with a 404 error.

Can you share the trace? A 404 is not found. Doesn't like something. Be sure to sanitize before sharing online.
Title: Re: Connecting to MS Teams
Post by: AlanCReid on February 09, 2021, 05:59:40 PM
What sort of trace, the only thing I’ve got to date is a tcpdump of the SIP trunk which only shows the incoming invite and the reject, (which I can share in the morning).  Is there anything else I should get?
Title: Re: Connecting to MS Teams
Post by: AlanCReid on February 10, 2021, 11:46:19 AM
Going back through and checking everything again, I found I hadn't put the correct entry in the SIP Peer Profile Assignment by Incoming DID form, now that I have corrected that everything is working fine.

Thanks for the helpful input.
Title: Re: Connecting to MS Teams
Post by: AsishPradhan on July 23, 2024, 04:18:44 PM
Hi Alan,

Could you please suggest what incoming DID number range you configured on  SIP Peer Profile Assignment by Incoming DID form.

As the users can dial any valid PSTN number while making outbound external calls from Teams.

Thank is advance!!

Title: Re: Connecting to MS Teams
Post by: ralph on July 24, 2024, 09:05:54 AM
Quote
Could you please suggest what incoming DID number range you configured on  SIP Peer Profile Assignment by Incoming DID form.

That wouldn't be what the user dials to reach an outside number. That would be the DID range assigned to your company for incoming calls.

Ralph