Mitch Claborn
2012-Sep-28 16:42 UTC
[asterisk-users] "Call me now" outbound calls in a queue
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?
James Sharp
2012-Sep-28 18:42 UTC
[asterisk-users] "Call me now" outbound calls in a queue
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).
Ioan Indreias
2012-Oct-04 19:30 UTC
[asterisk-users] "Call me now" outbound calls in a queue
On Fri, Sep 28, 2012 at 7:42 PM, Mitch Claborn <mitch_ml at claborn.net> 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? > > Hello Mitch,Hoping that the Queue application is not automatically Answering the line (till an agent will do this) my suggestion is to switch between "who have to answer" in order to progress to the second call leg. This means that the Queue will be called through a Local Channel and the call to your customer will be made through a Dial application. Below is something to start with - in case it will work you could modify to your needs. [demo] exten => s,1,NoOp(Queue without answer) exten => s,2,Queue(sales) Action: Originate Channel: Local/s at demo/n Application: Dial Data: SIP/voipms/customer_number HTH, Ioan Indreias Modulo Consulting // www.modulo.ro -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121004/6221e327/attachment.htm>