[asterisk-dev] Agent withdrawal codes for PauseQueueMember
Lucas Barbuto
lucas at stabat.com
Sun Dec 3 21:43:03 MST 2006
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)
Where the text after r= is included in the queue_log as the data part
on the agent pause entry, for example:
1162968143|NONE|NONE|Agent/01|PAUSEALL|TEABREAK
I didn't do a careful job, but it worked as a proof-of-concept. I'd
appreciate it if anyone could suggest if I'm going about this in a
reasonable way and if it's a feature that might likely be accepted
for merging into the 1.12 branch. I could then try to tighten up the
code and submit a patch.
Thanks,
--
Lucas
More information about the asterisk-dev
mailing list