[Freeswitch-users] lua library

Avi Marcus avi at avimarcus.net
Wed Jun 20 13:44:53 MSD 2012


>
>  dofile "/usr/local/freeswitch/scripts/my_functions.lua"

works. But it seems to only take an absolute path. If you find another way,
that would be great.
Oh, and if you could wikifiy that...

-Avi


On Wed, Jun 20, 2012 at 11:24 AM, Alex <alex at thewinelake.com> wrote:

> Got some fairly common lua functions that I'd like to use as a library.
> I note that there is a "require" feature in lua, but that requires
> modification of the environment variables.
> I was wondering if there isn't a simpler "include" type mechanism where
> I can specify the full path of a lua script?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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/20120620/091bf38f/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list