I have “asterisk 11 + freepbx” configured on my platform, queues with “skip busy agents” active.
Agents are dynamic. In such a way that when they are with an Asterisk call, it should not send them another until they are free.
However in some cases, not always, Asterisk sends the call to an agent who is busy with a call.
I can’t quite see the pattern, I’m not sure how to reproduce it, but sometimes this happens.
The configuration that I have in all the queues is this:
I assume you mean ringinuse=no, as there is no such option as skipbusyagents in Asterisk.
Are call counters enabled on the agent endpoint description (e.g. in sip.conf)? Are the agents directly local devices, or are they local channels? In the latter case, is a state interface defined for them in the member definition? (If they are non-local devices (e.g. through a “trunk”), Asterisk will be unable to detect that they are inuse, although in that case, with ringinuse, you would only be able to make one call at a time through the trunk, so it seems unlikely).
Are the agents directly local devices, or are they local channels?
I don’t understand this question, really. Our extensions are dynamically registered with queues, using, for example:“queue add member SIP / 6008,1 to 401”
being SIP / 6008 the extension, 1 the penalty and 401 the queue.
We do this registration via AMI with an external app.
In the latter case, is a state interface defined for them in the member definition?
I do not have that parameter refers to this that you comment, within the configuration of each device.I have copied an example of the standard configuration that we have in all the extensions.
Piense en el medio ambiente, imprima este correo sólo si es necesario
So, what you are telling me is that if we switch to using “local agents channels”, the detection of whether an extension is busy or not will be much more effective than how I have it now?
Now, from what I understand, the problem I have is that when the ext status check takes longer than normal, Asterisk does not detect that it is busy and sends the signal, is it? And if we change to “local agents channels”, this situation will not occur. Right?.
On the other hand, would there be any way to “monitor” this situation to detect exactly if the problem I have is related to the “speed” of getting the status of an extension?
Thank you very much for everything David.
Piense en el medio ambiente, imprima este correo sólo si es necesario
Then if we use group counts (and to be able to do this we must have local chanels), we should not have the possible problem that Asterisk takes longer to get the status of an extension and that this affects the sending of a call to an agent that I’m busy, is that correct?
Piense en el medio ambiente, imprima este correo sólo si es necesario