Specifications
6.0 Useful Linux-Asterisk Commands (for CentOS, RedHat, and Fedora based systems)
Commands from the Linux command line
Tab key use this to “auto complete” command line entries, very
useful!
uname –r displays the kernel version
cat /proc/zaptel/* shows the installed zaptel compatible cards and channels
modinfo “driver name” shows information about the associated linux driver
modprobe “driver name” load a module, in this case the rcbfx module, using the rules
in /etc/modprobe.conf (i.e. used to load the module AND
rm a ztcfg)
insmod driver.ko load a module, all by itself. This is particularly useful when a
module has command line options, use modinfo to see those
rmmod “driver name” unload a module, in this case the rcbfx module
lsmod shows the installed linux modules, sometimes if the list is
long using grep to isolate the zaptel associated entries with
lsmod | grep zaptel display's only the zaptel and zaptel
dependent modules
lspci shows the PCI cards installed
cat /proc/interrupts shows how the interrupts in a linux system are routed
ztcfg –vvv forces zaptel to read zaptel.conf, and to associate entries there
with the module interface with a verbose display
zttool show the zaptel compatible cards, their overall status, and if
selecting a card, its individual status and signaling states
amportal a freePBX specific command to start, stop, and restart asterisk
and freePBX dependencies. (i.e. amportal start, or amprotal
restart)
udevstart restarts the module handling utility, normally this starts on
boot
Asterisk Console (CLI) asterisk -r
Rhino Equipment Corp. • 8240 S. Kyrene Rd. • Suite 107 • Tempe, AZ 85284 • (480) 940-1826
30