DNC Agi Script.

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

DNC Agi Script.

Postby Nefariousparity » Tue Aug 27, 2013 2:53 pm

cm_dnc.agi,DNC---YES------C------B---

So for option "3" in call menu this is so customer can opt-out. However, it keeps playing the menu's message over and over again upon pressing three.

I included, under option three, option "B" hangup. Am I doing this right?

http://imgur.com/SakjqN7
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm

Re: DNC Agi Script.

Postby Vince-0 » Wed Aug 28, 2013 9:12 am

It looks like you're missing the last option.

Here are the script details in the beginning of the AGI script:
# 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

I used this as an example without a problem:
cm_dnc.agi,DNC---YES---CAMPAIGNID---C---CAMP

Be careful with the -- delimiter.

--
Vin.
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: DNC Agi Script.

Postby Nefariousparity » Wed Aug 28, 2013 10:31 am

Thanks vince. I think I got it. :D
|| DB Schema Version: 1609 || Asterisk 11.25.1-vici || BUILD: 190902-0839 ||VERSION: 2.14-718a||SVN: 3133||10xTelephony||1x Database||1x Slave||1x Web||1x Archive||ViciBox v.8.0.1
Nefariousparity
 
Posts: 327
Joined: Wed Sep 12, 2012 7:01 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 76 guests