System Sanity Check

From Pbxnsip Wiki

Jump to: navigation, search

There are a few things that you can check after installation:

Contents

Ports

The PBX uses several ports for the communication with web browsers, SIP devices, DNS, TFTP and other protocols. You can use the "netstat" command both in Linux and Windows to see which ports the process uses.

Sometimes there is a conflict of ports. For example, if there is already another program occupying the SIP port (e.g. a soft phone). In this case you need to close the soft phone and restart the service.

Other typical conflicts are the usage of the HTTP port. Usually you can easily resolve that conflict by running the PBX web server on another port. In order to do this, stop the PBX service and change the working directory of the shell to the working directory of the PBX. Then you can start the PBX with the argument "--http-port 8080". Make sure that you can access the web server. Also make sure that the used ports in the web interface show the same port.

Permissions

You also must make sure that the PBX has the permission to write the working directory of the PBX. Typically, this is no problem. But you should check that the working directory contains folders like "users", "extensions" and so on.

Please also make sure that the directory "recordings" exists; otherwise you will have problems with the recording of audio files (e.g. mailbox messages).

Automatic Restart

In Windows, you can use the service manager to make sure that the service is always running. On order to do this, open the service manager and exit the pbxnsip service. There is a tab which explains what should be done when the service fails. Make sure that the service is restarted on the first attempt.

Check the Task Manager for the "pbxctrl.exe" process. This process should be running only once; if it runs several times you have probably started it several times by accident.

SIP Traffic

Try to register a phone and make a phone call to a number like *97. You should hear the PBX playing back an audio file.

Performance

If things are running and you can make phone calls, the next thing you might run into is performance problems. Usually this is caused by forgetting to turn flags off. You can see a checklist on the page Performance Optimization.

Personal tools
Getting Help