From owner-freebsd-isdn@FreeBSD.ORG Thu Sep 11 19:35:22 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C19DC1065670 for ; Thu, 11 Sep 2008 19:35:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFD38FC13 for ; Thu, 11 Sep 2008 19:35:21 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=1ZX11p15A2EA:10 a=gaSgUbamdawA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=6I5d2MoRAAAA:8 a=Ink9KtwXZqu-XasZNyQA:9 a=uKN5vL8Icu3IuYO-ahgA:7 a=CKqOMy3-VJg_aoqtnBmP_qEgsCUA:4 a=SV7veod9ZcQA:10 a=50e4U0PicR4A:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 331645446; Thu, 11 Sep 2008 20:35:17 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 11 Sep 2008 20:37:09 +0200 User-Agent: KMail/1.9.7 References: <158099542962619693611080669884173373793-Webmail2@me.com> In-Reply-To: <158099542962619693611080669884173373793-Webmail2@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809112037.10062.hselasky@c2i.net> Cc: Subject: Re: i4b-L2 ... i_queue full or no fifo translator (Asterisk chan_capi) X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 19:35:22 -0000 Hi, There is a tool called "isdndecode", which you can run like: isdndecode -u 0 -i -o -x It will dump all the contents of the D-channel. Maybe you will find some error messages there. If you are using P2P you should maybe add the "power_on" feature to your config: isdnconfig -u 0 power_on It will disable ISDN power saving. Does the following message only appear when you re-start asterisk ? i4b-L2 dss1_pipe_data_req: unit=0, pipe=0, i_queue full or no fifo translator!! --HPS On Thursday 11 September 2008, Thomas Zimmermann wrote: > Hi all, > > I use Asterisk with CAPI on FreeBSD 7 and Nagios only for sending and > (later) receiving SMS alerts over ISDN to and from mobile users. Receiving > SMS is an option to acknowledge or delegate alerts. Now I have stumbled > across three issues. > > 1. Sharing Asterisk on the same NT with an existing PBX: > We have an ISDN line with 4 NTs (8 BRI channels) and 100 telephone numbers > for DDI. The protocol is point-to-point. Since connecting Asterisk behind > the existing PBX is not possible, I share one of the NTs with the existing > PBX. I assume that the existing PBX listens to all DDI Numbers. How can I > configure Asterisk to listen to one number without interfering with the > other PBX? > > > 2. I am still confused as to how I should setup capi.conf and > extensions.conf correctly for an ISDN line with DDIs! All documentation I > have found (readmes and Google) mainly focuses on ISDN with > point-to-multipoint (msn). Although my configuration works, I see strange > behavior. After running Asterisk for about 15 minutes, the > /var/log/messages log file and the console fill up about five times every > second with the following message: i4b-L2 dss1_pipe_data_req: unit=0, > pipe=0, i_queue full or no fifo translator!! I can stop this message using > '/usr/local/etc/rc.d/asterisk stop'. You can see my configuration files > further down in this mail. > Do I have to set more parameters in my configuration, or should I replace > my (passive) ISDN interface with an active one? > > > 3. Sending SMS, the command above runs successfully, and I receive a > message on the mobile phone. However, it displays the wrong ?Calling Line > Identification (CLIP)?: It shows the main number instead of the DDI > extension. > > smsq --motx-channel=?CAPI/ISDN1/0622100000' 079xxx8690 'Hello World? (valid > for Swisscom in Switzerland) > > > Versions: > - Asterisk 1.4.21.2 (build from the ports tree) > - i4b and chan-capi (svn rev. 850) from Hans Petter Selaski > - FreeBSD 7.0-RELEASE-p4 amd-64 > > > ISDN Line: > 4 basic lines / 4 NTs > 100 DDI extensions (extensions are 2 digits) > Using ISDN and Channel Driver from Hans Petter Selasky. i4b and chan-capi > (svn rev. 850). > > > #pciconf -lv > ihfc0@pci0:6:0:0: class=0x028000 card=0x2bd01397 chip=0x2bd01397 rev=0x02 > hdr=0x00 vendor = 'Cologne Chip Designs GmbH' > device = 'HFC-S PCI A ISDN 2BDS0 ISDN HDLC FIFO Controller' > class = network > > #isdnconfig > controller 0 = { > Layer 1: > description : HFC-2BDS0 128K PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabcd > power_save : on > dialtone : enabled > attached : yes > PH-state : F7: Activated > Layer 2: > driver_type : DRVR_DSS1_P2P_TE > } > > # cat capi.conf > [general] > nationalprefix = 0 > internationalprefix = 00 > language = de > rxgain = 1.0 > txgain = 1.0 > > [ISDN1] > isdnmode = DID > incomingmsn = 1234500 > defaultcid = 1234578 > controller = 0 > group = 1 > softdtmf = on > relaxdtmf = on > accountcode= > context = capi_in > holdtype = local > echocancel = no > devices = 2 > > # cat extensions.conf > [default] > include = capi_in > include = capi_out > > [capi_out] > exten => _X.,1,Dial(CAPI/ISDN1/${EXTEN}/bl,60) > exten => _X.,2,Hangup > > [capi_in] > exten = _678,1,Dial(SIP/78) > exten = _678,2,Hangup > > noc# cat sip.conf > [general] > context = default > allowoverlap = no > bindport = 5060 > bindaddr = 10.10.10.16 > srvlookup=yes > > [78] > type = friend > context = capi_out > callerid = 012 123 45 78 > host = dynamic > secret = timbuktu > nat = no > canreinvite = yes > dtmfmode = info > call-limit = 1 > mailbox = 7878@sip > disallow = all > allow = alaw > callingpres = allowed_passed_screen > > > Thank you for any input. > > regards, > > Thomas Zimmermann > > Alpnach Dorf, Switzerland > > +41 41 670 39 90 Telefon/VoIP > +41 79 341 86 90 Mobile > +41 41 670 39 89 Telefax > > > _______________________________________________ > freebsd-isdn@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isdn > To unsubscribe, send any mail to "freebsd-isdn-unsubscribe@freebsd.org"