[asterisk-users] is roundrobin and rrmemory the same meaning?
Robert Lister
robl at lentil.org
Wed Jan 13 08:09:15 CST 2010
On Wed, 2010-01-13 at 10:42 +0800, Zhang Shukun wrote:
> is there some function used to login a agent automaticlly like
>
> agentlogin("agentname","agentpassword","phonenumber")?
Depends what version you are running.
AgentCallBackLogin() is deprecated and you should not use it.
But the feature can be reproduced with dialplan logic.
http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%
20AgentCallbackLogin
This is a whole world of pain, as is using Agents in some situations.
It is better to use SIP channels. (Agents do not seem to work nicely
with a bunch of other features.) It is less flexible.
It may be better for you to do this using AddQueueMember and
RemoveQueueMember on SIP channels, and program a key (or keys) on the
handset to add and remove the member from the queue dynamically instead
of adding them as static members in queues.conf.
Rob
More information about the asterisk-users
mailing list