[Spce-user] Call Recordings can't be deleted via GUI mr8.5.4

Matthias Hohl matthias.hohl at telematica.at
Sun May 16 17:52:37 EDT 2021


Hello again,

 

deleting a call recording is still not working. Normal delete and force delete don’t work.

But if I delete the recorded file on the NFS share, I can delete the call recoding via GUI with “force delete”.

 

So there is somewhere a permission problem… but really don’t know where cause the GUI account has master and system rights.

 

BTW: how can I batch-force-delete all entries of a subscriber, peer? Is there some CLI command for it?

 

thanks

 

 

Von: Matthias Hohl <matthias.hohl at telematica.at> 
Gesendet: Mittwoch, 12. Mai 2021 00:55
An: spce-user at lists.sipwise.com
Betreff: [Spce-user] Call Recordings can't be deleted via GUI mr8.5.4

 

Hello,

 

I played around today with the call recordings feature and it works fine so far. I can playback them via GUI and also download it from NFS share.

But as I try to delete my recorded files via the GUI (Subscriber > Call Recordings > Delete Recordings) I get an error back: Failed to delete recording [167E2498F5DADAF8]

 

Also if I try to enable “Force delete” I get back the same error message.

 

In var/log/ngcp/panel.log I found this:

 

May 12 00:50:34 spce ngcp-panel: ERROR: IP=188.65.77.77 CALLED=Controller::Subscriber::delete_recording TX=167E24DA0B49FD10 USER=matthias.hohl DATA=�{ 'submitid' => '', 'save' => "L\x{f6}schen"}� MSG="�Failed to delete recording (Can't unlink('/var/lib/rtpengine-recording/61d8faaa58d48272164dd0c559dab759%40xxx.telematica.at-0756b6033b77axxx-mix.wav'): Permission denied at /usr/share/perl5/NGCP/Panel/Utils/Subscriber.pm line 2434#012)�" LOG=""

May 12 00:50:42 spce ngcp-panel: ERROR: IP=188.65.77.77 CALLED=Controller::Subscriber::delete_recording TX=167E24DBE996FB08 USER=matthias.hohl DATA=�{ 'submitid' => '', 'force_delete' => '1', 'save' => "L\x{f6}schen"}� MSG="�Failed to delete recording (Can't unlink('/var/lib/rtpengine-recording/61d8faaa58d48272164dd0c559dab759%40xxx.telematica.at-0756b6033b77axxx-mix.wav'): Permission denied at /usr/share/perl5/NGCP/Panel/Utils/Subscriber.pm line 2434#012)�" LOG=""

 

I record to a NFS mount:

 

    nfs_remote_path: /NFS_share/call-recordings

    output_dir: /var/lib/rtpengine-recording

 

Any idea how to fix that?

 

 

 

Mit freundlichen Grüßen,

Matthias Hohl

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210516/628e58f4/attachment-0002.html>


More information about the Spce-user mailing list