[ASTPPCOM-901] Call Recording playback interface issue Created: 15/Jun/22 Updated: 29/Jul/22 Resolved: 01/Jul/22 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Highest |
| Reporter: | Satband | Assignee: | Nikunj ayar (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 4.5h | ||
| Original Estimate: | Not Specified | ||
| Category: | Call |
| Edition: | Community |
| Description |
|
I enable call recording and file is show on FTP but in interface I got two X and File not found I gave 755 permission for asttp and freeswitch
How I can playback from interface
|
| Comments |
| Comment by Nikunj ayar (Inactive) [ 16/Jun/22 ] |
|
Hello Satband, Do you mean on the GUI or interface recordings are not showing in there ? Please confirm on which os ASTPP is installed. Thanks |
| Comment by Satband [ 17/Jun/22 ] |
|
Hi nikunj Yes records not work on GUI it's show X X file not found ،I use Version 4.0.1 |
| Comment by Nikunj ayar (Inactive) [ 20/Jun/22 ] |
|
Hello Satband, Please follow below steps. Before removing anything we request you to keep backup of it. cd /var/www/html/astpp/playlist/example/media/ ls -la rm recordings mkdir recordings ls -la chmod -Rf 777 recordings make sure you copied all old recordings files to new direcotry -
cp -rf /var/lib/freeswitch/recordings/*.wav /var/www/html/astpp/playlist/example/media/recordings/ Once changes applied please restart nginx service.
systemctl restart nginx Please check and confirm. Thanks
|
| Comment by Satband [ 20/Jun/22 ] |
|
Not resolved attache dcommands log [root@vps2311136 ~]# cd /var/www/html/astpp/playlist/example/media/ |
| Comment by Nikunj ayar (Inactive) [ 21/Jun/22 ] |
|
Hello Satband, Can you please share where the documents are saved as of now. Share the full directory with path in here. Thanks |
| Comment by Satband [ 21/Jun/22 ] |
|
Hello dear sir File saved here /var/lib/freeswitch/recordings Please advice |
| Comment by Nikunj ayar (Inactive) [ 24/Jun/22 ] |
|
Hello Satband, Goodday, As you have shared the recording path from your side is below /var/lib/freeswitch/recordings So below step should work. cp -rf /var/lib/freeswitch/recordings/*.wav /var/www/html/astpp/playlist/example/media/recordings/ this error should not come if the recording directory is as it is as you have shared. Please share the screenshot of below command ls -la /var/lib/freeswitch/recordings/ Thanks
|
| Comment by Satband [ 24/Jun/22 ] |
|
Yes its work now but I need push the command for any new record file ever time |
| Comment by Nikunj ayar (Inactive) [ 24/Jun/22 ] |
|
Hello Satband, It can be the issue related to the permission. You can set cron for permission. Thanks |
| Comment by Satband [ 24/Jun/22 ] |
|
Can I get the command for cron please |
| Comment by Nikunj ayar (Inactive) [ 27/Jun/22 ] |
|
Hello Satband, Please set below in your crontab 0 */2 * * * /usr/bin/chmod 777 -Rf /var/lib/freeswitch/recordings/ Thanks |