[asterisk-users] How to remove the call waiting tone without disabling callwaiting?

Warren Selby wcselby at selbytech.com
Tue Oct 2 14:16:31 CDT 2012


On Mon, Oct 1, 2012 at 10:03 AM, Niccolò Belli <darkbasic at linuxsystems.it>wrote:

> Hi,
> The call waiting tone is very annoying (you hear nothing while it plays
> the beep). I need callwaiting because of the queues (the phone has to ring
> as soon as you hangup) but I want to remove the beep on my dahdi channels,
> how can I do?
>
> Thanks,
> Niccolò
> --
> http://www.linuxsystems.it



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)


-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121002/70c61af9/attachment.htm>


More information about the asterisk-users mailing list