Genesys Cloud - Main

 View Only

Discussion Thread View
Expand all | Collapse all

Restrict Premium Number Dialing

  • 1.  Restrict Premium Number Dialing

    Posted 10-07-2019 06:35
    Hi All,

    Do you know how to restrict users from being able to dial premium rate numbers?

    We have setup a number plan that matches the numbers and set this to restricted, when using simulate call this looks correct but users are still able to call the numbers?

    Thanks Luke
    #SIP/VolP
    #SystemAdministration
    #Telephony

    ------------------------------
    Luke Mitchell
    Conn3ct
    ------------------------------


  • 2.  RE: Restrict Premium Number Dialing

    GENESYS
    Posted 10-07-2019 10:24
    Make sure you don't have the Restricted classification assigned to any Outbound Route in the Site configuration.

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 3.  RE: Restrict Premium Number Dialing

    Posted 10-07-2019 10:52
    Edited by Luke Mitchell 10-07-2019 10:53
    Thanks George,

    That is how we have it, but unfortunately users can still dial the numbers:

    Number Plan
    Outbound routes
    Simulate Call

    The simulate call log shows:

    Simulating Call at Mon Oct 07 2019 15:50:19 GMT+0100 (British Summer Time), using the number "09061393837".
    This is the Edge Group that will be used in the simulation [x].
    These are the Sites that will be used in the simulation [x].
    These are the Edges that will be used in the simulation [x].
    These are the Trunk - Edge associations that will be used in the simulation:
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    - Trunk: "x"
    Using Country Code "44".
    Using Site Trunk Code "0".
    Using Site Exit Code "00".
    Normalizing address "09061393837".
    Normalization complete. New address is "tel:09061393837".
    Stripping address "tel:09061393837".
    Stripping address complete. New address is "09061393837".
    Searching for a Number Plan to match the URI "09061393837".
    Testing Number Plan name "Premium" which uses match type "regex".
    Match found. Number Plan name "Premium", Classification "Restricted", new URI "sip:^+449061393837".
    Stripping address "false".
    Stripping address complete. New address is "".
    The number "" is not an internal DID/Extension match.


    Thanks Luke

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 4.  RE: Restrict Premium Number Dialing

    GENESYS
    Posted 10-07-2019 11:11

    I don't know how your configuration is different. I have mine set up as a RegEx, and when my simulation ends it declares that no Outbound Route is found (unlike your example above).

    Here's my log:

    Simulating Call at Mon Oct 07 2019 11:05:22 GMT-0400 (Eastern Daylight Time), using the number "18005312265".
    This is the Edge Group that will be used in the simulation [MPTEdges].
    These are the Sites that will be used in the simulation [HQ].
    These are the Edges that will be used in the simulation [MPTEdge1, MPTEdge2].
    These are the Trunk - Edge associations that will be used in the simulation:
    - Trunk: "CorpTieLine" - Edge: "MPTEdge1"
    - Trunk: "TelcoUDPTrunk" - Edge: "MPTEdge1"
    - Trunk: "DGSIPTrunk" - Edge: "MPTEdge2"
    - Trunk: "Boreas" - Edge: "MPTEdge1"
    - Trunk: "Boreas" - Edge: "MPTEdge2"
    - Trunk: "DGSIPTrunk" - Edge: "MPTEdge1"
    - Trunk: "TelcoUDPTrunk" - Edge: "MPTEdge2"
    - Trunk: "ICSIPTrunk" - Edge: "MPTEdge1"
    - Trunk: "CorpTieLine" - Edge: "MPTEdge2"
    - Trunk: "ICSIPTrunk" - Edge: "MPTEdge2"
    Using Country Code "1".
    Using Site Trunk Code "1".
    Using Site Exit Code "011".
    Normalizing address "18005312265".
    Normalization complete. New address is "tel:18005312265".
    Stripping address "tel:18005312265".
    Stripping address complete. New address is "18005312265".
    Searching for a Number Plan to match the URI "18005312265".
    Testing Number Plan name "Restricted" which uses match type "regex".
    Match found. Number Plan name "Restricted", Classification "Restricted", new URI "18005312265".
    Stripping address "tel:18005312265".
    Stripping address complete. New address is "18005312265".
    The number "18005312265" is not an internal DID/Extension match.
    Searching for an Outbound Route to match the Classification "Restricted".
    No matching Outbound Route was found.


    Yours transforms the number dialed to a sip: format and adds a country code, which probably sends it on to the gateway since it now matches a different classification. Try leaving the number as dialed instead of transforming it with the Number Plan.



    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 5.  RE: Restrict Premium Number Dialing

    Posted 10-07-2019 11:48
    Thanks George,

    Would it be possible to see how your number plan is setup for Restricted?

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 6.  RE: Restrict Premium Number Dialing

    GENESYS
    Posted 10-07-2019 16:47


    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 7.  RE: Restrict Premium Number Dialing

    Posted 10-09-2019 04:17
    Thanks George,

    I have tried as above and also some other options but can still dial out to that number.  Even if I get my log to match yours, the users can still dial the numbers with no restrictions:

    Simulating Call at Wed Oct 09 2019 09:14:58 GMT+0100 (British Summer Time), using the number "09061393837".
    This is the Edge Group that will be used in the simulation [PC-EDGEGROUP-GDC].
    These are the Sites that will be used in the simulation [Customer Services, G3-LD8, G3-THW, IT Support].
    These are the Edges that will be used in the simulation [PC-SBC-GLD8-01, PC-SBC-GTHW-01].
    These are the Trunk - Edge associations that will be used in the simulation:
    - Trunk: "GC1003887 - Customer Services" - Edge: "PC-SBC-GLD8-01"
    - Trunk: "GC1003887 - IT Support" - Edge: "PC-SBC-GTHW-01"
    - Trunk: "GC1003886 - IT Support" - Edge: "PC-SBC-GLD8-01"
    - Trunk: "GC1003886 - IT Support" - Edge: "PC-SBC-GTHW-01"
    - Trunk: "GC1003886 - Customer Services" - Edge: "PC-SBC-GLD8-01"
    - Trunk: "GC1003887 - IT Support" - Edge: "PC-SBC-GLD8-01"
    - Trunk: "GC1003887 - Customer Services" - Edge: "PC-SBC-GTHW-01"
    - Trunk: "GC1003886 - Customer Services" - Edge: "PC-SBC-GTHW-01"
    Using Country Code "44".
    Using Site Trunk Code "0".
    Using Site Exit Code "00".
    Normalizing address "09061393837".
    Normalization complete. New address is "tel:09061393837".
    Stripping address "tel:09061393837".
    Stripping address complete. New address is "09061393837".
    Searching for a Number Plan to match the URI "09061393837".
    Testing Number Plan name "Premium" which uses match type "regex".
    Match found. Number Plan name "Premium", Classification "Restricted", new URI "09061393837".
    Stripping address "tel:09061393837".
    Stripping address complete. New address is "09061393837".
    The number "09061393837" is not an internal DID/Extension match.
    Searching for an Outbound Route to match the Classification "Restricted".
    No matching Outbound Route was found.

    I have this with support but they are unable to help yet

    Thanks

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 8.  RE: Restrict Premium Number Dialing

    GENESYS
    Posted 10-09-2019 07:23
    I am curious...is there a difference when you dial from a phone vs. Dialing from the client UI?

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 9.  RE: Restrict Premium Number Dialing

    Posted 10-09-2019 07:30
    This org only has WebRTC available, so do you mean trying from a physical phone not WebRTC?  I can only test from WebRTC so dial using the UI

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 10.  RE: Restrict Premium Number Dialing

    GENESYS
    Posted 10-09-2019 09:38
    Yes, I was meaning a physical phone.

    Care will probably have to look at the back-end Edge logs to see how the Edge is actually mapping the number dialed (as opposed to what shows in the simulation. Sometimes there is a difference.

    Try saving the Number Plan again to try and force an update of the cache on the Edge...just in case.

    Can you PM me the org name?

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 11.  RE: Restrict Premium Number Dialing

    Posted 10-09-2019 09:45
    Sure I will send it across now, I have tried re-saving a few times but still no luck

    Thanks

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 12.  RE: Restrict Premium Number Dialing

    Posted 10-17-2019 06:41
    Another alternative might be to ask your telecoms supplier if they can prevent premium rate numbers from being called as they should have more programmable options, depending on your provider?

    ------------------------------
    Gordon Thomson
    Actavo
    ------------------------------



  • 13.  RE: Restrict Premium Number Dialing

    Posted 10-17-2019 07:31
    Hi Gordon,

    Yes I have done it this way for now thank you, it is just a shame that the number plan option is not working.  I have had a case with support and they are unable to confirm why the calls still route without an outbound route available and have since gone quiet on me like usual

    Thanks Luke

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 14.  RE: Restrict Premium Number Dialing

    Posted 10-17-2019 07:49
    Not ideal - but at least it's a workaround that achieves the same goal!

    ------------------------------
    Gordon Thomson
    Actavo
    ------------------------------



  • 15.  RE: Restrict Premium Number Dialing

    Posted 10-17-2019 07:59
    Yes, although I really need to have the ability to bar certain outbound numbers depending on the user.  So am planning to have multiple sites so that users can be in a different site depending on their number plan abilities.  On another system this would be an easy process

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 16.  RE: Restrict Premium Number Dialing
    Best Answer

    Posted 10-29-2019 06:59
    Hi All,

    For any interested, with the help from support we got the configuration correct, the match expression had to be exact, so that PureCloud fully matched the dialed number, this then restricted dialing of any numbers with the wildcard.  I have tested this with various combinations and it works well.  So may be useful for others:



    Thanks Luke

    ------------------------------
    Luke Mitchell
    G3 Comms Ltd
    ------------------------------



  • 17.  RE: Restrict Premium Number Dialing

    Posted 10-29-2019 07:19
    Nice work - thanks for sharing Luke -

    ------------------------------
    Matthew Calton
    Grove & Dean Ltd
    ------------------------------



Need Help finding something?

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