[asterisk-users] AgentCallBackLogin vs AddQueueMember

Kevin P. Fleming kpfleming at digium.com
Wed Feb 28 18:29:48 MST 2007


Alan Ferrency wrote:
> In our investigation of the "AddQueueMember" vs.
> "AgentCallbackLogin" situation, the major loss with using the
> published "AddQueueMember" replacement is that it assumes each agent
> is always using the same phone.

This is not true; it is certainly possible to call AddQueueMember() and
dynamically construct the channel name that should be added based on the
channel that is placing the call to AddQueueMember(). In addition, you
can avoid passing _any_ interface name to AddQueueMember() and will use
the calling channel name after stripping any suffix present after '-',
which in the vast majority of cases will do exactly what you want.


More information about the asterisk-users mailing list