Page 1 of 1

IVR with DNC DROP OPTIONS

PostPosted: Sun Aug 23, 2020 11:36 pm
by ruben23
Version: 2.14b0.5
SVN Version: 3253
DB Schema Version: 1596
DB Schema Update Date: 2020-06-04 22:30:06
Password Encryption: DISABLED - S1 - C1
Auto User-add Value: 101
Recording Prompt Count: 0
Install Date: 2020-04-15
Asterisk 13-vici



HI any idea how to setup Call Menu option with DROP option for call to play a DNC audio then drop it to the DNC of the vicidial Server, any idea please

Re: IVR with DNC DROP OPTIONS

PostPosted: Wed Aug 26, 2020 7:05 pm
by jjohnson78
Are you saying you want calls that reach a callmenu and time out, to play a message and then mark the call as DNC?

If so, I haven't done this in a while but here goes. Look to the "Call Menu Options" for that call menu. You will need to set a call option for "TIMEOUT". Make the "Route" value of that call "AGI". There is an AGI script that is designed to mark leads as DNC, it's called "cm_dnc.agi" and can take several options, and you need to put it in the "AGI" field.

See the below image for details.

Note that in the "AGI" field for the "TIMEOUT" option, there is a call to cm_dnc.agi followed by a comma and a string, which is a dash-delimited list of values the cm_dnc.agi script parses. The example gives a very basic string which should mark the call as "DNC" and put it in the system DNC list.

Now, to play a message, after this AGI script executes you should route the call to another option which will play the audio file and hang up the call. You can do this through the cm_dnc.agi options as well. Note the "A", which tells the call menu to route the call to option "A". You can see that below the "TIMEOUT" option is the "A" option, which does the second part of your request and hangs up the call after playing the audio file in the "Audio File" box.

Image