13 Mar
2012
13 Mar
'12
9:46 a.m.
Hi all, It's said we could access the arguments passed to lua script by variable 'arg[i]' where i > 0. for example, { lua dummy.lua aa 100 } then, we will have as follows: arg[1] -> aa arg[2] -> 100 However, I always get 'nil' values for 'arg[i]' or 'arg' while running the lua script. How can I pass and retrieve arguments or parameters to a lua script of FreeSwitch?