Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

CUCM Caller ID for Offnet Calls

I have CUCM setup with a SIP trunk to a Voice Gateway. When I make outbound calls to the PSTN the caller ID is showing the internal caller ID (i.e the extension). I would like it to use the external phone number mask for the DN.


I have checked the settings on both the router pattern and the SIP trunk. The route pattern is set to "Use Calling Party's External Phone Number Mask", the Calling line ID and Calling Line Name is set to allowed.

Any ideas as to where else this setting could be applied?

  • Unified Communications Applications
Cisco Employee

Hi Derrick,Is the External

Hi Derrick,

Is the External Phone Number Mask populated on the Directory Number of the IP phone? If yes, can you provide the debug from the voice gateway to check if the caller id is being sent correctly to the gateway. If cucm is sending internal caller id then we can get a set of detailed callmanager traces to see what's going wrong on cucm. Also, check for any transformations at the Route list level.




Yes, there is an external

Yes, there is an external phone number mask on the DN. I ran some debugs on the SIP Gateway during a outbound call and I can see that CUCM is sending "Derrick - 305" as the from address.


See the attached logs.

Any ideas?

Any ideas?

Cisco Employee

Can you provide the output of

Can you provide the output of 'debug voice ccapi inout' for a test call. You mean to say that when you call a cellphone from your IP phone, you see "Derrick - 305" as the caller id on the cellphone?


Yes, that is exactly right.

Yes, that is exactly right. When I use my IP Phone (Derrick - 305) to call a external number such as a cell phone, I the caller ID will show Derrick - 305 on the cell phone oppose to the external number mask.

See attached debug. 



Cisco Employee

I see the following in the

I see the following in the debugs

039778: Apr 13 13:22:06.677: //-1/834AE0800000/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x48A2C6AC, Call Info(
   Calling Number=2894725527,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=76475043072(TON=Unknown, NPI=Unknown),

So, 2894725527 is being sent to the gateway from cucm. Is it the external mask configured on the phone?








Hi Manish, Thanks for looking

Hi Manish,


Thanks for looking into the logs. So if CUCM is passing the external mask to the SIP Voice Gateway, then there must be a setting on the gateway configuration that could be causing the problem.


I have the external mask set on the DN.

Is there any way to tell the

Is there any way to tell the gateway to use the external mask as the Caller ID oppose to the name?

Cisco Employee

Please share the running

Please share the running config of the gateway to check if any translations are applied on the gateway, also have you tried checking with the service provider if they are receiving the caller id correctly from the gateway.