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:
[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
loadzone = us
defaultzone = us
; include zap extensions defined in AMP
; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
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.