Removing Call Recordings for a CLI

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Removing Call Recordings for a CLI

Postby Andy_N » Thu Nov 28, 2024 7:19 am

Hi Everyone ,

I hope this message finds you all well ,

Please assit with the vicidial manually removing a specific CLI, leaving no trace for previous contact attempts.

How to go about it please help it's urgent.

Your assistance would highly be appreciated.

Warm Regards
Andy
Andy_N
 
Posts: 12
Joined: Mon Aug 12, 2024 7:38 am
Location: South Africa

Re: Removing Call Recordings for a CLI

Postby carpenox » Sat Nov 30, 2024 3:41 am

Seems rather suspicious asking to get rid of traces of call, like you're trying to get out of trouble for calling someone you shouldn't. This may not be the case, but it is definitely sketchy. With that being said, you could delete the record from mysql and the asterisk logs, however, your voip carrier will still have the records and thats where they tend to go for any tracebacks, so it would be useless to try to delete evidence of a call.
Alma Linux 9.5 | SVN Version: 3909 | DB Schema Version: 1724 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2536
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Removing Call Recordings for a CLI

Postby Andy_N » Wed Dec 04, 2024 1:22 am

Affairmative, :wink:

Thank you so much for your response.

I'm asking because there is an internal sabotage, and I wanted to traceback on it. Thanks again @carpenox

Kind Regards
Andy
Andy_N
 
Posts: 12
Joined: Mon Aug 12, 2024 7:38 am
Location: South Africa

Re: Removing Call Recordings for a CLI

Postby williamconley » Wed Dec 04, 2024 11:51 pm

To find ALL traces of a call:

For log files on disk, you can use "grep". This would be in the /var/log/asterisk folder and the /var/log/astguiclient folder. Note that some of these files may be compressed and require zgrep to search them without having to decompress everything.

Code: Select all
cd /var/log/asterisk; grep 8885551212 * -Rn


For database files, I've found that performing a data dump to a non-compressed sql file and then using "grep" on the mysqldump file is comprehensive. There is a command in mysqldump to force "one record per line" so you don't have a match on a line with 5000 records in it, which is ... awkward to work with.

For CDR logs ... they are (depending on configuration) either in /var/log/asterisk/ sub folders (which would be greppable as they are file-based logs if present) or in a table which may be in a different database, so you would just dump all the databases that may have call data.

Then there's the SQLITE database, I've not had to search one of those for a while but "back in the day" I did find that there were records in there that nobody thought to erase (and that was very handy). Mostly the SQLITE Database is disabled in vicidial installs these days (it'll fill the HD if the server runs for too long, and even slow down asterisk loading after a couple years with a lot of calls). SQLite db is usually in /var/log/asterisk or /var/lib/asterisk and may be cdr.db or sqlite.db. If present and not tiny, there are tools to dump that data to disk as well and/or search the DB.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20345
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Removing Call Recordings for a CLI

Postby Andy_N » Thu Dec 05, 2024 1:03 am

That was very helpful @williamconley :wink: thank you so much.

Warm Regards
Andy
Andy_N
 
Posts: 12
Joined: Mon Aug 12, 2024 7:38 am
Location: South Africa

Re: Removing Call Recordings for a CLI

Postby williamconley » Thu Dec 05, 2024 8:25 pm

Happy Hunting.

8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20345
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 34 guests