few problems when running the sample voicemail.js
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
This is a huge clue.. check permissions. /b On Apr 18, 2008, at 6:25 AM, Pete Kay wrote:
2008-04-19 03:26:28 [ERR] answermachine.js:52 mod_spidermonkey() Error: File operation mkdir failed
Brian West sip:brian@freeswitch.org
Hi Brian, But I am already running fs as root, how can it still have permission problem? What about : 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? Is etpan needed and how to get it to work? I can't find the module etpan. Thanks alot. Pete On Fri, Apr 18, 2008 at 10:05 PM, Brian West <brian@freeswitch.org> wrote:
This is a huge clue.. check permissions. /b
On Apr 18, 2008, at 6:25 AM, Pete Kay wrote:
2008-04-19 03:26:28 [ERR] answermachine.js:52 mod_spidermonkey() Error: File operation mkdir failed
Brian West sip:brian@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
Well "mkdir /var/spool/voicemail/10000" vs "mkdir -p /var/spool/ voicemail/10000" can give different results depending on if /var/spool/ voicemail exists in the first place. /b On Apr 18, 2008, at 10:11 AM, Pete Kay wrote:
Hi Brian,
But I am already running fs as root, how can it still have permission problem?
What about : 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?
Is etpan needed and how to get it to work? I can't find the module etpan.
Thanks alot.
Pete
On Fri, Apr 18, 2008 at 10:05 PM, Brian West <brian@freeswitch.org> wrote: This is a huge clue.. check permissions.
/b
On Apr 18, 2008, at 6:25 AM, Pete Kay wrote:
2008-04-19 03:26:28 [ERR] answermachine.js:52 mod_spidermonkey() Error: File operation mkdir failed
Brian West sip:brian@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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian West sip:brian@freeswitch.org
participants (2)
-
Brian West
-
Pete Kay