Connecting and Configuring Asterisk on CentOS 7.9
To start the server, you just need to start the VM through Azure Portal. To configure the server, you should connect to the VM and call the game console.
1. With OpenSSH
In the Windows 10 operating system (starting with version 1809 ), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If the version of Windows 10 is suitable and the OpenSSH client is installed, then you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command ” ssh “. In response, you should receive information about working with this command.
In general, the syntax of the ” ssh ” command is as follows:
Where “user” is the username that was specified while creating the virtual machine and “server” is the VM IP address.
In the opened console it is necessary to enter a password that was specified while creating the virtual machine.
2. With the PuTTy application
Download it at the following link – Download.
Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
In the opened console it is necessary to enter a username and password that were specified while creating the virtual machine.
- To check that the service is running, enter the command:
> sudo systemctl status asterisk
Press “Q” to exit checking service status
- To enter the asterisk service console enter the command
> sudo asterisk -vvvr
- To view the “Settings” or “Help” in the console of the asterisk service, you can use the commands:
> core show settings
> core show help
This is pre-configured Asterisk v.18
You can easily modify it to your own needs.
To further configuration of the service, use the documentation