Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  block ANIs for 120 days

    Posted 2 days ago

    Hi All, 

    Our customer wants to block callers for 120 days initiated by our agent using our custom Visual Basic Scripter. Blocked callers will only be able to get through  after 120 days. 

    Can this be done?


    Thanks


    #Architect

    ------------------------------
    Rechelle McConnell
    CHRISTIAN BROADCASTING NETWORK
    Outbound Dialer Systems Administrator
    ------------------------------


  • 2.  RE: block ANIs for 120 days

    Posted 2 days ago

    Hi,

    Yes, this can be achieved with a custom implementation.

    One approach is to use External Contacts in Genesys Cloud and add a custom field such as LastBlockedDate. When an agent initiates the block action from your custom Visual Basic Script, update this field with the current date.

    Then, in the inbound call flow, perform a data lookup to retrieve the contact's LastBlockedDate. Compare the stored date with the current date:

    - If 120 days have passed since the stored date, allow the call to continue normally.
    - If fewer than 120 days have passed, route the call to a message or disconnect the call, depending on your business requirements.

    This would allow you to implement a temporary caller-block period that automatically expires after 120 days, without requiring manual intervention.



    ------------------------------
    Muhammed Shibil
    Senior Software Engineer
    Feebak : The Voice of Customer
    ------------------------------