Page 1 of 1
Place call in hopper with agent API
Posted:
Wed Jun 11, 2014 4:10 am
by lcx
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.
Re: Place call in hopper with agent API
Posted:
Wed Jun 11, 2014 6:37 am
by mflorell
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.
Re: Place call in hopper with agent API
Posted:
Wed Jun 11, 2014 10:50 am
by lcx
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.
Re: Place call in hopper with agent API
Posted:
Wed Jun 11, 2014 9:50 pm
by mflorell
The Manual API queue works with the Agent API, not the non-agent api
Re: Place call in hopper with agent API
Posted:
Wed Jun 11, 2014 11:52 pm
by lcx
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.
Re: Place call in hopper with agent API
Posted:
Thu Jun 12, 2014 5:50 am
by mflorell
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.