The environment is Ubuntu 10.10 (Maverick Meerkat) Desktop freshly installed and updates done.
Firstly, install asterisk:
sudo apt-get install asteriskbeing 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:
User Name: user-01
Dial s or 1000 to activate the demo.