<div dir="ltr">Hello!<div><br></div><div>Do, please:</div><div>ls -la /var</div><div>ls -la /var/lib</div><div>ls -la /var/lib/freeswitch</div><div>ls -la /var/run</div><div>ls -la /home</div><div>ls -la /home/fs</div><div><br></div><div>...and post all results here</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 23 окт. 2019 г. в 08:51, H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: H Yavari <<a href="mailto:hyavari@rocketmail.com" target="_blank">hyavari@rocketmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Wed, 23 Oct 2019 05:12:46 +0000 (UTC)<br>Subject: Re: [Freeswitch-users] New storage path error<br><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div></div>
<div dir="ltr">Might it help to others also:</div><div dir="ltr"><br></div><div dir="ltr">We have to use this path : /var/lib/freeswitch as a base DIR.</div><div dir="ltr">I don't know the reason, but I checked the codes also:</div><div dir="ltr"><br></div><div dir="ltr"><div>if (switch_dir_make_recursive(dir_path, SWITCH_DEFAULT_DIR_PERMS, switch_core_session_get_pool(session)) != SWITCH_STATUS_SUCCESS) {<br> switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Error creating %s\n", dir_path);<br> goto end;<br> }</div><div><br></div><div dir="ltr">We set owner and mod for directories but it just accept /var/lib/freeswitch path.</div><div dir="ltr"><br></div><div dir="ltr">Do you have any idea?</div><div dir="ltr"><br></div><div dir="ltr">Regards.</div></div><div dir="ltr"><br></div><div><br></div><div>------<br></div>
</div><div id="gmail-m_-2632052506671091116ydp25d1c099yahoo_quoted_2088180145">
<div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
<div>
On Tuesday, October 22, 2019, 2:10:37 PM GMT+3:30, H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="gmail-m_-2632052506671091116ydp25d1c099ymsg77667"><div id="gmail-m_-2632052506671091116ydp25d1c099yiv1112808872"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr">Hi to all,</div><div dir="ltr"><br></div><div dir="ltr">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.</div><div dir="ltr">For example for voicemails I get this error:</div><div dir="ltr"><br></div><div dir="ltr"><span><span>[ERR] mod_voicemail.c:3493 Error creating /home/fs/vmshared/x.y.z.w/1000</span></span></div><div dir="ltr"><span><span><br></span></span></div><div dir="ltr"><span><span>user is freeswitch and group is "deamon" like other folders.<br></span></span></div><div dir="ltr"><span><span><br></span></span></div><div dir="ltr"><span><span>Please advise.</span></span></div><div dir="ltr"><span><span><br></span></span></div><div dir="ltr"><span><span>Regards,</span></span></div><div dir="ltr"><span><span>HY</span></span><br></div></div></div></div></div>_________________________________________________________________________<br><br>The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="nofollow" target="_blank">https://signalwire.com</a><br>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>Build your next product on our scalable cloud platform.<br><br>Join our online community to chat in real time <a href="https://signalwire.community" rel="nofollow" target="_blank">https://signalwire.community</a><br><br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" rel="nofollow" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" rel="nofollow" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" rel="nofollow" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" rel="nofollow" target="_blank">https://cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com" rel="nofollow" target="_blank">https://freeswitch.com</a></div>
</div>
</div></div><br><br><br>---------- Forwarded message ----------<br>From: H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>Cc: <br>Bcc: <br>Date: Tue, 22 Oct 2019 22:51:22 -0700 (PDT)<br>Subject: Re: [Freeswitch-users] New storage path error<br>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">With best regards<br> Dmitry Borisov<br></div>