Call Recordings Module - Delete call recordings


(Leo) #1

Howdy,
Purchased the Call Recordings module for ‘Easy Access’
Pretty straight forward apart from the DELETE button:

Can’t have operators to delete their recordings…
Have opened a ticket and the usual answers…

Can anyone advise on how to possibly remove that option?

Thank you


(Dave Burgess) #2

Submit a Feature Request. It seems like a obvious thing you’d want to limit.


(Leo) #3

Support already stated: Can’t be done and I have asked for it to be added as a feature…
Our client won’t be able to use it otherwise


#4

Perhaps a pragmatic work-around is to make the recording read-only for the asterisk user (same as the web user) in a postmonitor script ?


(Leo) #5

Hey dicko thank you,
will they still be able to listen to ?


#6

(Andrew) #7

What @dicko is saying, albeit in his own unique way :wink:, is that read access will allow you to listen to the call recordings.


#8

Now, here is the rub, the asterisk user will not be able to delete a file it doesn’t have write permissions to directly even if ‘self inflicted’ , but because it is the owner of said file, it can but only after the kernel sends it an ‘exception’ it chooses to accept . Hopefully the http code will not be able to bypass that, but if it does, you will need to change either the ownership away from the asterisk user, or make it immutable but leave the Readable permission to the asterisk group/user , both of these require ‘privilege escalation’ which you can’t do in the post recording script