Non-Agent API add_to_hopper troubleshooting [Solved]

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Non-Agent API add_to_hopper troubleshooting [Solved]

Postby khuff » Tue Jun 12, 2018 9:19 am

Howdy folks. I was wondering if anyone could point me in the right direction on how to troubleshoot a lead being loading via the non-agent api with the add_to_hopper set to Y not getting added to the hopper. Ideally I'd like any leads loaded over the api to be loaded at the top of the hopper and dialed asap. But I can't seem to get it loaded into the hopper at all. Any thoughts on where I should start troubleshooting this. Here's the setting fields I use to load the lead:

Code: Select all
$vicidial_fields_array = array(
            'user' =>  $this->user,
            'pass' =>  $this->password,
            'source' => $this->source,
            'list_id'   =>   $this->list_id
            'function' =>  "add_lead",
            'dnc_check' => "Y",
            'campaign_dnc_check' => "Y",
            'campaign_id' => $this->campaign_id,
            'duplicate_check' => "DUPCAMP",
            'usacan_prefix_check' => "Y",
            'usacan_areacode_check' => "Y",
            'nanpa_ac_prefix_chec' => "N",
            'tz_method' => "POSTAL",
            'add_to_hopper' => "Y",
            'hopper_priority' => "99",
        );


The lead gets loaded into the list but not the hopper. Thoughts?
Last edited by khuff on Tue Jun 12, 2018 10:46 am, edited 1 time in total.
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: Non-Agent API add_to_hopper troubleshooting

Postby mflorell » Tue Jun 12, 2018 9:58 am

Take a look at the API Log Report, or the vicidial_api_log table.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Non-Agent API add_to_hopper troubleshooting

Postby khuff » Tue Jun 12, 2018 10:45 am

Ah that explains it. Looks like it was out of the call time for the campaign, however it wasn't for the state. However I wasn't using the check local call time setting. All good now, thanks for the direction Matt. You're the best!
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 88 guests