answering calls
David Wetzel
dave at turbocat.de
Fri May 13 04:34:50 PDT 2005
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/
More information about the freebsd-isdn
mailing list