switch_snprintf(zrtp_cache_path, sizeof(zrtp_cache_path), "%s%szrtp.dat", SWITCH_GLOBAL_dirs.db_dir, SWITCH_PATH_SEPARATOR); it should go in /usr/local/freeswitch/db does the user running the process have ownership of /usr/local/freeswitch ? On Wed, Sep 5, 2012 at 11:50 AM, Michael Jerris <mike@jerris.com> wrote:
If freeswitch is not already using one of its directory defines to pass down to the library for where this file should be, someone please open a jira issue to correct this. This should be using one of dirs we define out of configure appropriately so it has the right permissions.
Thanks Mike
On Sep 5, 2012, at 6:19 AM, Vbvbrj <vbvbrj@gmail.com> wrote:
On 05.09.2012 11:39, Steven Ayre wrote:
It's a log message from within the libzrtp library.
It means it cannot open the cache file. The log message contains the filename it tried to open, but it looks like you've removed the end of the lines with that information.
No, I didn't remove any symbol from the log output. Realy it does not show the file name.
The default filename within the library is "./zrtp_def_cache_path.dat". That'd be within the cwd FS is running with, which you can find with "ls -ld /proc/PID/cwd" where PID is the PID freeswitch is running as.
Yes, the cmd of FS is running is correct and the username under which FS is running does not have write permission except some subfolders, for ex. log sobfolder. Then how to specify the zrtp cache file path and name?
--
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900