[asterisk-users] Queue callers with Callback option without lose their place

Satish Barot satish4asterisk at gmail.com
Fri Jun 1 05:45:19 CDT 2012


I believe you want your caller to request for a callback while he/she waits
in a queue and when your agents are free, you want to call him back and
place in a same position in a Queue where he/she has left the Queue.

There exists an ugly(!) way of doing this.

(1)Set parameter 'context' in queues.conf to some real context available in
your dialplan
(2)Set 'setqueueentryvar' and 'setqueuevar' to yes in queues.conf
(3)Set paramet 'periodic-announce' to a custom audio file name announcing
to caller somethink like ..'To get a callback press any key any'.(This
sends the caller into context set by 'context' parameter when s/he presses
any key while waiting in a queue)
(4)A variable 'QUEUEPOSITION' would give you a last position of caller in a
queue. (You can get this variable in a context set by 'context' parameter.
Store the value somewhere in Database)
(5)When you think your Agents are free, Generate a callfile OR use AMI to
call the caller who has requested a callback.
(6)Once call is answered, send him to Queue application with 'position'
parameter set to the value of 'QUEUEPOSITION' of caller from database.

--Satish Barot

On Thu, May 31, 2012 at 9:18 PM, equis software <equissoftware at gmail.com>wrote:

> Is there any option in Asterisk distribution of this?
>
> Thanks.
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120601/53155bf0/attachment.htm>


More information about the asterisk-users mailing list