[Freeswitch-users] few problems when running the sample voicemail.js
Pete Kay
petedao at gmail.com
Fri Apr 18 04:25:55 PDT 2008
Hi,
I am encountering a number of problems when trying to run the voicemail.js
provided as one of the samples:
1. the etpan module is not available and I can't find the etpan module in
the module.conf, so I have to comment out the below line.
use("etpan");
So, what is the usage of the etpan? Will the voicemail.js work without it?
2. I don't know why the mkdir command below fails. I am already running fs
as root. Any idea why?
fsLogger("account dir = " + vmDir + "/" + vmAccount+"\n");
if(!dir.isDirectory){
vmDir.mkdir(vmDir + "/" + vmAccount);
}
2008-04-19 03:26:28 [DEBUG] mod_spidermonkey.c:3132 js_api_use() Loading
TeleTone
2008-04-19 03:26:28 [DEBUG] inc_logger.js:6 console_log()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> account dir = /var/spool/freeswitch/10000
>>>>>>>>> undefined
2008-04-19 03:26:28 [ERR] answermachine.js:52 mod_spidermonkey() Error:
File operation mkdir failed
Thank you very much for your inputs.
Regards,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080418/7106fe7a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list