[Home]

Summary:ASTERISK-10205: SIP/IAX trunks are being answered when being Queued.
Reporter:Alan Trundle (alantrundle)Labels:
Date Opened:2007-08-30 10:30:26Date Closed:2011-06-07 14:08:24
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Basically It would seem that unanswered queues make good ring groups and is the method I have used to ring a group of phones when a call has come in on a ZAP channel. I simply do not answer() it.

[incoming]
; Call Sales phones
exten = 789000,1,NoOP(Incoming call from ${CALLERIDNUM} to Sales)
exten = 789000,2,Queue(500)
exten = 789000,3,Hangup


The above syntax (extensions.conf) works well if the call has come in on a ZAP trunk on a PRI30 card, but the call gets picked up if the call came in on a SIP or IAX trunk, despite not being answered with Answer() prior to being put through to the queue/group.

I would expect this behaviour to occur if I handled the call with the following...

[incoming]
; Call Sales phones
exten = 789000,1,NoOP(Incoming call from ${CALLERIDNUM} to Sales)
exten = 789000,2,Answer()
exten = 789000,3,Queue(500)
exten = 789000,4,Hangup







****** ADDITIONAL INFORMATION ******

I do realise that I can play ringing instead of music, but the call still gets answered and the inbound caller is being charged whilst they are holding in the queue or group as I am using it in this case.

Obviously the ZAP channels only answer if and when a SIP phone in Queue 500 was actually picked-up or answered.


Can you provide me with a tweak/patch to get SIP/IAX trunks to behave like ZAP trunks with regards to call queueing/groups.

I know that I can do


exten = blahblah,1,Dial(SIP/100&SIP/101&SIP/102) etc, but this is a messy way of creating a standard call group that is a standard feature on any PBX.
Comments:By: Joshua C. Colp (jcolp) 2007-08-30 11:05:47

Please provide a complete console output and the sip debug or iax2 debug (depending on which technology is in use naturally).

By: Joshua C. Colp (jcolp) 2007-10-15 12:00:48

Suspended since there has been no more information provided.