Hi at all,
i have a problem with my dialplan and i hope, someone can tell me,
how can i set up to my needs.
I attached a dialplan example, but this do not work and i did not know why...
My goal is as follows.
myapp.lua is running...
inside the lua i set the variable myvar to true or to false
Is the lua app is finished, i want now to use the variable as a condition.
If the variable is true, i want a action (at the moment only a set var, to see it in the log)
Also, is the var is false, i want a other action. here also a set var for testing.
But after the lua app nothing happens. Why ?
What i have to do/to change, that i can use the variable as contidion in two branches...
Any ideas ? Or can someone tell my where i am false in my thinking ?
(Sorry for my bad english...)
Best regards,
MrWeb
i have a problem with my dialplan and i hope, someone can tell me,
how can i set up to my needs.
I attached a dialplan example, but this do not work and i did not know why...
My goal is as follows.
myapp.lua is running...
inside the lua i set the variable myvar to true or to false
Is the lua app is finished, i want now to use the variable as a condition.
If the variable is true, i want a action (at the moment only a set var, to see it in the log)
Also, is the var is false, i want a other action. here also a set var for testing.
But after the lua app nothing happens. Why ?
What i have to do/to change, that i can use the variable as contidion in two branches...
Any ideas ? Or can someone tell my where i am false in my thinking ?
(Sorry for my bad english...)
Best regards,
MrWeb