IAX2 does not have SIP-like call-limit configuration option. I was implementing a call queue, where clients used IAX2 softphone (idefisk). It was very disturbing for operators to have calls ringing on background of ongoing call, so I tried to find a solution to limit calling only to users not on the phone.

Queue members:

Define them like this:

member => Local/934@queue-to-agent/n

Extensions.conf

[exithandling]

; this is just my exit handler. the important thing is in queue-to-agent context

exten => s-NOANSWER,1,NoOP(There was no answer to call from ${CALLERIDNUM})exten => s-NOANSWER,2,Hangup

See also

IAX2 does not have SIP-like call-limit configuration option. I was implementing a call queue, where clients used IAX2 softphone (idefisk). It was very disturbing for operators to have calls ringing on background of ongoing call, so I tried to find a solution to limit calling only to users not on the phone.

Queue members:

Define them like this:

member => Local/934@queue-to-agent/n

Extensions.conf

[exithandling]

; this is just my exit handler. the important thing is in queue-to-agent context

exten => s-NOANSWER,1,NoOP(There was no answer to call from ${CALLERIDNUM})exten => s-NOANSWER,2,Hangup