[asterisk-users] Weird asterisk error: ztscan command not found
Steve Repo
scmuser at gmail.com
Thu Aug 28 06:18:23 CDT 2008
Hello,
I've installed Asterisk and Asterisk GUI 2.0. The GUI says "No Analog
Card found" and /etc/asterisk/ztscan.conf is empty.
I see the following message from asterisk,
<snip>
-- Executing [executecommand at asterisk_guitools:1]
System("Local/executecommand at asterisk_guitools-a145,2", "uptime >
/var/lib/asterisk/static-http/config/sysinfo_output.html") in new
stack
-- Executing [executecommand at asterisk_guitools:2]
Hangup("Local/executecommand at asterisk_guitools-a145,2", "") in new
stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited
non-zero on 'Local/executecommand at asterisk_guitools-a145,2'
-- Executing [executecommand at asterisk_guitools:1]
System("Local/executecommand at asterisk_guitools-f51c,2", "touch
/etc/asterisk/applyzap.conf") in new stack
-- Executing [executecommand at asterisk_guitools:2]
Hangup("Local/executecommand at asterisk_guitools-f51c,2", "") in new
stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited
non-zero on 'Local/executecommand at asterisk_guitools-f51c,2'
-- Executing [executecommand at asterisk_guitools:1]
System("Local/executecommand at asterisk_guitools-3adf,2", "ztscan >
/etc/asterisk/ztscan.conf") in new stack
/bin/sh: ztscan: command not found
[Aug 29 00:37:13] WARNING[3699]: app_system.c:107 system_exec_helper:
Unable to execute 'ztscan > /etc/asterisk/ztscan.conf'
== Spawn extension (asterisk_guitools, executecommand, 1) exited
non-zero on 'Local/executecommand at asterisk_guitools-3adf,2'
== Parsing '/etc/asterisk/ztscan.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
== Parsing '/etc/asterisk/zaptel_guiRead.conf': Found
== Parsing '/etc/asterisk/../zaptel.conf': Found
</snip>
My ztscan is installed in /sbin/ztscan.
And running /sbin/ztscan produces,
<snip>
[root at iw1 ~]# /sbin/ztscan
[1]
active=yes
alarms=UNCONFIGURED
description=wrtdm Board 1
name=WRTDM/0
manufacturer=
devicetype=
location=
basechan=1
totchans=24
irq=0
type=analog
port=1,none
port=2,none
port=3,FXO
port=4,FXO
port=5,none
port=6,none
port=7,none
port=8,none
port=9,none
port=10,none
port=11,none
port=12,none
port=13,none
port=14,none
port=15,none
port=16,none
port=17,none
port=18,none
port=19,none
port=20,none
port=21,none
port=22,none
port=23,none
port=24,none
[root at iw1 ~]#
</snip>
Here's a bit more about my hardware,
PC Hardware:
AMD X2 4600+ AM2 CPU
Gigabyte GA-EM780G-S2H (rev 1.1)
2GB DDR2 800MHz
VoIP Hardware:
Sangoma A200 PCI-E (No HW echo canceller)
2x FXO Ports
Software:
CentOS 5.2 x86_64 up-to-date
Sangoma:
Wanpipe (STABLE) 3.2.7.1
Asterisk:
asterisk 1.4.21.2
libpri 1.4.5
zaptel-1.4.11
asterisk-addons-1.4.7
How do I tell asterisk-gui to find /sbin/ztscan so that it can
populate /sbin/ztscan and hence find the hardware?
Thanks in advance,
Steve
More information about the asterisk-users
mailing list