I really like the stats package included with WordPress, it provides an excellent source of ideas for what I should write about next. Many of you reach me through a post titled Asterisk and Fedora Core 7 looking for more specifics on how to configure Asterisk. If you need to install Asterisk on FC7, read the Asterisk and Fedora Core 7 post first.
Alright, so you’ve got Asterisk installed but its not configured or has the default Asterisk sample configuration files.
The Asterisk configuration files are found in /etc/asterisk. If you are using Asterisk without telephony hardware, you really need to be concerned with 2 or 3 files. Of importance are the following files
- sip.conf: this file contains everything to do with the SIP protocol, settings and authentication for Asterisk.
- extensions.conf: At the most basic level, this file contains the call-plan; what happens on in-bound calls and how outgoing calls are to be treated.
You’re also going to need something to test Asterisk with. Either a soft-phone such as X-Lite or a handset device such as a Polycom 430, or a ATA device, such as the LinkSys PAP-2.
For the sake of this sample, we’re going to configure Asterisk to handle the SIP registration of 3 IP devices.
- X-Lite Softphone [extension 203]
- a Polycom 301 [extension 200]
- a Linksys PAP-2 (Vonage un-locked) [extensions 201 and 202]
sip.conf is easy enough to get going; some advanced features found on some handsets may require additional settings but to keep things simple lets start with the softphone alone.
Backup your existing /etc/asterisk/sip.conf and go with something like this..