Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  What is the best way to block a outbound number?

    Posted 10-11-2022 19:21
    No replies, thread closed.
    I need to block dialing 711+ any following digits. There is an option in Sites to create a new number plan and insert a Match Expression for example to block 900 dialing (1900|900)([09-9}{7}).

    However, I'm not sure how to create a expression to block 711+.  I found this regular-expression-match-and-replace-examples article but it's not explain how to create one from scratch.


    #Telephony

    ------------------------------
    Jean Lam
    Bridgecrest Acceptance Corporation
    ------------------------------


  • 2.  RE: What is the best way to block a outbound number?
    Best Answer

    Posted 10-11-2022 19:56
    No replies, thread closed.
    (711[0-9]*)​

    This will also block 711.  If you want to allow 711 but block anything that starts with it, use a plus instead of an asterisk.

    https://help.mypurecloud.com/articles/regular-expression-language-quick-reference/ has an explanation of regex.  Also there are lots of websites (just google regex tester) that let you try out regex expressions to figure out what you want.



    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: What is the best way to block a outbound number?

    Posted 10-12-2022 19:26
    No replies, thread closed.
    Thank you Melissa!  Are these the same regular expression I see in Architect?  What happens in the background when using the regex?  Is it enabling Java scripts in Genesys?

    ------------------------------
    Jean Lam
    Bridgecrest Acceptance Corporation
    ------------------------------



  • 4.  RE: What is the best way to block a outbound number?

    Posted 10-14-2022 10:39
    No replies, thread closed.
    Regex is something that many software languages support, it's not limited to javascript.  Architect bot flows also allow regex when defining slot types.

    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 5.  RE: What is the best way to block a outbound number?

    Posted 10-17-2022 19:28
    No replies, thread closed.
    Thank you again.  Looks like it's working!

    for the Normalized Number Expression field I put the same expression (711[0-9]*) is that ok?

    ------------------------------
    Jean Lam
    Bridgecrest Acceptance Corporation
    ------------------------------