[asterisk-users] Dialplan - using multiple AND or OR in set is it possible ?
johnkiniston at gmail.com
Mon May 18 21:48:06 CDT 2020
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 <admin at tootai.net> wrote:
> 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 ?
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at:
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users