Date: Fri, 13 May 2005 13:34:45 +0200 From: David Wetzel <dave@turbocat.de> To: freebsd-isdn@freebsd.org Subject: answering calls Message-ID: <20050513113445.EF9AF1EAE27C@alice.turbocat.de>
next in thread | raw e-mail | index | archive | help
hi folks, I try to create a lib to wrap the i4b telephony stuff in a way that makes it easy to use from external programs. I do this as a first step to add i4b support to Asterisk. I do not intent to run the isdnd. Imagine there are N different ISDN cards in the system. Some may be Fritz with 2 channels some may have a PRI with 30 channels. If I understand the documentation right, all signaling and accept/reject control is made via /dev/isdn and the real voice data will flow via /dev/isdntel* On an incoming call, I get the stuct msg_connect_ind_t which contains controller and channel number. The driver's int number I seem to get via lookup_l4_driver() from rc_config.c. But how to get the driver_unit? How do I know which /dev/isdntel* to use? Can i4b find the right driver/unit based on the cdid? Thanks! dave --- _ _ _(_)(_)_ 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050513113445.EF9AF1EAE27C>