cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1568
Views
10
Helpful
1
Replies

Sip profile to change outbound Calling Name from ASCII Caller ID to Company Name

joeharb
Level 5
Level 5

Out bound calls through a SIP trunk are displaying the ASCII Caller ID.  I am attempting to change that to all call display the same value, I have found multiple posts and attempted the following:

 

voice class sip-profiles 1
request INVITE sip-header From modify "^\"\([A-Za-z0-9 ]+\)\"[ \t]+\(<.*\)$" "\"Company Name\" \2"

 

This is applied to the inbound dial-peer from Call Manager.

 

The current From message on the invite is as follows:

 

From: "Test CallerID" <sip:XXXXXXXXX@YY.YY.YY.YY>;tag=402238~2ec47342-56ea-4c6e-9d2b-c5e8eaf44c32-113749149

 

I not confident that this is what needs to change and I am not able to see that the sip profile is even making any changes...the invite sent to the provider has exactly the same information.

 

Please advise,

 

Joe

 

1 Reply 1

elavoie
Level 1
Level 1

Inbound modifications requires that you enable, "sip profile inbound" under voice service voip/sip

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/voi-sip-param-mod.html#task_732EE9481AB14D56884F9F06A14DB4A5

 

However, you could just apply it on the outbound dial-peer to your SIP provider with a simple rule like this one.

 

request ANY sip-header From modify "\".*(<sip:.*)" "\"ACME inc.\" \1"

 

You can test your SIP Profile with this online tool too.

 

https://cway.cisco.com/tools/SipProfileTest/