I’m using Asterisk 1.4.21.1 and I’m running a small call center.
I’d like to limit each handset to one incoming call and one outgoing call at a time. The call-limit command (in sip.conf) doesn’t seem to distinguish between incoming and outgoing calls. Is there some other way to limit a handset to one incoming and one outgoing call at a time?
If it matters, we’re using Snom 300 and Aastra 9133i phones.
If you want to limit it per user then you would have to write an agi or set a variable when every call is made and check if the value is over 1 or 2 depending on your needs.
I’m not so much concerned with outbound calls. Our Snom 300’s have 4 lines. I don’t want an agent to receive more than one inbound call at a time. When I set the variable to limit incoming calls to “1”, that limit also applies to outgoing calls. This means that if an agent wants to put an inbound caller on hold and call a supervisor, they can’t do it.
I’m stumped. Any help would really be appreciated.
[quote=“OdinBrousseau”]I don’t know if you are using FreePBX and/or Trixbox.
But I have been able to limit incoming call to 1 turning OFF the “Call Waiting” feature located in each extension configuration under FreePBX.
Call Waiting turned OFF directly redirect all other inbound call to this extension to the according voice mail rather than waiting on line line 2,3,4…
But they still have line 2-3-4 available to outbound call.[/quote]
I’ve been trying to do everything in native Asterisk - and I’m probably about 95% of the way there. But this one is a show-stopper, so maybe I’ll give FreePBX or TrixBox a look and see if they handle queues better.
exten => s,1, Set(GROUP()=OUTBOUND_GROUP)
exten => s,2, Noop(${GROUP_COUNT(OUTBOUND_GROUP)})
exten => s,3, GotoIf($[${GROUP_COUNT(OUTBOUND_GROUP)} > 1]?103)
exten => s,4, ;THE REST OF YOUR INCOMING DIALPLAN
exten => s,103,Hangup() ;or whatever you want to do
[/code]
Ian[/quote]
Thanks Ian - I appreciate your help. I’m not sure where this code would fit into my current extensions.conf, and I’m getting the feeling I’m getting in over my head. Another reply suggested using a GUI that better handles queueing. I think I might try that first.
You mention queues, This makes it a very different thing, You need to look at handsets and check if they support the disabling of call waiting, for example the aastra 5Xi range do and I use these in call centers so that they only accept 1 active call in but can transfer calls OK not sure if the 9133 does , check the admin guide
Local channels in queues can cause issues with status.