Friday, June 15, 2012

REGISTERing Softphone and Analog Phone with Asterisk PBX

In this article we are going to look at configuring Asterisk PBX (Private Branch eXchange) with different Users/Extensions as well as REGISTERing X-Lite Softphone and Beetel M 71 Analog Phone with Asterisk Soft PBX.
Asterisk is installed on Ubuntu 12.04LTS, X-Lite Softphone on Windows XP SP3.

If Asterisk PBX is already running, stop asterisk service.
$sudo /etc/init.d/asterisk stop
 * Stopping Asterisk PBX: asterisk

Edit Asterisk PBX SIP Configuration file
$sudo vim /etc/asterisk/sip.conf

Add users as per requirement, see below snapshot   

Edit extensions.conf file, see below snapshot
$sudo vim /etc/asterisk/extensions.conf 

extern => 1003,n,Dial(SIP/1002,20,tr) is the config in above snapshot which says, "any call to extension 1003 will be forwarded to 1002".
Start Asterisk soft PBX as below
#sudo /etc/init.d/asterisk start
 * Starting Asterisk PBX: asterisk

After starting execute below command as root which will output Asterisk debug logs
#asterisk -vvr

When we start X-Lite Softphone and click Softphone -> Account Settings
below window should appear

Analog Phone is connected to ATA (Analog Telephone Adapter). ATA will have Phone Ports (RJ11) for connecting Analog Phones and Ethernet Ports (RJ45) for connecting to IP network.
Below snapshot shows Analog Telephone Adapter (ATA) connection setting.

REGISTERing my X-Lite Softphone with Asterisk PBX.

In the same way we should register Analog Phone(beetel M 71) with Asterisk PBX. Once the registration is done we can call from Analog Phone to Softphone or viceversa.

To get into details of how communication happens between Asterisk PBX and X-Lite Softphone by getting into each packet of the above capture see below post


  1. Thanx it works....

  2. Are you want to say your customer that you are offering a discount on your product? Well, then you should use text from landline service this is the easiest way to reach customers quickly.

  3. This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you. Trace a mobile phone worldwide

  4. Play Blackjack at a Casino! - Microgaming - Microgaming
    A classic card game is a thrilling and 1xbet korean engaging blackjack 출장샵 game at goyangfc Microgaming. This fun game 토토사이트 is now available for your device!

  5. It's my first visit to your site, and I've discovered a wealth of fascinating content, particularly the discussions. Thank you for sharing. Rastrear IMEI