Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Adding numbers to a DNC list via a script or alternatives available

  Thread closed by the administrator, not accepting new replies.
  • 1.  Adding numbers to a DNC list via a script or alternatives available

    Posted 05-09-2023 11:23
      |   view attached
    No replies, thread closed.

    i have followed the resource article Available script actions - Genesys Cloud Resource Center (mypurecloud.com) and added a button and then Clicked Scripter.Add to Do Not Call List and added a DNC List and then entered a mobile number to add to the DNC list and then clicked update. I have made sure that the DNC list has been attached to the Outbound campaign i am dialling and the call has landed on the number i am trying to add to the DNC list. I have clicked the button to initiate the action but it doesn't appear to be adding the number to the DNC list ?. I may need to add multiple numbers to the DNC list and wondered if there was any way this could be done ?.


    #ArchitectureandDesign

    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    DNC List issue.docx   177 KB 1 version


  • 2.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-09-2023 13:22
    No replies, thread closed.

    Hi

    Forgive me for basic question, the attached image is blurry but it did not look like you added the telephone number variable in the dialog box?

    Also believe they need to have permission Outbound > DNC > Add

    Regards
    Simon



    ------------------------------
    Simon Brown
    Maintel Europe Limited
    ------------------------------



  • 3.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-10-2023 03:38
      |   view attached
    No replies, thread closed.

    Simon,

    i did not add the mobile to the number on purpose as it is my personal mobile and i didn't want a mass audience to see it. I am testing with a profile which has Admin rights so there shouldn't be any issue with the roles and permissions to enable the user to add the contact to the DNC list. I have made sure the agent i am testing with is in the right division and when i am trying to add the contact to the DNC list i am getting the attached errors. These errors are "failed to add number to the Do Not Call List" and "An unknown error has occured while executing a script action".



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    DNCList(2).docx   343 KB 1 version


  • 4.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-10-2023 07:47
    No replies, thread closed.

    Master Admin will have the permission, Admin wont by default.
    Using the Outbound Agent Role will include the DNC add permission and the Role the agent should have for this.
    As for the setup, looks like its set right, as long as you add the variable that contains your number to DNC in E.164 format.




    ------------------------------
    Simon Brown
    Maintel Europe Limited
    ------------------------------



  • 5.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-10-2023 12:12
    No replies, thread closed.

    It's a common (and reasonable) misunderstanding that "Admin" rights means "Everything". This isn't the case. There are separate "Admin" users for Telephony, Outbound, etc. I'm not even certain "Master Admin" gives you everything.
    HTH



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 6.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-12-2023 02:53
      |   view attached
    No replies, thread closed.

    Paul,

    i have got it working to a degree but keep getting the following errors. Is it possible to add ANY number to the DNC list as it appears from the resource centre that you have to stipulate a number to remove in the script action but it would be ideal if you could add ANY number to the DNC list.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    DNCList(2).docx   343 KB 1 version


  • 7.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-12-2023 18:21
    Edited by Paul Simpson 05-12-2023 18:22
    No replies, thread closed.

    Richard,
    I'm not sure I understand your issue. You can add any number, but you have to specify what it is! Could you open the script in the script editor and take a screenshot of the action specification?
    In the screenshot you posted, there was no variable specified for the number...



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 8.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-13-2023 05:28
      |   view attached
    No replies, thread closed.

    Paul,

    As you can see from the attachment the first image is the script action with the mobile number included and it is attributed to a DNC list which i have built which has 2 mobile numbers on it which is the second image of the Excel spreadhseet.

    I have then uploaded this DNC list into the DNC List section in List Management and then added this list to the OB calling list i am dialling which has the 2 mobile numbers and my Teams number included in that list.

    The next image is of the roles and permissions if the test user i am using to complete the test and i have made sure that they have the DNC>Add permission on the Outbound Agent role ONLY.

    The next image is an image of the message i get when the call is taken and the number is successfully added to the DNC list. As you can see from the last image it has added the Teams number to the DNC list and not just the number i have stipulated in the Action.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    DNCIssue3.docx   452 KB 1 version


  • 9.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-14-2023 17:06
    No replies, thread closed.

    Hi Richard,

    I suggest you start from scratch...

    Ensure the roles the agent has assigned has the right DNC permissions within, and when assigning the role to the agent make sure it is for the correct Divisions too.
    Create a new DNC list, ensure you have a phone number columns and expiration date column, and that it is set for a Division the Agent's DNC permissions has access to.

    Make sure to select the DNC Phone Column and DNC Expiration Column (even if you don't plan to use expiration date, lets start with including it just to make sure it all works first), and note the expiration date format, ideally copy one from the CSV upload. 

    Leave some entries in there, ie don't have a empty DNC list, for testing, you can always clear later, just handy to ensure you have examples you can copy from. 

    Make sure you have this right, and then go through the rest of your steps, ensuring to add an expiry date to the action too.

    If it all still doesn't work for you, you can always call a DataAction to add to DNC list instead.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 10.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-15-2023 06:07
      |   view attached
    No replies, thread closed.

    Anton - please see the attached document with the changes i have made. I have ensured that the test agent that i am using has the DNC>Add permission added and when i now start the campaign to dial it is just dials through the campaign without actually dialling any numbers. I assume that as the 2 numbers I have added to the DNC list are included in the calling list itself that this is correct.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    Doc7.docx   214 KB 1 version


  • 11.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-15-2023 07:56
    No replies, thread closed.

    Richard,
    Firstly, may I apologize if I am being particularly stupid here? I'm not seeing what you describe. Where on the last image does it show the Teams number was added to DNC? I don't see any number in that image?
    Also, I'm confused as to why you are hard-coding a number in the Script action definition? This would typically be a variable which is either the number called (to allow you to simply add this number to DNC, or a variable linked to a text box to allow the agent to enter the number to add. (There are other places the number may come from, but those are two of the more likely ones...)
    The way your script is written (which I accept may just be for testing purposes) then once the button was clicked, it would essentially cease to have a purpose. I'm not certain, but my reading of the final screenshot is that the first time you clicked the button, it added the number. You then clicked it twice more and it said it couldn't, which may be down to the fact that the number is already there?
    I'd be happy to hop on a call with you, if it would be easier to look at live. Just remember that despite being English, I live in the US, so I'm 5 hours behind you! 😂



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 12.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-15-2023 08:57
    No replies, thread closed.

    Paul that would be much appreciated. I am free from 4pm BST tomorrow if that fits in with your schedule and if not let me know when you are free.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------



  • 13.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-16-2023 00:59
    No replies, thread closed.

    Hopefully Paul sorts that out for you on a call.

    Just one other thing. If you aren't using expiration date, you could use the outbound.add to do not call list action instead of the scripter version.
    Which doesn't take any inputs. Just adds the current number to the DNC list. 


    Outbound

    Scripter

    As mentioned there is also the option of using a DataAction to add it to a specific DNC list.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 14.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-16-2023 01:06
    No replies, thread closed.

    Anton/Paul - how do we go about setting the call up ?



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------



  • 15.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-16-2023 14:10
    No replies, thread closed.

    Much thanks to Paul Simpson who has helped me out resolving my issue and getting me sorted in adding people to a DNC. Brilliant stuff and much appreciated.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------



  • 16.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-16-2023 17:12
    No replies, thread closed.

    You are welcome, happy to help - let us know if it works 😉



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 17.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-17-2023 06:38
      |   view attached
    No replies, thread closed.

    Paul it still doesnt look like that has worked. 

    I have done a straight test with 3 numbers in the OB queue and all have connected - which they should.

    i have then applied a DNC list with 2 of the mobile numbers which are in the calling list and created a new outbound script with the Outbound Add To Do Not Call List Action.

    When i run the campaign it doesn't dial the numbers already on the DNC list however it appears to be automatically adding the other number to the DNC list as soon as the call pops and before i have even considered clicking the submit button to add it to the DNC List. 

    Why would it add it automatically prior to me clicking the submit button ?.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------

    Attachment(s)

    docx
    Doc2.docx   500 KB 1 version


  • 18.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-17-2023 17:03
    No replies, thread closed.

    Richard,
    I'm sorry to hear that - I'm stumped!
    I suggest opening a ticket with Genesys Support - they might see something in the logs to explain what's going on.



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 19.  RE: Adding numbers to a DNC list via a script or alternatives available

    Posted 05-19-2023 04:43
    No replies, thread closed.

    Still going with this one. It appears to be adding the record to the DNC list even if i don't click the button to add it. I only have the 1 data action included in the script as below


    i have given the agent an outbound agent profile and they have the following permission to enable them to add the contact to the DNC list

    I have appended a BLANK calling list to the campaign i am dialling and it adds the number to the DNC list automatically. Any suggestions ?.



    ------------------------------
    richard craig
    British Telecommunications PLC
    ------------------------------