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

Unanswered Question
Feb 24th, 2010

Hi,

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 172.22.20.50:5060;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
sip
  registrar server expires max 3600 min 3600
   outbound-proxy ipv4:123.123.123.123:5060
  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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Maulik Shah Thu, 02/25/2010 - 10:51

Below is how you would do this:


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

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

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

Thanks,

Maulik Shah Thu, 03/04/2010 - 11:17

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

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

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:

http://www.cisco.com/en/US/partner/products/sw/voicesw/ps5640/products_configuration_example09186a0080982499.shtml

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

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?

Thanks

Actions

This Discussion

Related Content