Boris Pasternak
2004-Mar-22 09:58 UTC
[Asterisk-Users] How to use 2 FritzCards with asterisk?
Hi,
I just equipped my asterisk with a second fritzcard, in order to watch
two different ISDN connections and to bridge between them.
Unfortunately, the second fritzcard doesn't get recognized by asterisk.
This is what my config files look like:
/etc/capi.conf:
#SuSEconfig.isdn generated
# card file proto io irq mem cardnr options
fcpci - - - - - 1
fcpci - - - - - 2
/etc/asterisk/capi.conf:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
;
[interfaces]
;
context=internisdn
msn=24
;incomingmsn=*
controller=1
softdtmf=1
devices=2
;
context=externisdn
msn=8191522
incomingmsn=8191522
controller=2
softdtmf=1
devices=2
Asterisk tells me:
== Parsing '/etc/asterisk/capi.conf': Found
Mar 22 17:36:54 NOTICE[16384]: chan_capi.c:2338 mkif:
ast_capi_pvt(24,,internisdn,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Mar 22 17:36:54 NOTICE[16384]: chan_capi.c:2338 mkif:
ast_capi_pvt(24,,internisdn,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Mar 22 17:36:54 NOTICE[16384]: chan_capi.c:2338 mkif:
ast_capi_pvt(8191522,8191522,externisdn,0x4,2) (1,2,64)
(0)(0.800000/0.800000) 0
Mar 22 17:36:54 NOTICE[16384]: chan_capi.c:2338 mkif:
ast_capi_pvt(8191522,8191522,externisdn,0x4,2) (1,2,64)
(0)(0.800000/0.800000) 0
Mar 22 17:36:54 NOTICE[16384]: chan_capi.c:2693 load_module: this
box has 1 capi controller(s)
-- listening on contr1 CIPmask = 0x1fff03ff
-- CAPI[contr1] supports DTMF
-- CAPI[contr1] supports supplementary services
> sent FACILITY_REQ (CONTROLLER=0x1)
*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
-------------------------------------------------------------
Any help is welcome!
Regards,
Boris