Upgrade 3CX to v18 and get it hosted free!

Asterisk Quickstart

Author image

10-minute guide to Asterisk

Easy tips if you want to get Asterisk up and running on your Linux system within minutes:

  • Download the tarball: Download the Asterisk stable distribution tarball from https://www.voip-info.org/asterisk-mirrors/.
  • Build Asterisk: Unpack the tarball and run make to build it. After that, run make install.
  • Install sample configuration: Run make samples after make install. This will install the standard sample configuration in the directory /etc/asterisk. Go there.
  • Start Asterisk: The first time, start Asterisk in console mode with some debugging applied. If it does not start, check the hardware requirements.

$ asterisk -vvvvc

  • Don’t change anything yet: Try to start Asterisk with NO changes to the config files. If it doesn’t start then the problem is probably with your system hardware.
  • Create a SIP account: Copy one of the device configs in the SIP configuration file sip.conf and change for one of your phones. You should only have to change the device id. Don’t get fancy with authentication or NAT. Make sure the phone (see Asterisk phones) and your Asterisk server is on the same network, with no firewall and NAT device between them. If you want to learn more on how to get this configured, read the introduction articles referenced to on the Asterisk page, the bottom half.
  • Restart Asterisk: Either issue the RELOAD command at the Asterisk CLI or completely shutdown and restart Asterisk. (RELOAD should be sufficient but one of the 2 is required)
  • Call the demo: test that phone by calling extension 1000 (assuming you have the sample Asterisk config extensions.conf). You should get the demo greeting and be able to do such things as ECHO test, leave voicemail for a sample mailbox. Instructions are in the demo greeting you will hear. How this works is explained in the extensions.conf demo file installed for you in the /etc/asterisk directory.
  • Add another phone: If all of the above works then add your 2nd phone into sip.conf and add a dialplan for those 2 devices to extensions.conf so that they can call each other. (don’t forget to RELOAD or restart)
  • Choose a voice: Once things are working, you should decide if you want to use the default voice distributed with Asterisk, or install a professional third-party sound file collection made to replace the default voice. Voice Vector Media and others offer complete replacement sound file collections for free. In addition, inexpensive custom recording services are typically offered to allow you to customize the collection for your needs using the same voice.
  • Start exploring Asterisk: If all of that works then start making fancy config files and using additional features. Maybe add a hardware card to connect your PSTN connection to your Asterisk or start experimenting with free SIP accounts on the Internet, like Free World Dialup.

Welcome to the growing Asterisk user base!

If you need more in-depth directions, see Asterisk Step-by-step Installation.



Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.