Can't upload or play recordings

Status
Not open for further replies.

5280pbx

Member
Feb 4, 2019
68
1
8
39
Hi, see attached. I can't upload new recordings and when I try to play recordings, nothing happens.


Any help appreciated!
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
Anything in the error logs for nginx/PHP?

/var/log/nginx/error.log

Do the files exist in the recording location?

Anything in the journal?
 

5280pbx

Member
Feb 4, 2019
68
1
8
39
Anything in the error logs for nginx/PHP?

/var/log/nginx/error.log

Do the files exist in the recording location?

Anything in the journal?

Thx for your reply! Just attempted to download a recording and I this error on line 71

2023/01/19 10:49:18 [error] 19642#0: *8277 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 174.63.8.56, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "pbx.signiamarketing.com", referrer: "https://pbx.signiamarketing.com/app...t=bin&id=5868b975-d378-4ad7-aaa3-bbac385aef27"
 

Attachments

  • error.zip
    2.6 KB · Views: 2
Last edited:

hfoster

Active Member
Jan 28, 2019
677
80
28
34
Red herring there, browsers expect the favicon in different places. You can make it go away by copying the favicon to the root fusionpbx folder:

# cp /var/www/fusionpbx/themes/default/favicon.ico /var/www/fusionpbx/favicon.ico

Considering both play and upload are broken, you haven't disabled javascript have you?
 

5280pbx

Member
Feb 4, 2019
68
1
8
39
I don't know how to disable that on a site level in the browser, so I've tried it in 2 browsers I never used and it doesn't work in either, so not sure if it's a js issue...
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
It's the only thing I can think that would break both playback and upload. The file ends up nicely in my recording folder:

# locate 1d6f8
/var/lib/freeswitch/recordings/pbx.example.com/1d6f8e21-3038-4334-9302-81ed165ef213.mp3
# file /var/lib/freeswitch/recordings/pbx.example.com/1d6f8e21-3038-4334-9302-81ed165ef213.mp3
/var/lib/freeswitch/recordings/pbx.example.com/1d6f8e21-3038-4334-9302-81ed165ef213.mp3: MPEG ADTS, layer III, v2.5, 32 kbps, 8 kHz, Stereo

Any errors in the browser log? (Press F12 and go to the Console tab):

1674138013005.png
 

5280pbx

Member
Feb 4, 2019
68
1
8
39
Oh wow. Issue fixed, and it was my fault. A few months ago I started going through turning off recording options. Intent was only to disable call recordings - not actual recording files for use with phone system. "An alert that said 'not autorized'" would have been nice but not everything can be done perfectly!

Thx for your help! Appreciate it much! Many posts go without any answers on here
 
Status
Not open for further replies.