This was never a concern …
Using SangomaOS (built from .ISO)
When I try to use the system recording module …
ADD a new recording (.WAV file) (used many times on many PBX’s)
SangomaOS starts to finish (by showing) a sub pop-up dialog box saying something like:
“processing .WAV”
Then it stops and says something like there was an error.
This is doing the same thing with the uploading of a .WAV for MOH.
Thanks for any tips.
comtech
(Com Tech)
November 15, 2022, 8:52pm
2
What version of FreePBX and what module version?
SangomaOS version: 12.7.8-2208-2.sng7
from /etc/schmooze/pbx-version
Recordings module: 16.0.11
All modules updated today (1 hour ago)
What does it actually say? Might give a clue to the problem.
lgaetz
(Lorne Gaetz)
November 16, 2022, 1:46pm
5
Attempted to repro this with recordings module ver. 16.0.11 and it’s working for me. I wonder if the wav file you’re attempting to upload is bad. There may be something logged in /var/log/asterisk/freepbx.log
when the error happens.
1st dialog box says:
Processing custom/Access-Code for en in format wav
Normally
(you see this 1st and after this: the upload just works)
2nd dialog box says:
There was an error. See the console for more details
This is the 2nd pop-up we get after the attempted upload
Hi Lorne:
Thank you for the log watching tip
using tail -f var/log/asterisk/freepbx.log
This is the entry which comes up during the attempted upload
[2022-11-16 17:30:20] [freepbx.INFO]: [NOTIFICATION]-[FRAMEWORK]-[UNSUPPORTED_SLN48] - The file format sln48 is not supported on your system (The file format sln48 is not supported by Asterisk when it should be. Audio conversion quality will be limited to 16k instead of 48k. This is probably the result of the missing Asterisk resample package)
Note: using this same .WAV on another PBX is working, and I’ve used the .WAV for a long time on a few boxes over the years.
lgaetz
(Lorne Gaetz)
November 16, 2022, 5:48pm
9
Are the asterisk versions different between the two systems? Do you get a different result when you do core show codecs
from the asterisk console?
Working box (takes the new system recording upload)
12.7.8-2208-2.sng7
Asterisk 18.13.0
Non-Working box (fails on the upload of the .WAV file)
12.7.8-2208-2.sng7
Asterisk 18.13.0
These (2) boxes were built around the same time (maybe 2 months back or so)
I like using that tail -f command: will do this in the days ahead before posting.
I know things like this can be cumbersome to try to fix, so thanks for any tips.
ksdpbx
(ksdpbx)
November 16, 2022, 6:17pm
11
Not sure if it’s entirely related but I am actually running into problems too, since yesterday, when trying to make custom sounds in System Recordings. I am not seeing anything in the freepbx.log file or any other log files at the same time, so not sure what’s going on. Where should be checked when it says “see the console for more details?” I’ve looked around the GUI in the Asterisk Logfiles section, but nothing seems to come up.
I converted text to speech using a TTS converter online. Then I downloaded it (it comes as an MP3) and converted to wav using Audacity. It has worked perfectly before but now it’s failing:
ksdpbx:
If you can SSH into your PBX, use this command
tail -f /var/log/asterisk/freepbx.log
Then, use the UI to try again, and you’ll see the error pop up on your tail -f command.
or, check them out manually by changing to:
cd /var/log/asterisk
Thanks for putting up the screen SHOT showing the console error because I did not realize we can put images in our posts: never thought of it.
ksdpbx
(ksdpbx)
November 16, 2022, 6:31pm
13
Hmm, when doing the tail function, all I’m getting is this (and not sure if it’s picking up me trying to do the system recording, because it doesn’t pop up with anything until 10-15 seconds after it says there was an error):
[root@freepbx zoneinfo]# tail -f /var/log/asterisk/freepbx.log
[2022-11-16 10:25:01] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:25:24] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:25:24] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:25:25] [freepbx.INFO]: Deprecated way to add Console commands for module api, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:25:25] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:25:25] [freepbx.INFO]: Deprecated way to add Console commands for module voicemail, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:25:25] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:25:25] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:25:50] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:25:50] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:26:01] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:26:01] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:26:02] [freepbx.INFO]: Deprecated way to add Console commands for module api, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:26:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:26:02] [freepbx.INFO]: Deprecated way to add Console commands for module voicemail, adding console commands this way can have negative performance impacts. Please use module.xml. See: Adding fwconsole commands - FreePBX OpenSource Project - Documentation [] []
[2022-11-16 10:26:02] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:26:02] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2022-11-16 10:26:18] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2022-11-16 10:26:18] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
I didn’t see anything in /var/log/asterisk that seemed to show anything relevant. I opened the directory in WinSCP and sorted by date modified. The fail2ban, freepbx.log, and full were the only ones changed around that time, but I see nothing in them related to the recordings or any errors there. Only things I see in full are these from that time (and I get these same messages a lot, so not related I’d imagine):
Is your PBX the same as the ones I have?
see:
cat /etc/schmooze/pbx-version
From Asterisk -r
core show version
ksdpbx
(ksdpbx)
November 16, 2022, 8:15pm
15
Here’s what mine’s at. I haven’t updated to 18 yet.
Ah:
We are both using: 12.7.8-2208-2.sng7
But not the same version of Asterisk.
We should know more soon.
system
(system)
Closed
December 17, 2022, 8:34pm
17
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.