How can I change the From name in an Invite Outbound Call

Unanswered Question
Feb 24th, 2010
User Badges:


Here's my little problem, when I make an outbound call the station name appears on the caller-id of the remote phone.

See INVITE below.

INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK7F0196F
From: "Telephone User1" <sip:[email protected]>;tag=10C1D498-2309
To: <sip:[email protected]>

Telephone User1 should be translated to Company Name

I tried the following commands (see parts of show run)

voice service voip
dtmf-interworking rtp-nte
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
  registrar server expires max 3600 min 3600
   outbound-proxy ipv4:
  no update-callerid
  sip-profiles 1010
voice class codec 1
codec preference 1 g711ulaw
voice class sip-profiles 1010
request INVITE sip-header From modify "COMPANY NAME" "1"

I'm kinda lost with all this. What should I do exactly?

Thank you.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Maulik Shah Thu, 02/25/2010 - 10:51
User Badges:
  • Silver, 250 points or more

Below is how you would do this:

UC520#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
UC520(config-sip-ua)#calling-info pstn-to-sip from name set

enernet83 Thu, 03/04/2010 - 10:55
User Badges:

Thanks Maulik, It works great.

Perhaps, What if I want 2 different names for 2 DID,

Ex Calls with DID 514-222-3333 Name = Name1

                    DID 514-555-8888 Name = Name2


Maulik Shah Thu, 03/04/2010 - 11:17
User Badges:
  • Silver, 250 points or more

The solution provided was for always sending a company name for all calls, cannot be per DID.

If you want per DID - it should be mapped to an extension and that extension name should be set to what you wish. Not sure if that is what you want to do here.

enernet83 Thu, 03/04/2010 - 13:07
User Badges:

Thanks for your response,

It's not exactly what I want to do. Let's say there are 2 companies in the same room using the UC, I want per example ext 201, 202, and 203 to display CompanyA and 204,205,206 to dispaly CompanyB with their proper main DID. Is this where I need to use those sip profiles?

Thanks in advance.

Maulik Shah Fri, 04/30/2010 - 09:46
User Badges:
  • Silver, 250 points or more

Apologies for the really late response on this - in this case you have 2 options:

1. Set the name under the ephone dn for each extension to be Company X:

ephone-dn  10  dual-line
number 201 no-reg primary
name JohnDoe CompanyA

and so on

2. Use SIP profiles which maybe more complicated as you need to match on the actual names configured on the ephone-dn for each user and replace that name with Company X. Examples of how to setup SIP profiles are at:

You will need to play around with this a bit to get exactly what you are looking for.

Shaun Bender Wed, 07/28/2010 - 15:44
User Badges:

What solution did you use to resolve your issue, we are doing the "calling-info"---but of course that marks all outbound invites.  If you did SIP profiles, how do you have yours configured?