[asterisk-users] Multiple phones when one is unregistered

Mark Wiater mark.wiater at greybeam.com
Thu Sep 1 05:22:18 CDT 2016



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




More information about the asterisk-users mailing list