Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

Configuring Asterisk

We're almost there! Asterisk is now installed, as are the drivers for the X100P FXO Card. Now we just need to configure everything. By the way, a great resource for hardware configuration is available on Digium's site here.

Tip! Tip: For the remainder of this article, I will be using the nano text editor to edit various configuration files. A few useful hotkey combinations to know are: Control-W to search the text of the file; Control-O to save the edited file; Control-X to exit; and Control-W followed by Control-V to jump to the end of the file.

We first need to make a few changes to the X100P card config file.

nano /etc/zaptel.conf

Will open the card's configuration file with nano. Now add a new line at the end of the file:

fxsks=1

After you save and exit, type:

ztcfg -vv

and you should see that one channel is configured. Now change to the /etc/asterisk directory and open the zapata.conf file:

cd /etc/asterisk
nano zapata.conf

Search for:

signalling=

and you should see a line similar to:

signalling=fxo_ls

which you will modify to be:

signalling=fxs_ks

At the end of the file add two lines:

context=incoming
channel => 1

Finally, let's make another modification so that Asterisk will start at boot in case we ever turn off or reboot this PC:

nano /etc/default/asterisk

Change

RUNASTERISK=no

to

RUNASTERISK=yes

Now simply type:

asterisk

to start it up in the background.

At this point you have configured Asterisk and have a working system. But whenever you change any config file, you need to reload the Asterisk configuration. There are several ways to do this, but one way is:

/etc/init.d/asterisk reload

Finally, check that everything works by making sure you have a working phone line connected to your FXO card, and dialing in from a second line or cell phone. If everything is ok, you will hear the Asterisk demo.

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Hi AllHopefully this is the right place to post...My DSL-AC68U running 384.17_0-gnuton1/atmt (packages below) periodically disconnects from broadband....
Update 2020/11/12 (9.0.0.4.386.40947)https://drive.google.com/drive/folders/1UHZwR1buG-nei8fne9d9OktOS2gZy6Hs?usp=sharingThis version includes 19 mode...
https://onedrive.live.com/?authkey=!AGY2taGX02nVmWA&id=CCE5625ED3599CE0!1427&cid=CCE5625ED3599CE0@RMerlin @thiggins is it possible to have "Alpha" pre...
I had this working for several years and it just recently stopped after I had to reset my router. I thought I had everything set up correctly but I gu...
two separate issues (second redundant with a post on the general forum):1. has anyone made a warranty claim with Asus before? have you received any ob...

Don't Miss These

  • 1
  • 2
  • 3