Taking a Test Drive

From JoatWiki
Jump to: navigation, search

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:
  1. Add your name or handle to "Full Name"
  2. Add "kphone" to "User Part of SIP URL:"
  3. Add the Asterisk IP to "Host Part of SIP URL:"
  4. Leave "Outbound Proxy" blank
  5. Add "kphone" to "Authentication Username"
  6. Leave "q-value" blank
  7. Check the box for "Auto Register"
  8. Click OK
  9. Exit and restart Kphone
  10. Click on the little phone icon
  11. 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

Personal tools