[Freeswitch-users] mkdir not working

Peter Olsson peter at olssononline.se
Mon Dec 15 10:20:45 MSK 2014


If you're not using the "system" command as suggested, it's not that
strange really. "mkdir" is not a valid FreeSWITCH command to execute.

2014-12-13 14:57 GMT+01:00 kthofer <karl-theo_hofer at inteli-sim.com>:
>
>
> Hi there i am using perl
> Will try the suggestions
> But still strange that FS is not even trying to create a directory
>
>
> With best regards
>
> Karl Theo Hofer
>
> Am 13 dec 2014 um 09:42 schrieb Oz Mortimer <omortimer at gmail.com>:
>
> Assuming your using php, you don't need to use freeswitch.
> system("mkdir -p $vmail_base");
>
> Making sure that the script owner has permissions to create this directory.
>
>
>
> On 13 Dec 2014, at 00:48, Chris Tunbridge <blasterjr at gmail.com> wrote:
>
> You could try using something like the following instead.
>
> $con->execute("system", "mkdir -p $vmail_base");
>
> but i'm not certain as to where this is being called.
>
> On Fri, Dec 12, 2014 at 6:42 AM, kthofer <karl-theo_hofer at inteli-sim.com>
> wrote:
>>
>> Hi there
>> we try to create a new directory
>>   $con->execute("mkdir", "$vmail_base");
>> to store some Voice mail files
>>
>> But for some reason FS is not even trying to create the directory
>> we checked the user rights
>> the spelling
>> but still nothing not even in the linux logs we can not see that FS is
>> trying it atall.
>>
>> Any suggestions??
>> what is going wrong?
>> Please let me know if you have a solution or workaround.
>>
>> --
>> With best regards
>>
>> Karl Theo Hofer
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141215/014a53cf/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list