Checking asterisk
1.Checking asterisk operation with the command
# asterisk –rvvvv
2. If we see such a response. This means that asterisk does not start
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
3. Start asterisk in debug mode with the command.
# asterisk –cvvvv
4. If there is an error Asterisk will stop at it with the ERROR label
5. If everything is in order then here is a record like this
== res_manager_devicestate.so => (Manager Device State Topic Forwarder)
== Parsing '/etc/asterisk/cli_permissions.conf': Found
== Parsing '/etc/asterisk/cli.conf': Found
Asterisk Ready.