I don’t know if the problem is completely resolved because I am not at home to try it. But, remotely I think I’ve gotten somewhere on this problem.
When I did asterisk -r and ran “zap show channels”, it concerned me that I would only see the psuedo channel listed. The funny thing is, when I used Asterisk@Home 2.2 or something older then the 2.5 I am using, this all worked.
It would appear the genzapconf is broken or something of the like. I removed the zapata.conf and zapata-auto.conf that Asterisk@home generates, the copied over the zapata.conf.template that happened to exist. I changed it to match my config. Now, it works!!!
asterisk2*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo from-pstn en
1 from-pstn en
2 from-pstn en
I see the three channels, whereas before I did not. I received the same unknown error you received.
For the record, I am using two X100P clone cards and my configs are as follows:
/etc/zaptel.conf:
[code]# Autogenerated by /usr/local/sbin/genzaptelconf – do not hand edit
Zaptel Configuration File
This file is parsed by the Zaptel Configurator, ztcfg
It must be in the module loading order
fxsks=1-2
loadzone = us
defaultzone = us
[/code]
/etc/asterisk/zapata.conf:
[channels]
language=en
; include zap extensions defined in AMP
include zapata_additional.conf
; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
callerid=asreceived
context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-2
The only thing I really see different from the older config is the use of => on channels is removed, = is used in it’s place, and the channels are now grouped together rather than being specified individually.
(I should also mention, I updated the zaptel driver to the one from cvs. I don’t recall this having a postive affect on the issue)
I don’t know if this will apply to your situation, but you may wish to try it.
Let me know if it also works for you.
Thanks,
Mark