Thank you, I already considered such an approach but the customer wanted
to receive the new call *immediately* after the hangup (basically
because "it was possible with the old pbx").
This is how I solved: http://www.spinics.net/lists/asterisk/msg153399.html
Such a way I hear the annoying beep every 40 seconds. If someone knows
how to COMPLETELY REMOVE the fucking beep please let me know: there are
already tons of phones ringing everywhere so there is no need for an
annoying beep.
P.S.
By the way, I had a nice time with SNOM phones crashing and freezing
everywhere thanks to a bug while handling SIP ANSWERED ELSEWHERE. I
suggest everyone to upgrade to 8.7.3.15 beta.
Cheers,
Niccolò
Il 02/10/2012 21:16, Warren Selby ha scritto:
Niccolo,
This is what I did for one of my clients. They had a very busy queue,
and were getting annoyed with the Call Waiting beeps. To resolve this,
we changed the method for contacting the agents to Local Channels. The
local channel would then do a check (using the GROUP() function) and see
if it was already in a call or not, and if it was, it would delay
sending the call to that agent. It would then try again after a certain
amount of time had passed.
The agents are added to the queue dynamically using
AddQueueMember(${queue-name},Local/${agent-exten}@agent-calls,,,,SIP/${state-exten}).
We would load the appropriate variables in the preceding dialplan.
Here's the snippets from extensions.conf:
[agent-calls]
;Context to dial agents when calls come into their queues
exten => _XXXX,1,Wait(1)
exten => _XXXX,n,Set(GROUP()=${EXTEN}-calls)
exten => _XXXX,n,GotoIf($[${GROUP_COUNT(${EXTEN}-calls)} > 1]?wait_longer)
exten => _XXXX,n,Dial(SIP/${EXTEN})
exten => _XXXX,n,GotoIf(${DIALSTATUS}=UNAVAILABLE?wait_longer)
exten => _XXXX,n,Goto(1)
exten => _XXXX,n(wait_longer),Wait(15)
exten => _XXXX,n,Goto(1)
--
http://www.linuxsystems.it
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users