Friday, February 4, 2011

minimal asterisk install

The objective is to do as little as possible to setup an asterisk server running and be able to accept a call from a sip client. The sip client is running on the same network as the server.

The environment is Ubuntu 10.10 (Maverick Meerkat) Desktop freshly installed and updates done.

Firstly, install asterisk:
sudo apt-get install asterisk
being in Canada my telephone country code is 1

Second, add a demo sip device by adding these lines to /etc/asterisk/sip.conf:
[user-01]
type=friend
context=demo
secret=test
qualify=yes
host=dynamic

Finally, reload the sip configuration
sudo asterisk -rx ‘sip reload’

Now you can connect with a sip client, such as Telephone for Mac

the settings in this example are:
Domain: test-server.local
User Name: user-01
Password: test

Dial s or 1000 to activate the demo.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete