Original Message:
Sent: 08-02-2024 06:24
From: John Francis
Subject: How to block a number to a agent's phone number directly
So, can I use the regular call block method as shown here
Block incoming calls from specific numbers - Genesys Cloud Resource Center (mypurecloud.com)
------------------------------
John Francis
Empeople Credit Union
Original Message:
Sent: 08-02-2024 00:51
From: Tatjana Knezevic
Subject: How to block a number to a agent's phone number directly
@John Francis
This blueprint is related to blocking calls based on the customer's phone number (ANI).
From your initial post, I understood that you were asking how to block the call when a customer dials a number that is direct Agent DID.
------------------------------
Tatjana Knezevic
www.startelecom.cloud
https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
Original Message:
Sent: 08-01-2024 08:41
From: John Francis
Subject: How to block a number to a agent's phone number directly
ani-blacklist/blueprint/index.md at vish-changes · GenesysCloudBlueprints/ani-blacklist · GitHub
------------------------------
John Francis
Empeople Credit Union
Original Message:
Sent: 08-01-2024 01:54
From: Tatjana Knezevic
Subject: How to block a number to a agent's phone number directly
Hi John,
I am not aware of a GitHub solution, if you find the link it please share it here.
Can you try the following:
- Create 2 Data Actions:
- 1.1 Disconnect the conversation using API /api/v2/conversations/${input.conversationID}/disconnect
- 1.2 Check if the phone number dialed (DNIS) is configured as the User's phone. You can import the Data Action from this article: search_user, Data Action Get User by Address.
- Create a new Workflow, as input, use the following TopLevelPrimitives: conversationId, direction, dnis, media
- In the workflow, add logic to check if the DNIS dialed is configured as the User's phone by calling Data Action 1.2 (HINT: TopLevePrimitive dnis has the value as prefix "tel:" followed by the phone number in E.164 format. (In North America, you can use RIGHT(Flow.dnis, 10))
- If the Response from Data Action 1.2 returns User uuid, disconnect the call by calling Data Action 1.1.
- Create a trigger on the event v2.detail.events.conversation.{id}.customer.start and assign this Workflow as a target (see the screenshot).
NOTE: If you want to disconnect the direct calls only for some users, you don't need Data Action 1.2. You can create a Data Table and use User's DID as a Reference Key. Then, in the Workflow, perform the lookup against this Data Table to disconnect the call.
Please let me know if this works for you.
------------------------------
Tatjana Knezevic
www.startelecom.cloud
https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
Original Message:
Sent: 07-31-2024 18:09
From: John Francis
Subject: How to block a number to a agent's phone number directly
I know someone answered and provided some GitHub solution. But is there a way that we could block an incoming call to an agent's phone number directly or is there a way that a new feature can be put in place.
#SystemAdministration
#Telephony
------------------------------
John Francis
Empeople Credit Union
------------------------------