Hi list, Attempting to get an ISDN-BRI line connected using an HFC-S PCI card together with Asterisk v1.4.14 and Zaptel 1.4.7 on a Debian etch system, I find that I can't access the card's resources because the channels are always be busy. An attempt to call out results in the following CLI output:
== Primary D-Channel on span 1 down == Primary D-Channel on span 2 down -- Executing [EMAIL PROTECTED]:1] Dial("SIP/1000-081f3698", "Zap/g0/[EMAIL PROTECTED]||r") in new stack [Jan 3 15:32:06] WARNING[9769]: app_dial.c:1130 dial_exec_full: Unable to create channel of type 'Zap' (cause 34 - Circuit/channel congestion) == Everyone is busy/congested at this time (1:0/1/0) == Auto fallthrough, channel 'SIP/1000-081f3698' status is 'CONGESTION' == Primary D-Channel on span 1 down == Primary D-Channel on span 2 down Hopefully, someone here with more experience can point me in the direction of a solution. Here are hopefully some more clues: # lsmod | grep zap zaphfc 13660 1 vzaphfc 24984 1 zaptel 185956 9 xpp,zaphfc,vzaphfc crc_ccitt 2560 1 zaptel # cat /proc/zaptel/* Span 1: ZTHFC1 "HFC-S PCI A Zaptel Driver card 0 [TE]" (MASTER) AMI/CCS 1 ZTHFC1/0/1 Clear (In use) 2 ZTHFC1/0/2 Clear (In use) 3 ZTHFC1/0/3 HDLCFCS (In use) Span 2: ZTHFC1 "HFC-S PCI A ISDN card 1 [TE]" AMI/CCS 4 ZTHFC1/0/1 Clear (In use) 5 ZTHFC1/0/2 Clear (In use) 6 ZTHFC1/0/3 HDLCFCS (In use) It looks like the vzaphfc module creates a virtual interface. I have only one HFC-S PCI card installed. Each channel is "(In use)" immediately after Asterisk is started. CLI> zap show channels Chan Extension Context Language MOH Interpret pseudo default en default 1 from-pstn en default 2 from-pstn en default 4 from-pstn en default 5 from-pstn en default CLI> zap restart Destroying channels and reloading zaptel configuration. == Parsing '/etc/asterisk/zapata.conf': Found == Parsing '/etc/asterisk/zapata-channels.conf': Found [Jan 3 15:40:06] WARNING[9797]: chan_zap.c:1081 zt_open: Unable to specify channel 1: Device or resource busy [Jan 3 15:40:06] ERROR[9797]: chan_zap.c:7501 mkintf: Unable to open channel 1: Device or resource busy here = 0, tmp->channel = 1, channel = 1 [Jan 3 15:40:06] ERROR[9797]: chan_zap.c:12266 build_channels: Unable to register channel '1-2' [Jan 3 15:40:06] WARNING[9797]: chan_zap.c:11554 zap_restart: Reload channels from zap config failed! Not a good idea, because that results in... CLI> zap show channels Chan Extension Context Language MOH Interpret the channels disappearing altogether. However, I can restore the situation back to its original, albeit useless, state if I stop and start Asterisk. My configuration files are as follows: /etc/asterisk/zapata-channels.conf (after running "genzaptelconf -sd -c nl"): group=0,11 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 1-2 group= context=default group=0,12 context=from-pstn switchtype = euroisdn signalling = bri_cpe_ptmp channel => 4-5 group= context=default /etc/asterisk/zapata.conf (supposed to work in the Netherlands): [trunkgroups] [channels] language=en context=isdn-in switchtype=euroisdn pridialplan=dynamic prilocaldialplan=local nationalprefix = 0 internationalprefix = 00 overlapdial=yes signalling=bri_cpe_ptmp rxwink=300 usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes echotraining=100 rxgain=4.5 txgain=-3 group=1 callgroup=1 pickupgroup=1 immediate=yes #include zapata-channels.conf Abbreviated /etc/asterisk/extensions.conf: [globals] [general] [isdn-out] exten => _X.,1,Dial(Zap/g0/[EMAIL PROTECTED],,r) [internal] exten => 1000,1,Verbose(1|Extension 1000) exten => 1000,n,Dial(SIP/1000,30) exten => 1000,n,Hangup() [phones] include => internal include => isdn-out Any ideas? TIA, Jaap _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users