Panasonic KX-TGP500 VoIP DECT Telephones configure for Asterisk

Configuring the Panasonic KX-TGP500 Telephones for use with Asterisk.

The Administrator’s Manual
Panasonic Product Page for the KX-TGP500
Firmware and Manuals from the Panasonic Site

DECT telephones offer advantages for wireless because they use different frequencies than WiFi. I have 3 telephones registered with the base unit and the base unit is registered with an Asterisk ver.13 PBX as SIP extension 7005 using voicemail box 8005. (This means that when the extension is called, all 3 telephones ring. The phones can be configured to ring individually on different extensions. That is up to the user.) This DECT set is working with the Asterisk ver.13 configurations found in my previous post, title: Configuration Files for Asterisk v.13 and AllStar Link . The network it is configured for is a HSMM-Mesh Network, so if it were to be configured for a normal LAN the host names would change to IP addresses.

Quick Start: A newly purchased KX-TGP500 base unit that is “open” (that is not pre-configured by a provider) and a KX-TPA50 handset need to be powered on. The handset needs to be registered with the base. To register the phone with the base you need to do the following:

  1. Open the menu of the handset by pressing down on the joystick on the telephone
  2. Then press #130 on the telephone dial pad
  3. There is a button located on the DECT base unit. Press it down for 4 seconds
  4. Then press OK on the Telephone, which will be the button to the right of the word menu just under the screen.
  5. Then dial 0000 on the telephone. Once it returns to the normal screen the handset should be registered and show you a number beside the battery symbol in the screen.

This needs to be done for each phone being registered.

To open the HTML configuration for the base unit, you need to press the joystick on the telephone down and then select the “tool box”, “Network Settings”, “Embedded Web”, and then “On”. The phone will sound a long tone. Then from a web browser sharing the same LAN, type in the IP address of the DECT base unit. You can find this IP address on the telephone by pressing down on the joystick and selecting the tool box icon, then Network Settings, then IP settings. Log into the DECT Base unit HTML configuration with the default username Admin and default password adminpass. Select the VoIP tab on the top menu, and then “line 1” under “SIP Menu” from the left sidebar menu. You should now be on a page that looks like this image:
dect base web menuYou may want to change the addresses from ka7u-2 to your host name or IP address and the extension number is the authentication ID in my Asterisk PBX. The authentication password is the “secret” for the extension as listed in sip.conf.

This should be enough configuration for the DECT phone system to work with Asterisk ver. 13 PBX. There are many other configurations according to your needs.

Ron Morell
KA7U

 

Asterisk ver.13 on the Raspberry Pi2

When I needed to install Asterisk on the RPi2 I searched google and found this “how to”:
http://www.klaverstyn.com.au/david/wiki/index.php?title=Asterisk_Install_on_Debian
Never wanting to reinvent the wheel and noting that this install provides many useful options, I followed the recipe there. For my archive I have copied the instruction set below.

The configurations that bridge this PBX with my AllStar Link system will follow in the next post.
Ron – KA7U
March 3, 2016

To install Asterisk on a Rapsberry Pi with a Debian based system.

Dependencies

apt-get -y install libv4l-dev ffmpeg libx264-130
cd /usr/src
wget http://www.libsdl.org/release/SDL2-2.0.4.tar.gz
tar xvf SDL2-2.0.4.tar.gz
rm -f SDL2-2.0.4.tar.gz
cd SDL2-2.0.4
./configure
make
make install
cd /usr/src
wget http://www.pjsip.org/release/2.4.5/pjproject-2.4.5.tar.bz2
tar xvf pjproject-2.4.5.tar.bz2
rm -f pjproject-2.4.5.tar.bz2
cd pjproject-2.4.5
./configure --enable-shared
make dep
make
make install
cd /usr/src/
wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz
tar xvf jansson-2.7.tar.gz
rm -f jansson-2.7.tar.gz
cd jansson-2.7
./configure
make
make install
make check
apt-get -y install libtiff5-dev
echo /usr/local/lib/ >> /etc/ld.so.conf
cd /usr/src
wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6.tar.gz
tar xvf spandsp-0.0.6.tar.gz
rm -f spandsp-0.0.6.tar.gz
cd spandsp-0.0.6
./configure
make
make install
ldconfig

Asterisk Prerequisite

apt-get -y install subversion libspeexdsp-dev libmyodbc unixodbc-dev libmysqlclient-dev libnewt-dev libncurses5-dev uuid-dev libxml2-dev libsqlite3-dev libssl-dev portaudio19-dev

Install Asterisk

cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar xvf asterisk-13-current.tar.gz
rm -f asterisk-13-current.tar.gz
cd asterisk-13.7.0
./configure
./contrib/scripts/get_mp3_source.sh
make menuselect
make
make install
make config
make samples

Debian Cleanup

apt-get -y autoclean
apt-get -y autoremove