04-15-2021 01:00 AM
Dear All.
I have trouble with identifying by name for incoming connections comming from siptrunk. We have two PBX connected, Cisco CME - for desk phones (SIP Phones only) and Uniify OpenScape Business V2 for DECT calls. The problem is that Unify PBX only transmits the number (3 digits) via SIP-Trunk and this is displayed on the phone. I would like the name to be displayed. We have no chance to set it on Unify PBX. Below is a typical SIP header during an internal call from 551 to 524.
Can I configure Cisco CME to substitute the string - warehouse - instead of 551, even though it is an incoming call from another PBX ?
Apr 15 07:09:59.970: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg: Received: INVITE sip:524@10.33.99.221:5060 SIP/2.0 Via: SIP/2.0/UDP 10.10.12.10;branch=z9hG4bK2479242e13c932bc4;rport Max-Forwards: 70 From: 551 <sip:551@10.33.99.221>;tag=4e8d957fb0 To: <sip:524@10.33.99.221> Call-ID: 9800750db570e686 CSeq: 1822707770 INVITE Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, INFO, UPDATE Contact: <sip:551@10.10.12.10> P-Asserted-Identity: <sip:551@10.33.99.221> User-Agent: OpenScape Business M5T SIP Stack/4.2.12.14 X-Siemens-Call-Type: ST-insecure Content-Type: application/sdp Content-Length: 324
Full SIP log attached as a file
Solved! Go to Solution.
04-15-2021 02:11 AM - edited 04-15-2021 04:04 AM
Yes that is possible. For this you would need to use a SIP profile used in the inbound direction on the SIP trunk to the CME from Unify. Please note that it would need do this per directory number, so it's not a very scalable solution. See below for an example for the number given.
voice class sip-profiles 200 request ANY sip-header From modify "From: 551 (<sip:.*@.*>)" "From: Warehouse \1"
response ANY sip-header From modify "From: 551 (<sip:.*@.*>)" "From: Warehouse \1" ! voice service voip sip sip-profiles inbound ! dial-peer voice <tag> voip voice-class sip profiles 200 inbound
You can test this with the SIP profile tester at this link.
04-15-2021 02:11 AM - edited 04-15-2021 04:04 AM
Yes that is possible. For this you would need to use a SIP profile used in the inbound direction on the SIP trunk to the CME from Unify. Please note that it would need do this per directory number, so it's not a very scalable solution. See below for an example for the number given.
voice class sip-profiles 200 request ANY sip-header From modify "From: 551 (<sip:.*@.*>)" "From: Warehouse \1"
response ANY sip-header From modify "From: 551 (<sip:.*@.*>)" "From: Warehouse \1" ! voice service voip sip sip-profiles inbound ! dial-peer voice <tag> voip voice-class sip profiles 200 inbound
You can test this with the SIP profile tester at this link.
04-21-2021 10:19 PM
Thank you Roger - you answer was very useful, my problem is fixed !
04-21-2021 10:45 PM
Glad to hear that and thank you for your letting us know that it worked for you.
10-06-2022 01:50 AM
we have cme on 2951 that serves both IP and analog phones, with IP phones everything goes fine regarding caller name, but if we make a call from an analog to an IP phone only a number appears, can we add a name to the analog phone to have appeared as caller id.
10-06-2022 03:35 AM
ahmed.taha@zfod.eni.com Advice you to create your own post to ask your question as this one is marked as solved and your question is somewhat off topic to the OP.
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