I have a very basic queue:
I am placing a call to a external number (currently simulated via a local channel), with AMI Originate, and it is sent to a context simply queuing the call.
When set with ringinuse = no, first call is correctly routed to the sip device, but later calls are not distributed - they stay in queue and receive the moh music - the sip member appears as OK with sip show peers (qualify=yes), and it can really be called directly by another extension.
Running debug, i see on the second call:
app_queue.c:6546 try_calling: Local/0123456789@outgoing-00000002;1 is trying to call a queue member.
app_queue.c:4465 ring_one: Trying ‘sip/13579’ with metric 999982
app_queue.c:4250 can_ring_entry: sip/13579 has another call trying, can’t receive call
app_queue.c:4451 ring_one: Nobody left to try ringing in queue
app_queue.c:4781 wait_for_answer: Everyone is busy at this time
Yet, during the first call, I see:
app_queue.c:6914 try_calling: Marked member sip/13579 as in_call
app_queue.c:5485 update_queue: Marked member sip/13579 as NOT in_call. Lastcall time: 1478634197
(full log: http://pastebin.com/Jgs1a3r9 showing a first successfull call then a failed call presented twice to the device)
When I set ringinuse=yes, no issues, but it is not the way I want it to work,
What could be wrong ?
Thanks for the help, I am asking a lot today !