OK, I have a very simple queue config and I have two incoming connections, one is through a newrock gateway and the other is a sip trunk.
both go through same configuration for handling incoming calls and on extension 105, both try to use my test-queue. Everything works as it should, on the sip trunk. But when I call the gateway numbers, the call goes through the queue, but never stops/timed-out/reject even if the caller hangup!
extension.conf:
[fxo-hasin]
exten => s,1,NoOp(${CALLERID(num)})
exten => s,n,Answer
exten => s,n,Background(8)
exten => s,n,WaitExten(10)
exten => s,n,Hangup
exten => 105,1,Queue(test-queue)
queue.conf:
[test-queue]
strategy=linear
timeout=15
retry=1
member=>SIP/80105
sample result:
== CDR updated on SIP/fxo-00000715
– Executing [105@fxo-hasin:1] Queue(“SIP/fxo-00000715”, “test-queue”) in new stack
– Started music on hold, class ‘default’, on SIP/fxo-00000715
== Using SIP RTP CoS mark 5
– SIP/80105-00000718 is ringing
– SIP/80105-00000718 is ringing
– SIP/80105-00000718 is ringing
----------------------------- I disconnected the call from the caller point here -----------------------------
– SIP/80105-00000718 is ringing
– SIP/80105-00000718 is ringing
– SIP/80105-00000718 is ringing
– SIP/80105-00000718 is ringing
– Nobody picked up in 15000 ms
– Stopped music on hold on SIP/192.168.240.250-0000072a
== Using SIP RTP CoS mark 5
– SIP/80105-00000719 is ringing
– SIP/80105-00000719 is ringing
– SIP/80105-00000719 is busy
– SIP/80105-00000719 is ringing
– SIP/80105-00000719 is ringing
…
To stop the 80105 extension from ringing, I should pick it up.