cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1426
Views
5
Helpful
2
Replies

Calling MS Teams Extensions from CUCM

Djeten
Level 1
Level 1

We have a hybrid phone system where office users are calling with MS Teams Direct Routing and some users that don't have a MS Teams license are calling with phones registered on CUCM. We use a Cisco Cube to do the routing between MS Teams, the CUCM and the provider.

From MS Teams, we can call the internal extensions on the CUCM. But calling the MS Teams extensions from CUCM does not work. To make this work, all MS Teams users need a (shared) CLI and the SBC has to  prepend the shared CLI and ext= to the called number transformation rules before the call is sent to Teams.

So this rule would be something like this: 

rule 1 /^\(.*$\)/ /+441234567890;ext=\1/

Unfortunately, this command is not accepted on the cube. How can I add "+441234567890;ext=" to the dialed number?

 

see https://callroute.com/tech-blog/microsoft-teams/microsoft-teams-dial-by-extension/ (Chapter 'Internal Calling from PBX to Extension Users in Teams')

1 Accepted Solution

Accepted Solutions

TechLvr
Spotlight
Spotlight

@Djeten 

Try adding the sip profile below to your CUBE and assign it to the outbound dial peer facing MS Teams.

voice class sip-profiles 1000
request ANY sip-header SIP-Req-URI modify "sip:(.*)@" "sip:+441234567890;ext=\1@"
request ANY sip-header To modify "sip:(.*)@" "sip:+441234567890;ext=\1@"

This is an example of how you would assign the sip profile to a dial peer.
dial-peer voice 1000 voip
voice-class sip profiles 1000

If it does not work, please share the output of "debug ccsip messages" and "debug voice ccapi inout".

View solution in original post

2 Replies 2

TechLvr
Spotlight
Spotlight

@Djeten 

Try adding the sip profile below to your CUBE and assign it to the outbound dial peer facing MS Teams.

voice class sip-profiles 1000
request ANY sip-header SIP-Req-URI modify "sip:(.*)@" "sip:+441234567890;ext=\1@"
request ANY sip-header To modify "sip:(.*)@" "sip:+441234567890;ext=\1@"

This is an example of how you would assign the sip profile to a dial peer.
dial-peer voice 1000 voip
voice-class sip profiles 1000

If it does not work, please share the output of "debug ccsip messages" and "debug voice ccapi inout".

Djeten
Level 1
Level 1

Thanks TechLvr, that did the trick.