...
Configuration (OS agnostic)
The configuration is located in /etc/openser
. The default configuration is ready for a very simple setup and for some very basic test. You can already try to register to the SIP server.
Troubleshooting with ngrep
Before you try to register to your SIP server make sure udp and tcp port 5060 are open. Use ngrep for tracing SIP messages on the SIP server. Useful commands are:
Code Block |
---|
ngrep port 5060
ngrep -d eth0 port 5060
ngrep -q 'test_user_name'
|
Warning | ||
---|---|---|
| ||
If you get the following error when registering: <Message too big> then probably your host forwards the SIP Message to itself. So trace on localhost to see if this is the case. If your server has more than one DNS entry, make sure that you have all hostnames in /etc/hosts and that you have the following line in your openser.cfg alias="yoursipdomain.ch:5060" |