Elastix Wiki
Advertisement
Elastix logo 1

Elastix FAQ - Fault Finding[]

What command can I write that will tell me what hardware is installed on my machine?[]

At the linux prompt type

lspci

which will provide a similar response to the following

00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)

00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)

00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)

00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)

01:08.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)

and

lsusb

similarly for your USB hardware.

for the more venturesome install “List Hardware”:

yum -y install lshw

and the output of

lshw

will be more complete if not concise.

What is the Asterisk CLI that everyone asks me to enter to issue commands?[]

At the linux prompt type:

asterisk -r -vvvvvvvvvvv

You will now enter the Asterisk Command Line Interface of which you can run a series of commands to confirm the status of various parts of your system

How can I check what extensions my system is seeing?[]

Via the Asterisk CLI type the following command:

sip show peers

It should show you a similar listing as show below. From this we can see that extension 201 and 202 are registered and online, but extensions 203, 208 and 250 are not recognised.

Name/username Host Dyn Nat ACL Port Status

250 (Unspecified) D N A 0 UNKNOWN

208 (Unspecified) D N A 0 UNKNOWN

203 (Unspecified) D N A 0 UNKNOWN

202/202 172.22.22.204 D N A 5060 OK (153 ms)

201/201 172.22.22.200 D N A 5060 OK (9 ms)

5 sip peers [Monitored: 2 online,2 offline Unmonitored: 1 online, 0 offline]


If I edit /etc/asterisk/chan_dahdi.conf will the changes be immediate?[]

In many cases, No, it is safer to stop asterisk and reload dahdi then restart asterisk. The reason is that dahdi is a device driver that talks to the kernel and thus behaves at a lower level than most *.conf files.

amportal stop && service dahdi restart && amportal start

usually works to accomplished this (caveat, there will be a disruption of service when you do this)

Advertisement