im having this same problem, i have everything installed, i just copied the zapscan.bin to the /sbin/folder (it was not there)
cp /usr/src/asterisk-gui/tools/zapscan.bin /sbin/
i had all the files from svn trunk today for asterisk, libpri, zaptel and asterisk-gui
mine is still not working, my zaptel.conf is ok
]# ztcfg -vv
Zaptel Version: SVN-trunk-r2226
Echo Canceller: MG2
Configuration
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
4 channels configured.
lan5CLI> zap show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 default default In Service
lan5CLI> zap show status
Description Alarms IRQ bpviol CRC4
Wildcard TDM400P REV I Board 1 OK 0 0 0
lan5CLI> zap show channel 1
Channel: 1
File Descriptor: 13
Span: 1I>
Extension:
Dialing: no
Context: default
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: FXO Kewlstart
Radio: 0>
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: noI>
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 1 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Onhook
lan5CLI>
== Parsing ‘/etc/asterisk/extensions.conf’: Found
– Executing [executecommand@asterisk_guitools:1] System(“Local/executecommand@asterisk_guitools-cf4d,2”, “/sbin/zapscan.bin”) in new stack
– Executing [executecommand@asterisk_guitools:2] Hangup(“Local/executecommand@asterisk_guitools-cf4d,2”, “”) in new stack
== Spawn extension (asterisk_guitools, executecommand, 2) exited non-zero on 'Local/executecommand@asterisk_guitools-cf4d,2’
fd == -1 in astman_append, should not happen
fd == -1 in astman_append, should not happen
== Parsing ‘/etc/asterisk/zapscan.conf’: Found
ALSO, i noticed every time i go trough the setub and zapscan.bin runs, it adds fxoks=1,2
fxsks=3,4
to the bottom of the zaptel.conf file even though this file already has this info on it, and after this happens i get this:
ztcfg -vv
Notice: Configuration file is /etc/zaptel.conf
line 235: Channel 1 already configured as ‘FXO Kewlstart’ at line 134
line 235: Channel 2 already configured as ‘FXO Kewlstart’ at line 134
line 236: Channel 3 already configured as ‘FXS Kewlstart’ at line 133
line 236: Channel 4 already configured as ‘FXS Kewlstart’ at line 133
4 error(s) detected
WHAT ELSE AM I MISSING???