<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Open Sans";
        panose-1:2 11 6 6 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hello Alex,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>yes i know i could contact support-team directly but I thought this is also a CE problem.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Btw: we already solved it!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>It was a permission problem of the directory </span><span lang=EN-US style='font-size:10.0pt;font-family:"Open Sans",sans-serif;color:#2D2D2D;background:white'>/var/lib/rtpengine-recording<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>This directory just has “root” user rights, so recordings could be written there from the recordings module but could not be deleted via WebGUI cause WebGUI is not root just “www-data”.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>After setting “www-data” permission for read and write to this directory deleting of call recordings works via GUI.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Maybe you can fix this in a upcoming update or maybe note it in the handbook.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Thanks </span><span lang=EN-US style='font-family:"Segoe UI Emoji",sans-serif;mso-fareast-language:EN-US'>😊</span><span lang=EN-US style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE>Von:</span></b><span lang=DE> Alex Lutay <alutay@sipwise.com> <br><b>Gesendet:</b> Montag, 17. Mai 2021 10:20<br><b>An:</b> spce-user@lists.sipwise.com<br><b>Betreff:</b> Re: [Spce-user] Call Recordings can't be deleted via GUI mr8.5.4<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Dear Matthias,<br><br>It is definitely a permissions issues.<br>Both ngcp-panel (WEB+API) and RTPEnging need read+write access to files <br>stored on NFS share.<br><br>AFAIK, Sipwise support team can assist you here. Isn't it?<br><br>On 5/16/21 11:52 PM, [ EXT ] Matthias Hohl wrote:<br>> Hello again,<br>> <br>> deleting a call recording is still not working. Normal delete and force <br>> delete don’t work.<br>> <br>> But if I delete the recorded file on the NFS share, I can delete the <br>> call recoding via GUI with “force delete”.<br>> <br>> So there is somewhere a permission problem… but really don’t know where <br>> cause the GUI account has master and system rights.<br>> <br>> BTW: how can I batch-force-delete all entries of a subscriber, peer? Is <br>> there some CLI command for it?<br>> <br>> thanks<br>> <br>> *Von:*Matthias Hohl <<a href="mailto:matthias.hohl@telematica.at">matthias.hohl@telematica.at</a>><br>> *Gesendet:* Mittwoch, 12. Mai 2021 00:55<br>> *An:* <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>> *Betreff:* [Spce-user] Call Recordings can't be deleted via GUI mr8.5.4<br>> <br>> Hello,<br>> <br>> I played around today with the call recordings feature and it works fine <br>> so far. I can playback them via GUI and also download it from NFS share.<br>> <br>> But as I try to delete my recorded files via the GUI (Subscriber > Call <br>> Recordings > Delete Recordings) I get an error back: Failed to delete <br>> recording [167E2498F5DADAF8]<br>> <br>> Also if I try to enable “Force delete” I get back the same error message.<br>> <br>> In var/log/ngcp/panel.log I found this:<br>> <br>> May 12 00:50:34 spce ngcp-panel: ERROR: IP=188.65.77.77 <br>> CALLED=Controller::Subscriber::delete_recording TX=167E24DA0B49FD10 <br>> USER=matthias.hohl DATA=<span style='font-family:"Tahoma",sans-serif'>�</span>{ 'submitid' => '', 'save' => <br>> "L\x{f6}schen"}<span style='font-family:"Tahoma",sans-serif'>�</span>MSG="<span style='font-family:"Tahoma",sans-serif'>�</span>Failed to delete recording (Can't <br>> unlink('/var/lib/rtpengine-recording/61d8faaa58d48272164dd0c559dab759%40xxx.telematica.at-0756b6033b77axxx-mix.wav'): <br>> Permission denied at /usr/share/perl5/NGCP/Panel/Utils/Subscriber.pm <br>> line 2434#012)<span style='font-family:"Tahoma",sans-serif'>�</span>" LOG=""<br>> <br>> May 12 00:50:42 spce ngcp-panel: ERROR: IP=188.65.77.77 <br>> CALLED=Controller::Subscriber::delete_recording TX=167E24DBE996FB08 <br>> USER=matthias.hohl DATA=<span style='font-family:"Tahoma",sans-serif'>�</span>{ 'submitid' => '', 'force_delete' => '1', <br>> 'save' => "L\x{f6}schen"}<span style='font-family:"Tahoma",sans-serif'>�</span>MSG="<span style='font-family:"Tahoma",sans-serif'>�</span>Failed to delete recording (Can't <br>> unlink('/var/lib/rtpengine-recording/61d8faaa58d48272164dd0c559dab759%40xxx.telematica.at-0756b6033b77axxx-mix.wav'): <br>> Permission denied at /usr/share/perl5/NGCP/Panel/Utils/Subscriber.pm <br>> line 2434#012)<span style='font-family:"Tahoma",sans-serif'>�</span>" LOG=""<br>> <br>> I record to a NFS mount:<br>> <br>>     nfs_remote_path: /NFS_share/call-recordings<br>> <br>>     output_dir: /var/lib/rtpengine-recording<br>> <br>> Any idea how to fix that?<br>> <br>> Mit freundlichen Grüßen,<br>> <br>> Matthias Hohl<br>> <br>> <br><br>-- <br>Alex Lutay<br><br>-- <br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><o:p></o:p></p></div></body></html>