Genesys Cloud - Main

 View Only

Sign Up

  • 1.  block ANIs for 120 days

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


    #ArchitectandDesign

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


  • 2.  RE: block ANIs for 120 days
    Best Answer

    Posted 6 days ago

    I would approach this like an inbound Call Block.  Use a data table to write the ANI and the date.  Then have your dialing program check that table before dialing.  You can then use a scheduled trigger to run a workflow once a night to remove any that have surpassed the 120 days.  Agents can add to the list using a button on the script page or within your dialer app. 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: block ANIs for 120 days

    Posted 6 days ago

    Hi Robert, 

    Thank you for your recommendation. Please clarify this? Agents can add to the list using a button on the script page or within your dialer app. - what does it mean?

    Thanks



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



  • 4.  RE: block ANIs for 120 days

    Posted 6 days ago

    In your agent script, you would have a button called Block Number.  Then you would have that button run a data action using a custom script action that would insert the number and date into the data table.  I can provide you a sample script and data action if need be.



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 5.  RE: block ANIs for 120 days

    Posted 6 days ago

    Awesome! Thanks! I will share to our scripter developer. 



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



  • 6.  RE: block ANIs for 120 days

    Posted 6 days ago
    Hi Rechelle,
     
    Genesys Cloud does not provide a native UI feature that allows agents to block a caller for a specific period (e.g., 120 days) directly from the platform. However, the following approach can be implemented using standard Genesys Cloud configuration:
     
    1. Create a Data Table to store blocked phone numbers and their expiry dates.
    2. Add entries to the Data Table for callers that need to be blocked, including:
     
       * ANI/Phone Number
       * Block Expiry Date (Current Date + 120 Days)
    3. In the Inbound Architect Flow, add a Data Table Lookup using the caller's ANI.
    4. If a matching record is found and the expiry date has not passed:
     
       * Play a message informing the caller that the call cannot be completed.
       * Disconnect the call.
    5. If no record is found (or the expiry date has passed):
     
       * Continue with normal call routing.
    6. Periodically remove expired records from the Data Table or update the logic to ignore entries past their expiry date.
     
    Please note that adding or removing blocked numbers would need to be managed through the Data Table (or via API automation) as there is no out-of-the-box UI option for agents to initiate a temporary caller block.
     
    Regards,
    Niraj



    ------------------------------
    Niraj Kumar
    ------------------------------



  • 7.  RE: block ANIs for 120 days

    Posted 6 days ago

    Thank you Niraj. 

    Is it possible to have the ANIs in the data table with the date it was added then another column value where I can put 120 then create a condition in the architect to see if it's in the data table and see how long it's been there and if it has been 120 days?



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



  • 8.  RE: block ANIs for 120 days

    Posted 6 days ago

    Hi Rechelle,

    Yes, that should be possible.

    If you're storing the ANI and the date it was added in the Data Table, you could use the AddDays() function in Architect to calculate when the block expires. For example, compare AddDays(DateAdded, 120) against the current date/time.

    If the calculated expiry date is still in the future, continue to block the caller. Otherwise, allow the call to proceed normally.

    This would allow you to keep the original date added in the Data Table and have Architect determine whether the 120-day block period has expired.

    Hope this helps.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------