I'm using the ubuntu packages, so I can't do exactly that, but I did find that: sudo apt-get install freeswitch-lua did the trick! I'm sure I'll have more questions now when I start to try the lua scripting, but for now, I've got an extension hitting the hello.lua example script and it works fine...thanks for the help! On 6/15/2011 9:24 AM, David Ponzone wrote:
Wes,
in FS source tree, edit modules.conf and enable mod_lua. Then recompile.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service ClientIPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 15/06/2011 à 16:00, Wes a écrit :
freeswitch@transcription-desktop> reload mod_lua Error including /opt/freeswitch/conf/lang/de/*.xml (No such file or directory) 2011-06-15 09:00:17.969278 [ERR] switch_xml.c:1329 Couldnt open /opt/freeswitch/conf/lang/de/*.xml (No such file or directory) Error including /opt/freeswitch/conf/lang/fr/*.xml (No such file or directory) 2011-06-15 09:00:18.008426 [ERR] switch_xml.c:1329 Couldnt open /opt/freeswitch/conf/lang/fr/*.xml (No such file or directory) Error including /opt/freeswitch/conf/lang/ru/*.xml (No such file or directory) 2011-06-15 09:00:18.008426 [ERR] switch_xml.c:1329 Couldnt open /opt/freeswitch/conf/lang/ru/*.xml (No such file or directory) 2011-06-15 09:00:18.021491 [INFO] mod_enum.c:808 ENUM Reloaded 2011-06-15 09:00:18.021491 [INFO] switch_time.c:950 Timezone reloaded 530 definitions 2011-06-15 09:00:18.022839 [CRIT] switch_loadable_module.c:926 Error Loading module /opt/freeswitch/mod/mod_lua.so **/opt/freeswitch/mod/mod_lua.so: cannot open shared object file: No such file or directory**
-ERR unloading module [No such module!] +OK Reloading XML -ERR loading module [module load file routine returned an error]
On 6/14/2011 4:55 PM, Avi Marcus wrote:
What happens when you run "reload mod_lua" from the CLI?
-Avi Marcus
On Wed, Jun 15, 2011 at 12:48 AM, Wes <wes-fs@499x.com <mailto:wes-fs@499x.com>> wrote:
I'm getting "invalid application lua" however, in modules.conf, the line for <load module="mod_lua"/> is active and not commented out.
Any help is appreciated. Thanks.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org