[Freeswitch-users] LUA

Christopher Rienzo cmrienzo at gmail.com
Mon Aug 18 18:53:45 MSD 2014


This is an error in your lua script.  On line 5 you must have some code
like "params.foo" or "params[foo]" where params is a nil value.  Check why
params is nil and fix it if it isn't supposed to be.  Otherwise add a check
to handle the nil case.



On Mon, Aug 18, 2014 at 9:10 AM, Joel White <joelewhite at gmail.com> wrote:

> I am trying to get Lua generation of the Directory so I can also tie this
> in with auto provisioning.
>
> I have created the table in the Postgres DB and have the lua script
> specified in the lua module config
>
>
> But I keep getting this error
>
>
> 2014-08-18 13:07:11.869818 [ERR] mod_lua.cpp:203
> /usr/local/freeswitch/scripts/gen_dir_user_xml.lua:5: attempt to index
> global 'params' (a nil value)
>
>
>
> I am sure after playing with it for a while I will get everything working
> properly, but would anyone have some information to point me in the right
> direction?
>
> Thank you in advance
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140818/5a0345db/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list