[Freeswitch-users] Freeswitch mod_lua and email

GAUTIER DE CHARNACÉ Briac Briac.GAUTIERDECHARNACE at supinfo.com
Thu Oct 6 13:23:31 MSD 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111006/871a90e1/attachment-0001.html 


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