[asterisk-users] "Call me now" outbound calls in a queue

Mitch Claborn mitch_ml at claborn.net
Fri Sep 28 15:10:21 CDT 2012


That approach only works if there are any agents that are not busy on a 
call - I could pick one, take them out of the queue then connect the 
call.  If all agents are busy, I need to be able to insert the request 
into the queue so that it gets processed in sequence with the inbound calls.




Mitch

On 09/28/2012 01:42 PM, James Sharp wrote:
> 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,
> or ringing).
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list