ā03-15-2023 05:41 AM
Hello,
We have a Direct Routing SIP Trunk on our SBC to MS Teams. We want to have MS Teams users to be able to call users on our CUCM and vice versa.
This works, but calls coming from MS Teams have this From header in the INVITE:
FROM: "name"<sip:+32xxxxxxxx;ext=655@sip.pstnhub.microsoft.com:5061;user=phone>;tag=65cd84363b64418681a4755c66aea53f
The From header in the outgoing INVITE then lookes like this:
From: "name" <sip:32xxxxxxxx@192.168.25.153>;tag=426821A8-1ACA
I would prefer if the From header in the outgoing INVITE would have the internal extension, like this:
From: "name" <sip:655@192.168.25.153>;tag=426821A8-1ACA
To do this, I have this configuration:
voice class sip-copylist 1
sip-header From
voice class sip-profiles 340
rule 10 request INVITE peer-header sip FROM copy "<sip:+32xxxxxxxx;ext=(.*)@" u06
rule 20 request INVITE sip-header From modify "<sip:32xxxxxxxx@" "<sip:\u06@"
#outgoing dial peer
dial-peer voice 340 voip
voice-class sip profiles 340
#incoming dial peer
dial-peer voice 290 voip
voice-class sip copy-list 1
The result of this, is that the From header in the outgoing INVITE now looks like this:
From: "name" <sip:@192.168.25.153>;tag=426821A8-1ACA
So the SIP Profile is executed, but the copy command did not work.
Where is the error in my config?
ā03-16-2023 01:21 AM
*facepalm*
Then either use the latest one (17.3.6) or the recommended one (17.3.4a) or open a TAC, if the issue still persists.
ā03-16-2023 01:31 AM - edited ā03-16-2023 01:32 AM
Yes you can use the same version, but not the very same file, we use the version on two virtual routers that we have for a WxCC integration. Please note that from a specific version these changed the name from 1000V to 8000V, but you can just update the IOS version as for any other platform and they will change the device type at bootup.
ā03-15-2023 06:02 AM
Have you enabled use of inbound SIP profiles globally?
! Global Application voice service voip sip sip-profiles inbound
My favorite document to link to have a section on this. In Depth Explanation of Cisco IOS and IOS-XE Call Routing
ā03-15-2023 06:09 AM
Yes, this is enabled globally
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