I’ve been attempting to condense my GotoIf statements down in my dial plan and I was wondering what the syntax is for a GotoIf with an ‘or’ conditional. I have looked through documentation but most of it seems old and outdated. I’m running Asterisk versions 1.6.1.4 and 1.6.2.8
I have attempted the following on both versions and neither works:
(with a space before and after “|”)
(with no space before and after “|”.
When I use the latter option it spits out a warning about application delimiters, which I’m guessing is the incorrect syntax.
Any help would be appreciated.
Nathan