The requested URL /RECORDINGS/ was not found on this server

Any and all non-support discussions

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

The requested URL /RECORDINGS/ was not found on this server

Postby Joss2103 » Mon Aug 03, 2020 3:39 pm

How about dear,

Excuse me, I have a problem with call recordings on my vicidial server, I have outgoing campaigns with call recordings, but in the list in the section I can download the recording but minutes later I can no longer access and it shows me the following error:

Lost
The requested URL /RECORDINGS/20200803-151834_4432773569-all.wav was not found on this server.

Does anyone know what this error is about?

thanks in advance.
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby williamconley » Mon Aug 03, 2020 3:46 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) There are scripts in crontab -l (edited via crontab -e) that manage recordings in several stages. During each script, there is a "before" and an "after" file location. These scripts can be run with "--help" for options and can also have a limit of one file added to the execution along with --debugX so you can check for errors in addition to seeing what is happening (and to which recording file).

4) The FTP script (often the last one to run, if it runs) is expected to both move the file to an archive server and modify the link in the system to the file's new location.

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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby Joss2103 » Tue Jun 01, 2021 4:58 pm

@willianmconley

Asterisk 11.22.0-vici apache2 please can you help me?
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby williamconley » Tue Jun 08, 2021 11:49 pm

Sure. What version (including build) of Vicidial are you using?

How did you install it? If you used Vicibox, what .iso installer did you use? (Vicibox X.X.X, not just a single number).
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby Joss2103 » Wed Jun 16, 2021 5:32 pm

Hi williamconley the version is Asterisk 11.22.0-vici and it is hosted in the cloud, I have been investigating and in some forums they say that I update apache I already did it but in fact when updating it I cannot find the apache folder anywhere

Excuse me, my English, I'm using a translator

i hope can you help me
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby Joss2103 » Wed Jun 16, 2021 5:41 pm

@williamconley

I found the path where the recordings are saved
I tell you that I should add a / ORIG / ORIG /


http://X.X.X.X/RECORDINGS/ORIG/ORIG/202 ... cs-all.wav

to be able to listen to the recording, but if I click on the link as you send it, it tells me that the path is not found


http://X.X.X.X/RECORDINGS/20210504-1515 ... cs-all.wav

Could you help me tell me where I can change the route? So that when I click I don't have to add anything

Thanks!!
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby carpenox » Wed Jun 16, 2021 9:08 pm

Do you have this in your /etc/apache2/conf.d ?

cyburity:/etc/apache2/conf.d # cat vicirecord.conf
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"

<Directory "/var/spool/asterisk/monitorDONE">
Options Indexes MultiViews
AllowOverride None
Require all granted
<files *.mp3>
Forcetype application/forcedownload
</files>
php_admin_value engine Off
</Directory>
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.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: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby striker » Thu Jun 17, 2021 1:52 am

@Joss2103

as soon as the call completed the recording path(link) will be update in db as ip/RECORDINGS/xxxx.wav. same replicates in report

based on the cron entry the recordings will be converted to format mentioned in cron (MP3 or GSM) and files moved to respective folder in RECORDINGS(MP3 or GSM) and keeps a copy of wav files in ORIG, Finally it updates the recording download link in db with respective path which will be reflected in reports.

check what format is enabled in cron entry as shown below which coverts to MP3.

1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3

the above cron will run every 3 minutes.
check the respective Folders for your recording
http://ip/RECORDINGS/MP3/
http://ip/RECORDINGS/GSM/

recheck the list section or agent stats report, the recordigns link should be updated with respective format path and extension. http://ip/RECORDINGS/MP3/xxxxx.mp3
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby Joss2103 » Fri Jun 18, 2021 6:38 pm

@carpenox

Hello, I can tell you that I cannot find the folder in any path, and in the CLI I put it to install apache and it tells me that it is already installed

I really appreciate your help, what can I do?
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby Joss2103 » Fri Jun 18, 2021 6:43 pm

@striker

I found the file that you indicate, only it does not have the mp3 line, there is only the following:

# ### recording mixing/compressing/ftping scripts
##0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
# 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
# 1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM
# 2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM
#
# FLAGS FOR COMPRESSION CODECS
# --GSM = GSM 6.10 codec
# --MP3 = MPEG Layer3 codec
# --OGG = OGG Vorbis codec
# --GSW = GSM 6.10 codec with RIFF headers (.wav extension)
#
# make sure that the following directories exist:
# /var/spool/asterisk/monitorDONE # where the mixed -all files are put

however, I found another file that contains the mp3 lines that you indicated to me

usr/share/astguiclient/AST_CRON_audio_3_newftp.pl

# AST_CRON_audio_3_newftp.pl version 2.12
#
# This is a STEP-3 program in the audio archival process. Normally you can run it
# every 3 minutes and copies the recording files to an FTP server.
#
# put an entry into the cron of of your asterisk machine to run this script
# every 3 minutes or however often you desire
#
# ### recording mixing/compressing/ftping scripts
# #0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
# 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
# 1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
# 2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_newftp.pl --MP3
#
# FLAGS FOR COMPRESSION FILES TO TRANSFER
# --gsm or --GSM = GSM 6.10 files
# --mp3 or --MP3 = MPEG Layer3 files
# --ogg or --OGG = OGG Vorbis files
# --wav or --WAV = WAV files
# --gsw or --GSW = GSM 6.10 codec with RIFF headers (.wav extension)
# --gpg or --GPG = GnuPG encrypted files
#
# FLAGS FOR PING SETTINGS
# --ping-type = The type of ping to send. Options are "none", "tcp", "udp", "icmp",
# "stream", "syn", and "external". None disables pinging. Default is "icmp"
# WARNING setting --ping-type="none" can lead to files being "transfer" to no if your ftp server goes down.
# --ping-timeout = How long to wait for the ping to timeout before giving up, default is 5 seconds.

what can i do? help me!! please!!
Joss2103
 
Posts: 99
Joined: Wed Jul 22, 2020 3:20 pm

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby carpenox » Sat Jun 19, 2021 5:11 pm

change the -GSM flag to --MP3
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.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: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: The requested URL /RECORDINGS/ was not found on this ser

Postby striker » Mon Jun 21, 2021 7:00 am

seem all those scripts are hashed

uncomment them that is remove #
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 39 guests