From owner-freebsd-isdn@FreeBSD.ORG Sun Jun 19 09:35:52 2005 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9939616A41F for ; Sun, 19 Jun 2005 09:35:52 +0000 (GMT) (envelope-from Thomas.Wintergerst@nord-com.net) Received: from mail0.ewetel.de (mail0.ewetel.de [212.6.122.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23B1843D48 for ; Sun, 19 Jun 2005 09:35:51 +0000 (GMT) (envelope-from Thomas.Wintergerst@nord-com.net) Received: from kalak.lemur.nord.de (dialin-80-228-51-203.ewe-ip-backbone.de [80.228.51.203]) by mail0.ewetel.de (8.12.1/8.12.9) with ESMTP id j5J9SDNW001507; Sun, 19 Jun 2005 11:28:14 +0200 (MEST) Received: from [192.168.2.4] (lullog.lemur.nord.de [192.168.2.4]) by kalak.lemur.nord.de (8.12.3/8.12.3) with ESMTP id j5J9ImF8024830; Sun, 19 Jun 2005 11:18:57 +0200 (CEST) (envelope-from Thomas.Wintergerst@nord-com.net) Message-ID: <42B53878.2020407@nord-com.net> Date: Sun, 19 Jun 2005 11:18:48 +0200 From: Thomas Wintergerst User-Agent: Mozilla Thunderbird 0.9 (X11/20041220) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cian Hughes References: <7112CBFA-724E-4846-AA2E-1EFBC4B49CE2@cian.ws> <475744B9-48D9-474F-96E9-4C48869FD970@cian.ws> <42B3DFF6.3070705@nord-com.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CheckCompat: OK Cc: freebsd-isdn@freebsd.org Subject: Re: Problem with C4B on FreeBSD-Stable X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: twinterg@gmx.de List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2005 09:35:52 -0000 Hi Cian, Cian Hughes wrote: > Ok, well i've done lots of messing around since i last wrote anything, I > have cvsup'ed my src to FreeBSD-Current, and made a new patchset for > c4b, with only some minor changes to the Makefiles it all compiled, and > I have asterisk talking to my AVM B1 through chan_capi.so, which is very > nice, I have got one vmcore from a panic (my old kernel did not have > debug flags enabled), unfortunately it weighs in a 132MB so I haven't > attached it, I think it's usefulness may be limited, someone else with > ssh access to the box thinks they may have accidentally cvsuped src-all > since I compiled the kernel last week, so I think that the panic may > have been due to source synchronisation issue, to be safe I actually > dumped /usr/src & /usr/obj and started again, my reason for not posting > again is that the patch & compile of everything (world included) only > finished at 11.30pm last night. For the moment I'll put the Sun compile O.K., so we'll see what happends next on your system. > on Hold, and concentrate on making a new patchset for FreeBSD-Current. > How hard do you think it would be to get c4b incorporated into > FreeBSD-Current, this patching lark is a bit of a pain. You are right. We are working on this topic. But during the current code freeze it will not be possible. -- Gruss, Thomas Wintergerst From owner-freebsd-isdn@FreeBSD.ORG Mon Jun 20 11:01:51 2005 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0E5516A454 for ; Mon, 20 Jun 2005 11:01:51 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A3043D4C for ; Mon, 20 Jun 2005 11:01:51 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5KB1pPN011426 for ; Mon, 20 Jun 2005 11:01:51 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5KB1o1N011420 for freebsd-isdn@freebsd.org; Mon, 20 Jun 2005 11:01:50 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Jun 2005 11:01:50 GMT Message-Id: <200506201101.j5KB1o1N011420@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-isdn@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 20 Jun 2005 11:01:52 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/11/16] bin/73988 isdn ISDN - first dial attempt fails o [2005/01/23] kern/76611 isdn i4b itjc bad enums for PIB cycle time o [2005/03/22] kern/79117 isdn iavc(4) for AVM B1 PCI does not attach 3 problems total. From owner-freebsd-isdn@FreeBSD.ORG Mon Jun 20 22:43:09 2005 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A268816A41C for ; Mon, 20 Jun 2005 22:43:09 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BCAF43D1F for ; Mon, 20 Jun 2005 22:43:09 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== Received: from mp-216-40-142.daxnet.no ([193.216.40.142] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 4.3.2) with ESMTP id 205026620; Tue, 21 Jun 2005 00:43:06 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org, twinterg@gmx.de Date: Tue, 21 Jun 2005 00:43:57 +0200 User-Agent: KMail/1.7 References: <7112CBFA-724E-4846-AA2E-1EFBC4B49CE2@cian.ws> <42B53878.2020407@nord-com.net> In-Reply-To: <42B53878.2020407@nord-com.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200506210044.00616.hselasky@c2i.net> Cc: Subject: Re: Problem with C4B on FreeBSD-Stable X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 22:43:09 -0000 On Sunday 19 June 2005 11:18, Thomas Wintergerst wrote: > Cian Hughes wrote: > > on Hold, and concentrate on making a new patchset for FreeBSD-Current. > > How hard do you think it would be to get c4b incorporated into > > FreeBSD-Current, this patching lark is a bit of a pain. > > You are right. We are working on this topic. But during the current code > freeze it will not be possible. Another problem is that C4B does not support passive devices. The way CAPI is designed there cannot be more than one CAPI interface. So one CAPI interface for passive cards and one for active cards, is not going to work! The only solution I see is that one upgrades the I4B layer to support the features required, e.g. overlap-sending, and then puts a CAPI layer on top of that. If this is done right, not so many features are lost. And maybe there will be features provided by I4B that CAPI doesn't provide. Overview: ISDN PASSIVE CAPI: /dev/capi20 (pseudo device) CAPI ACTIVE I4B: /dev/i4b (pseudo device) <--> I4B common layer <--> SIP ? VoIP ? Implementation example: /*---------------------------------------------------------------------------* * send MSG_ALERT_IND message to userland *---------------------------------------------------------------------------*/ void i4b_l4_alert_ind(call_desc_t *cd) { struct mbuf *m; if(cd->interface == I4B || cd->interface == BROADCAST) { if((m = i4b_Dgetmbuf(sizeof(msg_alert_ind_t))) != NULL) { msg_alert_ind_t *mp = (void *)m->m_data; mp->header.type = MSG_ALERT_IND; mp->header.cdid = cd->cdid; i4bputqueue(m); } } if(cd->interface == CAPI || cd->interface == BROADCAST) { ... capiputqueue(...); } return; } Does anyone see that one can easily generate multiple telephony API's just by adding a few lines of code to some files in "/sys/i4b/layer4"? It maybe is a little off topic, but I4B is not dead. Even though much telephony is changing over to SIP, people shouldn't be fooled into writing dedicated applications for SIP. The missing link is a SIP driver that can speak I4B and CAPI. So has anyone been thinking about that? --HPS From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 23 14:14:39 2005 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72BA016A41C for ; Thu, 23 Jun 2005 14:14:39 +0000 (GMT) (envelope-from stb@lassitu.de) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE30E43D55 for ; Thu, 23 Jun 2005 14:14:38 +0000 (GMT) (envelope-from stb@lassitu.de) Received: from [IPv6:::1] (schlepper [212.12.50.230]) by schlepper.zs64.net (8.13.1/8.12.9) with ESMTP id j5NEEaGE050056 for ; Thu, 23 Jun 2005 16:14:37 +0200 (CEST) (envelope-from stb@lassitu.de) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <21911322d5cbb54a6a04bcdd92371ab9@lassitu.de> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-isdn@freebsd.org From: Stefan Bethke Date: Thu, 23 Jun 2005 16:14:47 +0200 X-Mailer: Apple Mail (2.622) Subject: Asterisk, chan_capi & c4b: overlap dialling 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, 23 Jun 2005 14:14:39 -0000 First, a great many thanks to Thomas and Jan. Getting C4B and chan_capi to work was absolutly painless! I have just one question at the moment, and it might have nothing to do with C4B or the FreeBSD port of chan_capi, but I figured I might try here first: overlap dialling. I've got a AVM B1 ISA hooked up to the interal S0 port of a Hicom 100. I can dial the PBX extensions with an extension like this: exten => _14XX,1,Dial(CAPI/74:b${EXTEN:2}) I can dial my cell phone with a speed dial like entry like this: exten => 1200,1,Dial,CAPI/74:b001703460140 However, I can't figure out how to set up the extension so I can dial some prefix to get the PBX' dialtone, and then keep on dialling. I tried: exten => _0.,1,StripMSD,1 exten => _.,2,Dial,CAPI/74:bBYEXTENSION or this: exten => _15.,1,Dial(CAPI/74:b${EXTEN:2}) but so far, nothing works. (I'm mostly trying from a Budgetone 101.) If I block-dial the entire number (i. e. 15001703460140), the call goes through, but just dialling 150, then trying to punch in additional digits does not lead to any connection. Any hints? Thanks, Stefan -- Stefan Bethke Fon +49 170 346 0140