[asterisk-users] "Call me now" outbound calls in a queue
james at fivecats.org
Fri Sep 28 13:42:24 CDT 2012
On 9/28/2012 12:42 PM, Mitch Claborn wrote:
> I want to put a "call me now" button on the web site that will place the
> request into an asterisk call queue and then when an agent picks up the
> call in the queue, place the outbound call to the customer.
> The following AMI command works, but it calls the customer first, before
> an agent is necessarily available.
> Action: Originate
> Channel: SIP/voipms/customer_number_here
> Context: external
> Async: true
> Application: Queue
> Data: sales
> Callerid: Company <8005551212>
> How can I get an available agent before the customer call is placed?
Use AMI to do a queue status. In the status reply, you'll get a list of
all the agents and their status (Not in use, in use, busy, unavailable,
More information about the asterisk-users