Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-05-18 Thread John Kiniston
Use the ARRAY version of Set. same = n,ExecIf($["A" = "B"]?Set(ARRAY(C,D)=1,2)) On Tue, Apr 21, 2020 at 3:56 AM Administrator wrote: > Hello, > > we want to use something like > > same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) > > Problem is that result gives C=1) & Set(D=2) & ... > >

Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-04-21 Thread Administrator
Le 21/04/2020 à 15:23, Antony Stone a écrit : On Tuesday 21 April 2020 at 12:54:49, Administrator wrote: Hello, we want to use something like same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) Problem is that result gives C=1) & Set(D=2) & ... Is there a possibility to use multiple

Re: [asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?

2020-04-21 Thread Antony Stone
On Tuesday 21 April 2020 at 12:54:49, Administrator wrote: > Hello, > > we want to use something like > > same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) > > Problem is that result gives C=1) & Set(D=2) & ... > > Is there a possibility to use multiple AND or OR in such a way ? No,