I am trying to get my first Asterisk going on Debian GNU/Linux (3.1, x86), in order to use my ISDN BRI voice service. I’m in the US, where BRI is not common, especially for voice. And I want to use Debian packages as much as possible, also apparently not common with Asterisk, where everyone builds from source. Maybe I am doomed.
I have an external NT-1, so I bought an Eicon Diva PCI 2.02 card (passive, S/T interface), which replaces one of my existing Lucent 8510T phones (the one on SPID2). I was expecting trouble getting it to talk NI-1 to the 5ESS, but before I even got that far I got mired in the confusion among 2.4, 2.6, HiSax, CAPI, and mISDN. I am trying not to build everything from source, remember.
Starting with 3.1 unstable, kernel 2.4, I installed linux-image-2.6.16-1-686 and booted 2.6 (though I had to force it to see my SCSI EATA boot disk with mkinitrd for some reason; 2.4 did not have trouble with this).
CAPI Subsystem Rev 22.214.171.124
capifs: Rev 126.96.36.199
capi20: Rev 188.8.131.52: started up with major 68 (middleware+capifs)
OK, installed asterisk and asterisk-chan-capi and asterisk-chan-misdn, misdn-modules-2.6.16-1-686. I stumbled around in Google for a while and managed to insmod the several mISDN_* things. (I must be missing a package that deals with that; any idea what?)
Modular ISDN Stack core $Revision: 184.108.40.206 $
mISDNd: kernel daemon started
mISDNd: test event done
ISDN L1 driver version 220.127.116.11
ISDN L2 driver version 18.104.22.168
mISDN: DSS1 Rev. 22.214.171.124
mISDN Capi 2.0 driver file version 126.96.36.199
ISAC module $Revision: 188.8.131.52 $
AVM Fritz PCI/PnP driver Rev. 184.108.40.206
But trying to load only chan_capi, I still get an ENXIO on the ioctl(fd, CAPI_INSTALLED) on the fd that’s open on /dev/capi20. (The open worked.)
chan_misdn wouldn’t even try to load (in asterisk-chan-misdn 0.1.1-1) because it’s still trying to resolve “ast_load”, which is now supposed to be ast_config_load. I see there’s a 0.3.0 up at Beronet, but the Debian package seems way behind. Is anyone maintaining it?
Am I going down a dead end with this approach? Must I build everything from source? The mISDN modules, even? An entire kernel? And just how do mISDN and CAPI relate anyway?