Load snap-in Active Directory Schema
It will then connect to the old AD server first
Right click ‘Connect to Schema Operations Master’ and select the new server
Then select Operations Master and change the role with the new server:

Demoting old server

Obviously, go to the old server;
Use dcpromo.exe, it will say AD is a Global Catalog server;
Go to Active Directory Users and Computers (this can be done from either new server or old server);
Expand the domain and select Domain Controllers;
Select the old server and click on NTDS Settings;
Untick Global Catalog;

And now we should be able to demote the old server.

If you have any questions or comments, please write down below and I would happy to answer 🙂

3CX Setup Guide for UFONE (Supported by 3CX) in New Zealand

Firstly, make sure that the computer/server power scheme is on 'High performance' -- this ensures that the computer operates at maximum performance and it will not goes into sleep mode after 30 minutes (Windows default).

Computer Name format is CompanyName-3CX

Assign IP and make sure that the server is configured for the client’s network (3CX Server IP is NOT designed to be changed after installation) — Add client’s IP as secondary IP if needed!!

Go to https://www.3cx.com/phone-system/download-links/ — and download the latest 3CX Server

After installation done, you will be asked whether you want to continue using web browser (press 1) or CLI (press 2)

Windows Firewall popup might also occur and in that case; tick all network to make sure 3CX is allowed to connect to all the networks.

3CX Management Console credentials, setup the username (e.g. 3cxadmin) and you can also use the same password with Windows’.

If there are any updates available (it will be indicated by red bubble on the Updates link)

Go to Updates Page, tick ‘Automatic updates’, select ‘Weekly 0:00 every Sunday’ — DO NOT tick the 3CX PBX updates (this will make sure all clients/templates are updated while leaving the PBX system untouched to avoid undesirable unknown update effect)

Add SIP Trunk / VoIP Provider:
Country: NZ
Provider: UFONE
Main Trunk Number is the Main Phone Number, e.g. ‘649xxxxxxx’ — FORMAT MUST BE LIKE THIS, OTHERWISE WILL NOT WORK!!

Back to 3CX Management Console, click Phones -» Add Phone -» Choose Extension (e.g. 303) -» Choose from available models (e.g. GXP-1628) and add the mac address of the phone (e.g. ‘000b82a347ab’) -» click OK and OK again to close the extension window.

Go to that phone’s web interface using IP address, enter on browser (e.g. http://192.168.1.33) login using admin:admin and reboot the phone so that it will be provisioned on the next boot.

Setup port forwarding on the router/firewall to the 3CX server IP address for the ports specified below:
» Default SIP port is 5060 UDP and TCP;
» Default RTP ports are 9000-9500 UDP only (please also open these ports in Firewall, and it will not make our network vulnerable as the RTP ports are on-demand, so 3CX will only open when it’s required)
» Default Tunnel port is 5090 UDP and TCP;
» Default https port 5001 or can also 443 TCP.