11-09-2022 05:58 AM
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')
Solved! Go to Solution.
11-09-2022 06:35 AM
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".
11-09-2022 06:35 AM
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".
11-09-2022 07:19 AM
Thanks TechLvr, that did the trick.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide