Page 1 of 1

Changed default port 80 but unable to access call recordings

PostPosted: Fri Apr 03, 2020 7:16 am
by PJ111288
Hi,

I have changed default port 80 to 7415 in /etc/httpd/conf/httpd.conf to enable more security to access my dialer by agents and everything seems working fine but when i try to listen or download recording so it is still old ip without web port 7415.

web link to access admin and agent.

http://192.168.1.11:7415/agc/vicidial.php#

Recording link

http://192.168.1.11/RECORDINGS/GSM/2020 ... 92-all.gsm

So where do i need change so that i can access recording like this http://192.168.1.11:7415/RECORDINGS/GSM ... 92-all.gsm

Thanks.

Re: Changed default port 80 but unable to access call record

PostPosted: Fri Apr 03, 2020 4:31 pm
by williamconley
Are you using the ftp transfer option of the audio recording cron jobs? If so, it hard-codes the link. There is, however, a script to update those links.

/usr/share/astguiclient/ADMIN_update_archive_url.pl

Re: Changed default port 80 but unable to access call record

PostPosted: Sat Apr 04, 2020 7:14 am
by PJ111288
Are you using the ftp transfer option of the audio recording cron jobs?

No.

As i mentioned my last post I am trying to add extra security layer by changing the default http 80 port and it is not updating on Recording link so how can i do this?

so that i can access recording like this http://192.168.1.11:7415/RECORDINGS/GSM ... 92-all.gsm

Thanks : )

Re: Changed default port 80 but unable to access call record

PostPosted: Sun May 23, 2021 3:07 am
by PJ111288
Anyone can help me on this?

:(

Re: Changed default port 80 but unable to access call record

PostPosted: Sun May 23, 2021 7:17 am
by carpenox
cheange your vicirecord.conf to follow a more vhost setup


Image

look at the vhost template in /etc/apache2/vhosts.d/

Re: Changed default port 80 but unable to access call record

PostPosted: Sun May 23, 2021 7:39 am
by PJ111288
:) thanks, carpenox, I was sure you will be helping me out.....

Many thanks for this but i have also found a very simple way which is

Admin>Server>Recording Web Link>ALT_IP
Alternate Recording Server IP > 1.1.1.1:2020

Thanks
AS

Re: Changed default port 80 but unable to access call record

PostPosted: Sun May 23, 2021 7:41 am
by carpenox
nice solution, great post back, good shit bro