We use call queues and our agents log in with AgentLogin() application (and stay online for a whole day). The problem is that sometimes someone calls to an agent directly for some reason, but the agent’s status don’t became ‘BUSY’.
As a result, a second simultaneous call may be bridged with this agent when someone goes to his queue.
I tried to use ‘ringinuse=no’ in queues.conf but it didn’t help.
Does someone has any idea about how to solve this problem? The protocol we use is SIP.
what version of asterisk? this is a known issue with 1.4 that is supposedly fixed in 1.6 where the queue only detects as busy extensions that are on calls that were sent by the queue itself. there is a patch available to back port the fix from 1.6 to 1.4 so that the queue sees the correct status of extensions (svncommunity.digium.com/svn/russ … state-1.4/) which fixed this for me.
I’m currently still using call-limit since it works and is available. I had noted it was depricated as well. In searching for the “right” way to do it, I found this at http://www.asterisk.org/doxygen/trunk/Config_sip.html
[quote]; The “call-limit” configuation option is considered old is replaced
; by new functionality. To enable callcounters, you use the new
; “callcounter” setting (for extension states in queue and subscriptions)
; You are encouraged to use the dialplan groupcount functionality
; to enforce call limits instead of using this channel-specific method.
; You can still set limits per device in sip.conf or in a database by using
; “setvar” to set variables that can be used in the dialplan for various limits.
[/quote]