Taking a Test Drive
(29 Jan 2008) - For beginners, there's often the urge to take Asterisk for a test drive. It's okay, we all wanted to do this the first time. However, the documentation is a bit thin (or rather, there's too much) on how to do it. After a little bit of Google searching, I found
this which described how to set up Asterisk to accept calls from KPhone, which is available on just about all Linux distro's out there.
In /etc/asterisk/sip.conf, in the [general] section, uncomment the following two lines:
disallow=all
allow=ulaw
And at the end of the file, add:
[kphone]
type=friend
host=dynamic
dtmfmode=inband
secret=whateverpassword
Next, fire up kphone (preferably on another machine to avoid fights over the sound card) and click File-->New Identity. Then:
- Add your name or handle to "Full Name"
- Add "kphone" to "User Part of SIP URL:"
- Add the Asterisk IP to "Host Part of SIP URL:"
- Leave "Outbound Proxy" blank
- Add "kphone" to "Authentication Username"
- Leave "q-value" blank
- Check the box for "Auto Register"
- Click OK
- Exit and restart Kphone
- Click on the little phone icon
- Enter "s" in the remote field and click "Dial"
If you installed asterisk-sounds, you should be listening to the voice menu from the demo.
Comments:
Leave a Comment