Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  How to block a number to a agent's phone number directly

    NEW MEMBER
    Posted 07-31-2024 18:09

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


  • 2.  RE: How to block a number to a agent's phone number directly

    Posted 08-01-2024 01:55

    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:

    1. 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.
    2. Create a new Workflow, as input, use the following TopLevelPrimitives: conversationId, direction, dnis, media
    3. 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))
    4. If the Response from Data Action 1.2 returns User uuid, disconnect the call by calling Data Action 1.1. 
    5. 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-/
    ------------------------------



  • 3.  RE: How to block a number to a agent's phone number directly

    NEW MEMBER
    Posted 08-01-2024 08:42

    ani-blacklist/blueprint/index.md at vish-changes · GenesysCloudBlueprints/ani-blacklist · GitHub



    ------------------------------
    John Francis
    Empeople Credit Union
    ------------------------------



  • 4.  RE: How to block a number to a agent's phone number directly

    Posted 08-02-2024 00:51

    @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-/
    ------------------------------



  • 5.  RE: How to block a number to a agent's phone number directly

    NEW MEMBER
    Posted 08-02-2024 06:25

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



  • 6.  RE: How to block a number to a agent's phone number directly

    Posted 08-03-2024 00:17

    Hi John,

    Yes, you can use this to block calls coming from specific phone numbers (ANIs). 



    ------------------------------
    Tatjana Knezevic

    www.startelecom.cloud

    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------



  • 7.  RE: How to block a number to a agent's phone number directly
    Best Answer

    GENESYS
    Posted 08-05-2024 09:04

    An official blueprint has been published for Blacklisting Phone Numbers.

    Here is the link: https://developer.genesys.cloud/blueprints/ani-blacklist/



    ------------------------------
    Vishwa Mudigonda
    Genesys - Employees
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources