flashphoner
user, not from root for better security. So if you're copying record files somewhere in record hook script, please make sure that this user have permission to write to. For example, if you're copying files to /opt/media
folderSTREAM_NAME=$1
FILE_NAME=$2
echo $STREAM_NAME:$FILE_NAME >> /usr/local/FlashphonerWebCallServer/logs/record.log
cp $FILE_NAME /opt/media
sudo chmod o+w /opt/media
flashphoner
user to sudoers and use sudo
while copyingWe cannot reproduce this issue on our test servers. Please provide SSH access to the server using this form, we will checkI tried to set recording hook manually but server failed to start.
We checked and rechecked by your info provided and hook script does not call, recordings are stored in default folder. How can i see hook script log?Good day.
In latest builds, WCS is starting fromflashphoner
user, not from root for better security. So if you're copying record files somewhere in record hook script, please make sure that this user have permission to write to. For example, if you're copying files to/opt/media
folder
please allow writing permissions to this folderCode:STREAM_NAME=$1 FILE_NAME=$2 echo $STREAM_NAME:$FILE_NAME >> /usr/local/FlashphonerWebCallServer/logs/record.log cp $FILE_NAME /opt/media
You can also addCode:sudo chmod o+w /opt/media
flashphoner
user to sudoers and usesudo
while copying
We cannot reproduce this issue on our test servers. Please provide SSH access to the server using this form, we will check
You can add any logging messages to the script. Please make sure you redirecting messages to a file which is permissive to write, for example, toHow can i see hook script log?
/usr/local/FlashphonerWebCallServer/logs/record.log