What about doing this?
exten => 5555551111,1,Verbose(Door buzzer calling)
same => n,Set(toRing=)
same => n,Set(toRing=${toRing}${IF($["${DEVICE_STATE(SIP/user1)}" = "NOT IN
USE"]?&SIP/user1:)})
same => n,Set(toRing=${toRing}${IF($["${DEVICE_STATE(SIP/user2)}" = "NOT IN
USE"]?&SIP/user2:)})
same => n,Set(toRing=${toRing}${IF($["${DEVICE_STATE(SIP/user3)}" = "NOT IN
USE"]?&SIP/user3:)})
same => n,Dial(${toRing:1}) ;to remove the first &
Chad
> On Sep 1, 2016, at 11:27 AM, D'Arcy J.M. Cain <[email protected]> wrote:
>
> On Thu, 1 Sep 2016 13:49:57 +0000 (UTC)
> [email protected] (Tony Mountifield) wrote:
>>> What module am I missing?
>>
>> The ExecIf command is provided in the module app_exec, which is
>> usually located at /usr/lib/asterisk/modules/app_exec.so
>
> Yes, I see it.
>
>> Maybe you had turned off app_exec in the menuconfigi when building,
>> or maybe your modules.conf has a noload => app_exec.so
>
> The distributed modules.conf does not appear to mention it at all. I
> don't need it now after all so I won't add it in until I can evaluate
> the security issues that it might bring with it. It's hard to find
> documentation for it other than the actual source code.
>
> http://doxygen.asterisk.org/trunk/dc/d73/app__exec_8c-source.html
>
> --
> 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
--
_____________________________________________________________________
-- 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