Hello! Do, please: ls -la /var ls -la /var/lib ls -la /var/lib/freeswitch ls -la /var/run ls -la /home ls -la /home/fs ...and post all results here ср, 23 окт. 2019 г. в 08:51, H Yavari via FreeSWITCH-users < freeswitch-users@lists.freeswitch.org>:
---------- Forwarded message ---------- From: H Yavari <hyavari@rocketmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Wed, 23 Oct 2019 05:12:46 +0000 (UTC) Subject: Re: [Freeswitch-users] New storage path error Might it help to others also:
We have to use this path : /var/lib/freeswitch as a base DIR. I don't know the reason, but I checked the codes also:
if (switch_dir_make_recursive(dir_path, SWITCH_DEFAULT_DIR_PERMS, switch_core_session_get_pool(session)) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Error creating %s\n", dir_path); goto end; }
We set owner and mod for directories but it just accept /var/lib/freeswitch path.
Do you have any idea?
Regards.
------ On Tuesday, October 22, 2019, 2:10:37 PM GMT+3:30, H Yavari via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:
Hi to all,
When I change any storage directory for FS, I get error in read/write. I give same permission to folders but result doesn't change. For example for voicemails I get this error:
[ERR] mod_voicemail.c:3493 Error creating /home/fs/vmshared/x.y.z.w/1000
user is freeswitch and group is "deamon" like other folders.
Please advise.
Regards, HY _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
---------- Forwarded message ---------- From: H Yavari via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Bcc: Date: Tue, 22 Oct 2019 22:51:22 -0700 (PDT) Subject: Re: [Freeswitch-users] New storage path error _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com
-- With best regards Dmitry Borisov