Page 1 of 1

Add phone number to DNC via IVR

PostPosted: Sun Apr 05, 2020 8:35 am
by rhonautics
Hi,

I need to set up an IVR with the following options:

1 - Talk to an agent
2 - Leave a message
3 - Remove from list (add to DNC)

Options 1 and 2 are already working, I want to know how to start with option 3.

Thanks.

Re: Add phone number to DNC via IVR

PostPosted: Sun Apr 05, 2020 8:56 am
by mflorell
# cm_dnc.agi
#
# Designed to work with Cell Menus to allow setting of a number as DNC or NI
# This script is meant as a replacement for the agi-VDADinbound_NI_DNC_CIDlookup.agi
# script. It is designed to work easily in the Call Menu framework, it plays no
# audio itself, and it has more options.
#
# Flag Options:
# 1- run as DNC status or NI status (Default=NI)
# 2- default to insert into the vicidial_dnc table for DNC selections (Default=YES)
# 3- campaign to take dnc settings from(overrides option 2)
# 4- call menu option to send the call to after executing (Default=B)
# 5- if option 3 is used, search for lead in campaign lists or whole system(CAMP or SYS) (Default=SYS)
#
# example of what to put in the AGI entry for a Call Menu AGI route:
# cm_dnc.agi,DNC---YES---TESTCAMP---B---CAMP
#

Re: Add phone number to DNC via IVR

PostPosted: Mon Apr 06, 2020 4:58 am
by rhonautics
Thanks Matt, will give it a try.

Re: Add phone number to DNC via IVR

PostPosted: Mon Apr 06, 2020 10:45 am
by rhonautics
This is the AGI Route that I've set but I can't find the phone number in the DNC Search Log.

cm_dnc.agi,DNC---YES---DIAB02---A---SYS


Did I miss something?

EDIT:

Works now.

cm_dnc.agi,DNC---YES------A---SYS

Re: Add phone number to DNC via IVR

PostPosted: Sun Aug 23, 2020 11:15 pm
by ruben23
hi if i may ask how do we play the Audio of the DNC.? when i set it to AGI.?

cm_dnc.agi,DNC---YES------A---SYS

what is the SYS.? the campaign name.?