[asterisk-users] only ring phones that are not on a call

Danny Nicholas danny at debsinc.com
Tue Feb 17 15:31:37 CST 2009


You could set up a hint for the extension and check the hint for "inuse"
before executing the Dial in your dialplan

Exten => 801,hint,SIP/100

Exten => XXX,1,System("/usr/sbin/asterisk -rx "core show hints"|/bin/grep
SIP/100|/bin/grep InUse
Exten => XXX,2,GOTOIF($["{CMSTATUS}" = "FAILURE"])?dial
Exten => XXX,3,hangup() 
Exten => XXX,4(dial),Dial(SIP/100)
Exten => XXX,5,hangup()

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jon Weisman
Sent: Tuesday, February 17, 2009 2:33 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] only ring phones that are not on a call

is there anything i can do in my dialplan to only ring phones which are not 
on a call at the time someone dials in?

its for a call center, they do not want to use queues, but they are 
complaining that the call waiting beep is annoying.

i tried call-limit in the sip.conf but then it just busy out all phones when

a call comes in.

any thoughts?

thanks,
jon 



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list