I can suggest you use the Developer tools to manually add numbers outside of a script
You will need to gather the contact list ID for the DNC list and then use Add Phone Numbers to Dialer DNC List.
To ensure the number has been added, I enter it twice 1. with the international prefix without the + symbol and the 2. without the international prefix
------------------------------
Darryn Chang
Stuff Limited
New Zealand
2 Years Purecloud
------------------------------
Original Message:
Sent: 03-25-2019 14:01
From: Henry Zambrano
Subject: Is it possible to add a phone number to the DNC list using a Script?
Hi, I see it's possible to update the dialer (outbound dialing) contact list using the Update Contact Data control however I wonder if it's possible to also add a new phone number to the DNC list from the script.
Thanks,
Henry
#Outbound
------------------------------
Henry Zambrano
Powernet Global Telecommunications
------------------------------