Page 1 of 1

Will this server be used as a Telephony server?

PostPosted: Sat Aug 12, 2023 5:32 am
by drodecker
We are performing a full backup of an existing cluster and recovering it to a new server (as VM's). The new server version is being kept to the same version as the old server. (after we get it up and working; will consider updating)

Recovery of the DB went perfect; it's online and happy.

Now upon installing the VoIP server... here's the vicibox-install question that we're unsure about:
Code: Select all
Will this server be used as a Telephony server? [y/N] : y
---> Is this the first server in a cluster? [y/N] :


Would it be considered the first VoIP server even though the cluster had a VoIP server before?


Build Version : 190902-0839
Admin Version : 2.14-718a
Asterisk v.13 found!
Local SVN Revision : 3133
Head SVN Revision : 3751

BTW- please don't preach about the pro's/con's of using VM's; fyi- we've had good luck with another cluster using a different HyperV and this one will have less users.

Re: Will this server be used as a Telephony server?

PostPosted: Sat Aug 12, 2023 6:33 am
by mflorell
If you are restoring a backup from an existing functional VICIdial system, then it will already have entries from the previous VOIP server, so you do NOT want to select 'Y' for the 'first server in the cluster' install option at that step.

Re: Will this server be used as a Telephony server?

PostPosted: Sat Aug 12, 2023 12:42 pm
by drodecker
That makes sense. Thank you.

Re: Will this server be used as a Telephony server?

PostPosted: Sat Aug 12, 2023 1:52 pm
by drodecker
Problem is that the vicibox-install seems to prematurely short-circuit and doesn't install the voip server:

Code: Select all
Configuring Telephony Server...
Telephony server already exists! Server was previously installed.

To be clear-
This was done on a fresh server intended to be a Telephony server; selecting N to being the "first server". The server IP (database record) does exist in the asterisk database.

Re: Will this server be used as a Telephony server?

PostPosted: Sat Aug 12, 2023 2:08 pm
by drodecker
Attempted to delete the server record (using Vicidial GUI).
This allowed vicibox-install to proceed in installing the Telephony server.
However during the install, it had several error's:
Code: Select all
ERROR 1062 (23000) at line 301: Duplicate entry '172.83.90.121-8600297' for key 'serverconf'

Hopefully those are ignorable.

Re: Will this server be used as a Telephony server?

PostPosted: Wed Sep 06, 2023 2:07 am
by Kumba
If you run
Code: Select all
vicibox-install --help
you'll see that there is a --restore option. This is for use when replacing a web or telephony server in a cluster.

Since you've already deleted the server record in the Admin GUI you might as well clear any records in the vicidial-conferences and conferences tables that belong to that server's IP. That will effectively let vicibox-install run as if the server was brand new.