SECN User Guide
5.3 Telephony Operation
Overview
MP devices provide an RJ11 port to which a telephone may be connected and each MP device runs
a copy of the Asterisk application to provide the telephony facilities. Asterisk allows phone calls to
be made between devices by means of Voice over IP (VoIP) and Session Initiated Protocol (SIP).
The operation of Asterisk is controlled to a number of configuration files, two of which are of
particular interest for MP devices -
/etc/asterisk/extensions.conf
and
/etc/asterisk/sip.conf
The
extensions.conf
file sets up the dial plan while the
sip.conf
file defines the channels to be used
for making calls.
Operation of Asterisk can be monitored from the MP command line by executing the command:
# asterisk -r
Useful commands in the Asterisk shell include:
CLI> exit
Return to the command shell
CLI> core set verbose 5
Set verbose level to 5
CLI> sip reload
Reload sip.conf configuration
CLI> dialplan reload
Reload extensions.conf dialplan
CLI> show dialplan default Display current dial plan
CLI> sip show registry
Display sip registrations
The MP Asterisk configuration includes several telephone extension numbers that allow interaction
with the device using Interactive Voice Response (IVR) system. These numbers include:
2663 (C-O-N-F)
Configure the
eth0
/
br-lan
IP address of the device
2661
Read out the
ath0
wireless interface IP address
2664
Read out the
eth0
/
br-lan
interface IP address
7774
Read out the
rssi
signal strength
3427
Start DHCP client on
eth0
The SECN firmware includes a facility for making calls using abbreviated dialling using the last
octet of the device IP address by pre-pending the rest of the address. This is set up on re-boot by the
script
/bin/generate-extension.sh
using the MP device's own
br-lan
IP address as reference
.
Making Calls to MP Devices
To dial an MP device using the full IP address, dial the IP number substituting the * character for
the dots between octets in the address. To dial an MP with address 10.130.1.21, dial
10*130*1*21
To dial an MP device using abbreviated dialling, simply dial the last octet of the unique IP number
assigned to the required MP. This can be dialled as 1, 2 or 3 digits eg
5 (device address 10.130.1.5)
25 (device address 10.130.1.25)
105 (device address 10.130.1.105)
Note that numbers with leading zeroes are reserved for the external SIP provider dial plan.
SECN_UserGuideV1d6b
20