Welcome to Cisco Support Community. We would love to have your feedback.
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?
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.
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?
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?
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.
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.