Page 1 of 1

Recording Location Link - preview play

PostPosted: Thu Jan 24, 2019 7:27 am
by maykelsoft
Hi All,

Here am I again. Just curious about recording location and able to play recordings without downloading it yet.

My old server
Installed from: ViciBox_v.7.x86_64-7.0.4
VERSION: 2.14-661a
BUILD: 180222-0017
SVN Version: 2927
DB Schema Version: 1538

Recording Location Link: "http://x.x.x.x/RECORDINGS/MP3/CAMP1_agent46_20190124-002117_Number-all.mp3"
Image

My new server
Installed from: ViciBox_v.7.x86_64-7.0.4
VERSION: 2.14-697a
BUILD: 190121-2019
SVN Version: 3061
DB Schema Version: 1562

Recording Location Link: "https://x.x.x.x/vicidial/recording_log_redirect.php?recording_id=113539&lead_id=189904&search_archived_data=0"
Image

As you may notice in the image above, there was no preview play on new server.

Any hint?

Thanks,
Mike

Re: Recording Location Link - preview play

PostPosted: Wed Jan 30, 2019 7:06 am
by maykelsoft
Hi Guys,

Any hint why on the latest vicidial build don't have a preview play as seen in the screenshot above.

And the recording location link to totally different.
Old Build: "http://x.x.x.x/RECORDINGS/MP3/CAMP1_agent46_20190124-002117_Number-all.mp3"
Latest Build: "https://x.x.x.x/vicidial/recording_log_redirect.php?recording_id=113539&lead_id=189904&search_archived_data=0"

I checked astguiclient.conf on both servers and they're are somewhat identical except for the IP address of course.

Thanks in advance.

Regards,

Re: Recording Location Link - preview play

PostPosted: Thu Jan 31, 2019 6:48 am
by hansg
Hi,

Not sure if this is of any help at all but...

I tend to find that if the recording has not been converted and is still in .wav format then the recording will play within the browser.

However, Once the recording has been converted to .MP3 when clicking on the location it downloads the audio file instead.

Re: Recording Location Link - preview play

PostPosted: Thu Jan 31, 2019 10:02 am
by maykelsoft
Hi Hansg,

On my old server it was already converted to MP3 and it has a <audio controls="" preload="none"> <source src="http://x.x.x.x/RECORDINGS/MP3/CAMP1_agent46_20190124-001018_8885539229-all.mp3" type="audio/wav"> <source src="http://x.x.x.x/RECORDINGS/MP3/CAMP1agent46_20190124-001018_8885539229-all.mp3" type="audio/mpeg">No browser audio playback support</audio>

On my new server here are the code
<a href="recording_log_redirect.php?recording_id=118135&amp;lead_id=8&amp;search_archived_data=0">http://x.x.x.x/RECORD...</a>

Thanks,
Mike

Re: Recording Location Link - preview play

PostPosted: Wed Jun 26, 2019 3:55 pm
by williamconley
1) Your images did not post.

2) "recording_log_redirect.php" is the result of Admin->System Settings: Log Recording Access which blocks untracked access to recordings by "passing through" the recordings instead of linking the user directly to them. The browser does not have access to the recordings any more with this feature active. When you click to listen, the system will first log your access and then acquire the recording and redirect it to your browser inline without you EVER having direct access to the recording (assuming you've altered the permissions of the recordings folder to only allow the localhost server to access them, because if you have not then the visible filename, the date of the call, and "-all.mp3" will gain you unlogged access).

Re: Recording Location Link - preview play

PostPosted: Wed Jun 26, 2019 9:44 pm
by maykelsoft
Hi William,

It's working fine now after changing Admin->System Settings: Log Recording Access from 1 to 0.

Thanks a lot.

Mike