UCP Call Recording Playback not Working

I have searched for issues related to this and none seem to apply.
After upgrading from 12 to 13 call recording playback in ALL browsers has quit working. I am currently on the latest build - 10.13.66-16. When a user goes into the UCP and selects “Call History” and then clicks on the play button the button turns into a spinning circle and nothing happens after that. No playback, no error, etc. I have tried everything I know to try and cannot resolve the issue.

Thanks!
MTI

There are errors in the console log of the browser.

Yep, I receive a 500 (Internal Server Error). Also, I forgot to mention in my previous post that as soon as you click the play button you receive the message “You are currently working in offline mode.” in the UCP.

Yes but the error will be detailed in the log of the browser. 500 errors is being very wide in description (not your fault!!) So if you could get the error that would be awesome!!

Yeah - that’s like a “Something went wrong” message! I don’t really see an error message in the browser. I SSH’d into the console and it looks like it’s a CODEC issue. Here’s what I get:
[2016-10-17 16:50:11] WARNING[44920]: translate.c:481 ast_translator_build_path: No translator path: (starting codec is not valid)
[2016-10-17 16:50:11] WARNING[44920]: file.c:247 ast_writestream: Unable to translate to format pcm, source format slin48

look at the sound files and try removing all but the wav file and see what happens.

Bob, I’m not exactly sure what you are suggesting here. Look at the sound files where? The files are being created and I can download and play them just not in the browser. This was all working fine before recent updates. I do not want to delete my call recordings.

what extensions are on the sound files?

Use chrome. Open developer tools. Click “sources”. Get it to 500. Click the red source. You’ll see a full error page.

Bob, They’re .wav.
Andrew, What did you think about the errors I posted from the server side?
Here’s the Chrome error: (basically the Jquery/AJAX call is failing since the server’s not responding correctly.)
jquery-1.11.3.min.js:5 POST http://192.168.1.249/ucp/index.php?quietmode=1 500 (Internal Server Error)send @ jquery-1.11.3.min.js:5ajax @ jquery-1.11.3.min.js:5(anonymous function) @ jsphp_68ee78d….js:8dispatch @ jquery-1.11.3.min.js:4r.handle @ jquery-1.11.3.min.js:4
Resource interpreted as Document but transferred with MIME type audio/x-wav: “http://192.168.1.249/ucp/?quietmode=1&module=cdr&command=download&msgid=1476568155.54&type=download&ext=1000”.

Andrew, Can you look at the errors I posted above regarding CODEC’s? It seems like that is probably the source of the issue but I can’t find a solution as of yet. Thanks!

There is more to that error. Which is what I am trying to get you to go get. Sorry it’s actually under the “network” tab.

Also what version of Asterisk is this?

10.13.66-16

Ah, here you go!

RuntimeException
HELP
Failed to convert /var/spool/asterisk/tmp/temp.1476816456600.sln48 to /var/spool/asterisk/tmp/temp.1476816456600.ulaw! Command ‘file convert /var/spool/asterisk/tmp/temp.1476816456600.sln48 /var/spool/asterisk/tmp/temp.1476816456600.ulaw’ failed.

Thanks but thats not the Asterisk version:

asterisk -rx ‘core show version’

Sorry, 13.11.2

Try to reinstall asterisk:

asterisk-version-switch

Then select 13 again.

Boom. Thank you sir!

1 Like

Hello, Andrew.

I’ve got the same issue.

My build number is: 10.13.66-17
Asterisk version: 13.13.1

Command 'file convert /var/spool/asterisk/tmp/temp.1485779400671.sln48 /var/spool/asterisk/tmp/temp.1485779400671.ulaw' failed.
[2017-01-30 16:01:50] WARNING[4714]: translate.c:481 ast_translator_build_path: No translator path: (starting codec is not valid)
[2017-01-30 16:01:50] WARNING[4714]: file.c:247 ast_writestream: Unable to translate to format pcm, source format slin48

I’ve reinstalled asterisk by asterisk-version-switch, but this didn’t help.

Could you please help with this? Thanks.

You have the same issue as above. Corrupt sln48 driver in Asterisk

What do I do to fix that? Could you please help with that? You advised to reinstall asterisk, so I did, but this didn’t give a solution.
Thanks.