Place call in hopper with agent API

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Place call in hopper with agent API

Postby lcx » Wed Jun 11, 2014 4:10 am

Hi,

I was playing around with the API and with the non-agent-api I can place a call in the hopper which will be dialed instantly like a "click to dial".
But I would want something so I can assign the call to a specific agent. This works with the agent-api, unfortunately I can't place the call in the hopper with the agent-api.
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am

Re: Place call in hopper with agent API

Postby mflorell » Wed Jun 11, 2014 6:37 am

Change the Campaign setting for "Manual Dial API" to one of the "QUEUE" options and then you can queue up leads to call in an agent-specific manual dial queue.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Place call in hopper with agent API

Postby lcx » Wed Jun 11, 2014 10:50 am

can't really se the difference.
I set the Manual Dial API to "Queue" then I send an API Request to function=external_add_lead but the call is only dialed as soon as the cron job runs.
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am

Re: Place call in hopper with agent API

Postby mflorell » Wed Jun 11, 2014 9:50 pm

The Manual API queue works with the Agent API, not the non-agent api
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Place call in hopper with agent API

Postby lcx » Wed Jun 11, 2014 11:52 pm

not sure if I understand.
function=external_add_lead is a call to the Agent api. With the non-agent-api everything would be fine as I can tell it to add it to the hopper but I can't specify to which agent the call should go.
Vicidial 2.8-440a Build 140521-2101 from scratch | Asterisk 1.8.23.0-vici| Single Server (XEN Virtual Server)| No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
lcx
 
Posts: 9
Joined: Sat Jun 07, 2014 5:13 am

Re: Place call in hopper with agent API

Postby mflorell » Thu Jun 12, 2014 5:50 am

You need to use the external_dial function in the agent API for this. If you need to more lead data than possible with that function, then you must add the lead through the non-agent-api first and use external_dial with the lead_id you receive from that first insertion.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 36 guests