Below is a quick reference that can be used to translate traditional
extensions.conf dialplan concepts to their analog in
Extension pattern matching syntax on logic works the same for
Macros can be defined in pbx_lua by naming a context 'macro-*' just as in
extensions.conf, but generally where you would use macros or gosub in
extensions.conf you would simply use a function in lua.
Goto is an extenstions.conf staple, it should generally be avoided in pbx_lua in favor of functions.