[kwlug-disc] KWLUG - The Kitchener Waterloo Linux User Group subscription update for mail-forum-merge
webhost at kwlug.org
webhost at kwlug.org
Wed Feb 9 22:17:10 EST 2011
These are your messages
New content of type Blog entry has been submitted
- Using an Android Phone as an Asterisk extension
Think about using your Android phone, connected through 3G or through WiFi as
a telephone extension.
What do you need?
* An Asterisk server (can be set up very easily)
* A DID (VoIP phone line which usually costs very little)
* An Android phone (or multiple phones)
Of course, Android is a phone, but using the cellular network costs money. If
you configure your smart phone to register to Asterisk, the calls to your
home/office are free and the calls to other numbers cost the same as if you
were calling from the home/office.
Here is my home network topology:
On your home network:
1) If your network does not have an static IP, either get one or register
with DynDNS.com  and follow the instructions.
2) If your Asterisk server faces the Internet, ensure that ports 10000-20000
are open in your firewall.
If your Asterisk server is behind another firewall, ensure that those
ports are forwarded to the Asterisk box and add the following to the
[general] section in sip.conf
externip=<my domain name>
localnet=<IP base for my network>/255.255.255.0
3) Setup an extension in sip.conf (you can use whatever extension you
secret=complexPassword ;NOTE it is important to set up a complex password
qualify=no ; Will not drop the connection
nat=yes ; This phone may be outside the network
host=dynamic ; This device registers with us
canreinvite=no ; Asterisk by default tries to redirect
context=default ; Or whatever context you want to define in Asterisk
mailbox=103 at default ; only if you are configuring voicemail.
5) Add a dial plan for the new extension in extensions.conf
exten => 103,1,Dial(SIP/103)
6) Restart your Asterisk Server
$sudo /etc/init.d/asterisk restart
On the Android Phone:
1) Download and install a SIP softphone application.
The one that has worked for me is CSIPSimple . I tried 3CX  but it
had a lot of echo.
2) Create a new account using the basic settings:
Account name: Whatever you want, I use "home"
Server: The IP address of your Asterisk server
User name: 103 (or the corresponding extension)
Password: the extension password defined in sip.conf
And that's it! your phone should be able to register and dial other
extensions regardless of being inside or outside your network. If you have
already registered your Asterisk with a DID provider, then you can start
Read more http://kwlug.org/node/812
This is an automatic message from KWLUG - The Kitchener Waterloo Linux User
To manage your subscriptions, browse to
More information about the kwlug-disc