On Thu, 23 Dec 2021, Dovid Bender wrote:
Is there any way of using ExecIf to run two commands instead of 1? e.g.
instead of
Exten 123,1,ExecIf($["FOO" == "BAR"]?BackGround(you-owe))
Exten 123,1,ExecIf($["FOO" == "BAR"]?SayNUmber(1000000"))
I would ideally like to do it in one line.
1) gotoif()
2) gosub()
3) AEL
gosub() is probably 'cleaner' and more maintainable than gotoif(). AEL is
good but sometimes fragile.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
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