On Tue, 30 Aug 2016 17:56:35 +0200
Administrator TOOTAI <[email protected]> wrote:
> exten => 5555551111,1,Verbose(Door buzzer calling)
> same => n,Set(toRing=)
> same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN 
> USE"]?Set(toRing=${toRing}&SIP/user1)
> same => n,ExecIf($["${DEVICE_STATE(SIP/user2)}" = "NOT IN 
> USE"]?Set(toRing=${toRing}&SIP/user2)
> same => n,ExecIf($["${DEVICE_STATE(SIP/user3)}" = "NOT IN 
> USE"]?Set(toRing=${toRing}&SIP/user3)
> same => n,Dial(${toRing:1}) ;to remove the first &
> 
> would do the work

That looks good and is easy to add and delete from the list.  I will
give this a try one night this week.  Not sure what that last line
would do if all of the phones are off but if they are the buzzer won't
be answered anyway.

Thanks.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:[email protected]
VoIP: sip:[email protected]

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

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
      http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Reply via email to