Hi all,
I am writing a lua script that I'll be using with dialplan tools. The script is simple and makes a curl request, if a response is provided then I set some session variables, to be used later.
Observing the console it seems my session variables are set fine from within the lua script, however the condition in group 2 that checks one of those variables never evals as true, even though it should.
Any ideas where I'm going wrong?

I am writing a lua script that I'll be using with dialplan tools. The script is simple and makes a curl request, if a response is provided then I set some session variables, to be used later.
Observing the console it seems my session variables are set fine from within the lua script, however the condition in group 2 that checks one of those variables never evals as true, even though it should.
Any ideas where I'm going wrong?
