5.7. Getting Real VoIP with Free World Dialup
Problem
You want to get your Asterisk server up and running and connected to the outside world as quickly as you can. So, you want to start off with some basic VoIP services and start making calls over the Internet.
Solution
Connect your Asterisk server to Free World Dialup (FWD).With Free World Dialup, you can make free calls to other FWD users, and to the users on the networks that FWD peers with.(A notable exception is the party pooper Vonage, which does not wish to associate with other VoIP networks.)
First, go to Free World Dialup (http://www.freeworlddialup.com/) and sign up for an account. When you receive your welcome email, log in and change your password.
Then, go to the Extra Features link and enable IAX because you'll be setting up an IAX trunk for FWD.
Now, fire up your trusty text editor and configure /etc/asterisk/iax.conf and etc/asterisk/extensions.conf. We'll use /etc/asterisk/sip.conf and /etc/asterisk/voicemail.conf from Recipe 5.5.
In these examples, the FWD login is asteriskuser, password 67890, FWD phone number 123456. Incoming FWD calls are routed to
Ellen Ripley at extension 250.
;;iax.conf;; [general] context=default port=4569 bindaddr=0.0.0.0 disallow=all allow=gsm allow=ulaw allow=alaw register => 123456:67890@iax2.fwdnet.net [fwd-trunk] type=user context=fwd-iax-trunk auth=rsa inkeys=freeworlddialup ;;extensions.conf;; [general] autofallthrough=yes clearglobalvars=yes [globals] CONSOLE=Console/dsp ;free world dialup ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access