I am trying to configure a queue with 3 agents (each one of them is external call which i am trying to execute)
In the background i am playing MOH.
The main target is to have a queue with unlimited loops that trying to call the agents.
In the current configurations what happens is that after 5 tries to call each agent (agent X --> agent Y --> agent Z --> agent X -->agent Y)
THE CALL HANGUP
Please see queue configurations in the queue.conf and also the way which i call the queue it self
Has the call been answered, or is it in early media state? Is it coming from the PSTN?
Your dialplan fragment doesn’t answer the call. PSTN operators generally won’t allow an unanswered call to ring for very long, so, if you can’t get it to an agent quickly, you have to answer it and accept that the caller may get billed for the time they are waiting.
I am not using strategy of ringall.
I am trying to use rrordered in order to try and each “agent” for 15 sec no more.
The loop which i am trying to do is without end.
Currently i am trying only to test - and in the test - i am not answering - it calls 15 sec trying the second number after another 15 seconds going to the 3rd one.
The call is disconnected when ending to call the 2nd number (for the 2nd time) - meaning i had 5 calls only …
I think you will find the call is cancelled by the caller (by their phone or network), rather than rejected by Asterisk, and you will need to answer before entering Queue to avoid that.
In my flow i am trying to call to a member which is external number(another operator)
After 15 sec of not receiving a reply i am getting the call back and i am trying to the 2nd agent who is in another operator.
Do you see anything that can be update\change in the configurations of the queue which i have shared?
As @david551 mentioned previously, you’re going to need to actually investigate and identify who is hanging the call up. It is most likely the calling side that is doing so as a result of not answering, which Asterisk would have no control over it.
Failing that you will need to provide the actual console output with SIP traffic (sip set debug on) so it can be seen precisely what is going on.
You need to provide the FULL SIP trace. Providing only a portion doesn’t show the entire picture, because what you’ve provided just means Asterisk sent a CANCEL and cancelled an outgoing call attempt.