From owner-freebsd-isdn@FreeBSD.ORG Sat Jun 4 11:53:53 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 2A22116A41C for ; Sat, 4 Jun 2005 11:53:53 +0000 (GMT) (envelope-from dave@turbocat.de) Received: from mail.turbocat.net (mail.turbocat.net [213.133.116.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C23843D48 for ; Sat, 4 Jun 2005 11:53:52 +0000 (GMT) (envelope-from dave@turbocat.de) Received: by mail.turbocat.net (Postfix, from userid 1002) id 525F1422EC08; Sat, 4 Jun 2005 13:53:49 +0200 (CEST) Received: from alice.turbocat.de (p54BCF299.dip.t-dialin.net [84.188.242.153]) by mail.turbocat.net (Postfix) with ESMTP id 27AA7422EC01; Sat, 4 Jun 2005 13:53:48 +0200 (CEST) Received: from testhost (alice [10.1.0.1]) by alice.turbocat.de (Postfix) with ESMTP id 50ECB1EAE296; Sat, 4 Jun 2005 13:53:35 +0200 (CEST) X-Mailer: TCMail 2.0 http://www.turbocat.de (NetBSD) From: David Wetzel Date: Sat, 04 Jun 2005 13:53:34 +0200 To: hselasky@c2i.net X-Originating-IP: [10.1.0.12] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-TCMailFlags: 001 Message-Id: <20050604115335.50ECB1EAE296@alice.turbocat.de> Cc: freebsd-isdn@freebsd.org Subject: Re: more cdids than bchannels possible? 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: Sat, 04 Jun 2005 11:53:53 -0000 HPS wrote: > On Thursday 02 June 2005 15:26, David Wetzel wrote: > > as you know, I am currently writing a asterisk i4b module. > > Is this something you plan to release? As soon there is something to usable I will release it. For now, I have linked my i4b lib with a asterisk module and the module gets called via a hook function from the isdnlib code if somebody calls in. to define hook functions you do something like that: i4bhooks.connect=dummy_msg_connect_ind; i4bhooks.connect_active=dummy_msg_connect_ind; where the functions look like: int dummy_msg_connect_ind(msg_connect_ind_t *mp, int len) { logit(0, "define a hook for msg_connect_ind"); return 0; } The dummy_* functions are defined as default. The asterisk module will define custom ones. > DSS1 supports parking of calls, but there no support for it > in I4B. I do not need this now but would be nice to have. --- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Fax +49 33056 82835 Phone +49 33056 82834 (______) http://www.turbocat.de/