Re: The requested URL /RECORDINGS/ was not found on this ser
Posted:
Mon Aug 03, 2020 3:46 pm
by williamconley
1) Welcome to the Party!
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!
Re: The requested URL /RECORDINGS/ was not found on this ser
Posted:
Thu Jun 17, 2021 1:52 am
by striker
@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
Re: The requested URL /RECORDINGS/ was not found on this ser
Posted:
Fri Jun 18, 2021 6:43 pm
by Joss2103
@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!!
Re: The requested URL /RECORDINGS/ was not found on this ser
Posted:
Mon Jun 21, 2021 7:00 am
by striker
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