11-12-2010 08:20 AM - edited 03-16-2019 01:54 AM
Hi,
Is it possible to modify or delete the calling/display name in a SIP Header with cube (with a SIP Profile?) ?
If yes, would you have a configuration example ?
In this kink of invite, I would like to suppress or modify "Jack Shepherd"
INVITE sip:+12065015111@sip2.att.com:5060 SIP/2.0
Via: SIP/2.0/UDP 177.1.254.1:5060;branch=z9hG4bK2BAFFD
Remote-Party-ID: "Jack Shepherd" <sip:2065011001@corphqr1.ine.com>;party=calling;screen=yes;privacy=off
From: "Jack Shepherd" <sip:2065011001@corphqr1.ine.com>;tag=8074E2B0-20E7
Thanx for your help,
Bastien.
11-12-2010 09:09 AM
yes it can be done on CUBE as well as SIP GW but
SIP profile works only in outbound direction;
Is this being rec. or sent out ?
11-12-2010 10:04 AM
Great.
My cube is interconnecting 2 SIP Trunk (one to my CUCM and one to my provider).
I want to modify or delete the calling/display name provided by my provider.
So I guess, I would implement the SIP Profile on the outgoing dial peer to my CUCM, wouldn't I ?
Would you have a configuration example please ?
Thanx !
11-12-2010 10:59 AM
Pl. try this
voice class sip-profiles 1
request INVITE sip-header Remote-Party-ID remove
request INVITE sip-header From modify "From: (.*<)(.*>)" "From: <\2"
I am sure there are multiple ways of doing it...this shd work though....
If u want to remove that name from All msgs/responses...simply use ANY keyword
(instead of INVITE)
Doc:
11-15-2010 12:41 AM
Thanx a lot. It works great.
But I have a strange effect on transfering calls ....
When the call arrive to the CUCM, I add a prefix on the calling number.
This prefix is well shown to the destination IP Phone.
But when the IP Phone transfers the call, the prefix disapears on the destination phone. And so, the call history is not good on this phone.
When I disable the SIP Profile on my dial-peers, this problem disapear.
Any idea on what it could be ?
Thanx,
Bastien.
11-15-2010 06:40 AM
It's probably the Black Smoke Monster realizing that Jack Shepard is calling, so it is removing your call history. Punch in code '4 8 15 16 23 42' on the phone and it should work.
Seriously, just get 'debug ccsip mess' and 'debug voip ccapi inout'. If the SIP profile is causing the issue, you should see it in the SIP messages to CM.
04-02-2015 07:11 AM
Hi, thank you very much for posting this.
This solved my case
kind regards,
Jos de Bruin
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: