[asterisk-users] Exec two commands with ExecIf

Dovid Bender dovid at telecurve.com
Thu Dec 23 00:37:51 CST 2021


Hi,

I didn't see any documentation for this so I assume it can't be done but I
figured I would check here first. 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.


TIA.

Dovid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20211223/685665ec/attachment.html>


More information about the asterisk-users mailing list