- Newest
- Most votes
- Most comments
In Amazon Connect, manipulating the customer endpoint address (CLI) for calls that stay within the Connect instance is indeed challenging. Let me address your specific scenarios:
For agent-to-agent calling using quick connects, the CustomerEndpoint.Address field is automatically set to the outbound caller ID of the queue the calling agent belongs to. Currently, there isn't a direct way to modify this value for internal calls that stay within Connect.
For inbound call CLI masking for sensitive scenarios, you have a few options:
-
Contact Attributes: While you can't directly modify the CustomerEndpoint.Address, you can create custom contact attributes to store alternative identification information. You could then configure your agent's Contact Control Panel (CCP) to display these custom attributes instead of the actual phone number.
-
Set Contact Attributes Block: In your flow, use this block to create a custom attribute that contains the modified/masked version of the phone number or extension information you want to display.
-
Agent Whisper: You can use an agent whisper to provide information about the call before connecting to the agent, including any masked or modified identification information.
-
Lambda Integration: While your Lambda approach hasn't worked for directly modifying the CustomerEndpoint.Address, you could use Lambda to look up and set custom attributes that your agents' interface could be configured to display.
For your specific agent-to-agent scenario, you could store agent extension information in a database, retrieve it via Lambda when the call is initiated, and set it as a custom attribute that your CCP is configured to display.
The "Transfer to phone number" block works for external transfers because it's creating a new outbound call where you can specify the caller ID, but this approach doesn't apply to internal routing within Connect.
For a complete solution, you might need to consider a custom CCP implementation using Amazon Connect Streams API, which would allow you to control what information is displayed to agents regardless of the actual CustomerEndpoint.Address value.
Sources
Question related to amazon connect flow | AWS re:Post
Set up a customer caller ID in Amazon Connect | AWS re:Post
Use Amazon Connect multy party calls to record a call | AWS re:Post
First of all, there is no way to completely mask the CLI. Especially in the out of the box CCP/AgentWorkspace or the OOTB framed softphone.
Your best option is probably to write a completely custom CCP so you can hide the CLI. And now you can display whatever you set as a custom Contact Attribute in either scenario. Setup an attribute like "CUSTOM_DISPLAY_CLI", set this in your Contact Flow. You can simply copy the customer_endpoint to it, copy the word "PRIVATE" to it, or custom value you looked up like scenario 1. agent to agent can get tricky depends on volume, when making the call, in your Transfer to Phone block, since you successfully manipulated the CLI, just set that in this custom attribute and now you can always display that single attribute for all three of these scenarios.
Relevant content
- asked 9 months ago
