[asterisk-dev] Agent withdrawal codes for PauseQueueMember
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Sun Dec 3 23:42:14 MST 2006
On Sunday 03 December 2006 22:43, Lucas Barbuto wrote:
> Hi all,
>
> I'm interested in adding "withdrawal codes" or "not ready reasons" to
> the Asterisk™ ACD system. That is, when an agent elects to go on
> pause, they can/must first select a reason for that pause.
>
> I was able to make a few small changes to app_queue.c and logger.c in
> 1.12.13 which enabled the following in my dial-plan:
>
> PauseQueueMember(,Agent/01,r=TEABREAK)
I would suggest a different syntax, which would enable you to use the new
parsing API in 1.4 and trunk:
PauseQueueMember(,Agent/01,r(TEABREAK))
Please see app_skel.c for an example of this.
--
Tilghman
More information about the asterisk-dev
mailing list