Есть вопрос про LUA
Прочитал, что у LUA нет приоритетов в диплане, что в целом и логично.
https://wiki.asterisk.org/wiki/display/AST/Advanced+pbx_lua+TopicsWhere did the priorities go?
There are no priorities. Asterisk uses priorities to define the order in which dialplan operations occur. The pbx_lua module uses functions to define extensions and execution occurs within the lua interpreter, priorities don't make sense in this context. To Asterisk, each pbx_lua extension appears as an extension with one priority. Lua extensions can be referenced using the context name, extension, and priority 1, e.g. Goto(default,1234,1). You would only reference extensions this way from outside of pbx_lua (i.e. from extensions.conf or extensions.ael). From with in pbx_lua you can just execute that extension's function.
Тогда возникает вопрос, как будет работать опция G в DIAL
G( context^exten^priority ) - If the call is answered, transfer the calling party to the specified priority and the called party to the specified priority plus one.
Вызываемая сторона то ни куда не перейдёт на prioritet +1 . Получается всё свалится в один контекст, а там уже можно будет вычленить, кто есть кто по разным переменным заданым в канале или как по человечески это делается?