Freeswitch mod_lua and email

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Freeswitch mod_lua and email

GAUTIER DE CHARNACÉ Briac
Hello,
I am trying to send an email from a lua script with this line :
freeswitch.email(to, from, headers, body, file, convert_cmd, convert_ext)
But when I execute the script I have an error :

-----------------------------------------------------------------------------

011-10-06 11:01:18.320247 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/voicemail.lua:43: attempt to call field 'email' (a nil value)
stack traceback:
        /usr/local/freeswitch/scripts/voicemail.lua:43: in main chunk

-----------------------------------------------------------------------------

Do you have an idea how solve this problem ?

Thanks

Briac GAUTIER DE CHARNACE


FreeSWITCH-users mailing list
[hidden email]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Reply | Threaded
Open this post in threaded view
|

Re: Freeswitch mod_lua and email

Jeff Lenk
Is that your own voicemail.lua file? Otherwise what version of FS are you running?