Page 1 of 1

Call recording stored in telephone server but not in archive

PostPosted: Mon Jan 27, 2020 9:52 pm
by dhijrwn
We have cluster setup, when im checking the call recording the first call i see the path ip address is xxx.xxx.xxx.xx3 which is my archive server so it is correct, but when rebooted the system and took calls i saw the path ip address was change to xxx.xxx.xxx.xx2 which is my telephone server and i didn't know why it changes like that. I want my call recordings must be stored on my archive server which is xxx.xxx.xxx.xx3. How can i fix this? Kindly help meee. Thank you.

ViciBox v.8.1.2
VERSION: 2.14-733a
BUILD: 200115-1702
Asterisk 13.29.2-vici

# LEAD DATE/TIME SECONDS RECID FILENAME LOCATION
16 43 2020-01-27 00:34:07 22 12 20200127-003405_xxxxxxxxxx http://xxx.xxx.xxx.xx2/RECORD...
17 43 2020-01-27 00:31:58 40 11 20200127-003157_xxxxxxxxxx http://xxx.xxx.xxx.xx2/RECORD...
18 43 2020-01-27 00:30:23 30 10 20200127-003022_xxxxxxxxxx http://xxx.xxx.xxx.xx2/RECORD...
19 43 2020-01-27 00:28:21 21 8 20200127-002819_xxxxxxxxxx http://xxx.xxx.xxx.xx2/RECORD...
20 14 2020-01-24 05:36:36 39 7 20200124-213635_xxxxxxxxxx http://xxx.xxx.xxx.xx3/archiv... <--- This is my archive server and this is where should the recording calls must be stored.

Re: Call recording stored in telephone server but not in arc

PostPosted: Wed Jan 29, 2020 8:51 pm
by williamconley
Good job posting your server specs. 8-)

I'm a little unclear about your question: Did you mean to say that one of the links "changed"? A link used to point to the archive and now it points to the dialer?

Or do you mean to say that you saw all links pointing to the archive, then you rebooted, and one or more NEW links now pointed to the dialer instead?

If you meant the latter (new links only, and after reboot), that's a matter of patience. There is a time script that runs and moves the lead, then updates the link. If you look before that script runs, the link will be on the dialer.

Re: Call recording stored in telephone server but not in arc

PostPosted: Fri Jan 31, 2020 1:48 am
by dhijrwn
williamconley wrote:Good job posting your server specs. 8-)

I'm a little unclear about your question: Did you mean to say that one of the links "changed"? A link used to point to the archive and now it points to the dialer?

Yes. it points to the dialer now. the telephone server at /RECORDINGS directory.

and i have this message.
Can't call method "login" on an undefined value at /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl line 507.

[edit - williamconley: 1) deleted the double post 2) added the "end quote" tag]

Re: Call recording stored in telephone server but not in arc

PostPosted: Fri Jan 31, 2020 3:15 pm
by williamconley
it appears your dialer no longer has access to the ftp service (or is broken in some fashion and unable to make the attempt). That's what it's telling you: can't login.

Re: Call recording stored in telephone server but not in arc

PostPosted: Sun Feb 02, 2020 1:18 am
by dhijrwn
williamconley wrote:it appears your dialer no longer has access to the ftp service (or is broken in some fashion and unable to make the attempt). That's what it's telling you: can't login.


yea it seems like that. What I did is i disabled the built in firewall but after that I enabled them on start. I think it cant login because of the firewall??

Re: Call recording stored in telephone server but not in arc

PostPosted: Sun Feb 02, 2020 1:24 am
by dhijrwn
I turned off the firewall of archive server and that fix my problem.

Re: Call recording stored in telephone server but not in arc

PostPosted: Sun Feb 02, 2020 10:11 am
by williamconley
turn it back on and put an exception into the firewall for that server's IP to get through. never run without a firewall on public networks.

Re: Call recording stored in telephone server but not in arc

PostPosted: Mon Feb 03, 2020 12:34 am
by dhijrwn
williamconley wrote:turn it back on and put an exception into the firewall for that server's IP to get through. never run without a firewall on public networks.


Thank you for your help. My problem now, in web server it provides the wrong url for all recordings, I still have another directory but the web server it has a wrong url link.
in the web server it has xxx.xxx.xxx.xxx/archive/allmp3Recordings

but my archive server it has xxx.xxx.xxx.xxx/archive/another_directory/allmp3Recordings. How can i set in web server the correct url to go to the archive url?

Re: Call recording stored in telephone server but not in arc

PostPosted: Mon Feb 03, 2020 10:11 am
by williamconley
dhijrwn wrote:
williamconley wrote:turn it back on and put an exception into the firewall for that server's IP to get through. never run without a firewall on public networks.


Thank you for your help. My problem now, in web server it provides the wrong url for all recordings, I still have another directory but the web server it has a wrong url link.
in the web server it has xxx.xxx.xxx.xxx/archive/allmp3Recordings

but my archive server it has xxx.xxx.xxx.xxx/archive/another_directory/allmp3Recordings. How can i set in web server the correct url to go to the archive url?

depends on the situation. if they've been moved to the archive already, then those new links are hard-coded and you'll need to do two things: 1) Run the archive recording link update script. It takes the old link and the new link and changes the old to the new in the database. 2) /etc/astguiclient.conf has the link that is being provided during ftp transfer. You'll need to change that to the new link so newly created recordings are provided the new link from this point forward.

Re: Call recording stored in telephone server but not in arc

PostPosted: Tue Feb 04, 2020 10:43 am
by dhijrwn
williamconley wrote:
dhijrwn wrote:
williamconley wrote:turn it back on and put an exception into the firewall for that server's IP to get through. never run without a firewall on public networks.


Thank you for your help. My problem now, in web server it provides the wrong url for all recordings, I still have another directory but the web server it has a wrong url link.
in the web server it has xxx.xxx.xxx.xxx/archive/allmp3Recordings

but my archive server it has xxx.xxx.xxx.xxx/archive/another_directory/allmp3Recordings. How can i set in web server the correct url to go to the archive url?

depends on the situation. if they've been moved to the archive already, then those new links are hard-coded and you'll need to do two things: 1) Run the archive recording link update script. It takes the old link and the new link and changes the old to the new in the database. 2) /etc/astguiclient.conf has the link that is being provided during ftp transfer. You'll need to change that to the new link so newly created recordings are provided the new link from this point forward.



Will i run these on web server or tel server?

Re: Call recording stored in telephone server but not in arc

PostPosted: Tue Feb 04, 2020 10:52 am
by williamconley
firewall: both. all servers must be protected.

ftp settings in astguiclient.conf: Dialers only

changes for previous recording links: DB only

Re: Call recording stored in telephone server but not in arc

PostPosted: Wed Feb 05, 2020 1:09 am
by dhijrwn
williamconley wrote:firewall: both. all servers must be protected.

ftp settings in astguiclient.conf: Dialers only

changes for previous recording links: DB only


Thank you very much for your help.