cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1845
Views
0
Helpful
6
Replies

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

enernet83
Level 1
Level 1

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:5141234567@123.123.123.123:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.20.50:5060;branch=z9hG4bK7F0196F
From: "Telephone User1" <sip:5147654321@172.22.20.50>;tag=10C1D498-2309
To: <sip:51412345467@123.123.123.123>

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.

6 Replies 6

Maulik Shah
Level 5
Level 5

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

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,

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.

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.

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
Level 4
Level 4

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