On 8/31/2016 9:57 PM, D'Arcy J.M. Cain 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)
Failed.  I checked the online docs and the syntax seems to be correct
but I get this:

[Aug 31 21:52:00] WARNING[-1][C-0001fed5] pbx.c: No application
'ExecIf' for extension (unauthenticated, 5555551111, 3)

Set is a function, not an application. ExecIF executes an application.
I'm a bit confused by this whole topic. The dialplan snippet in the original email

exten => 5555551111,1,Verbose(Door buzzer calling)
   same => n,Dial(SIP/user1&SIP/user2&SIP/user3)

should have rung the phones forever as long as one phone was active and not forwarding or DNDing.


Mark


--
_____________________________________________________________________
-- 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