Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 14:12:11 +0100
From:      Reifenberger Michael <Michael.Reifenberger.gp@icn.siemens.de>
To:        "'jml@cubical.fi'" <jml@cubical.fi>
Cc:        "'freebsd-isdn@FreeBSD.ORG'" <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: i4b as tel server
Message-ID:  <67E0BE167008D31185F60008C7289DA0E12FB9@MCHH218E>

next in thread | raw e-mail | index | archive | help
Hi,
I allready found that out. But it doesn't affect this particular symptom.
You can find a version of the MUX (without dialtone recognition) under contrib/*mux*.c
The problem is that the FD_ISSET() of xfd doesn't return true until ifd gets closed... 

>Hi,
>
> please note that as long as the tel device is open, it generates data at
> a constant rate (8KHz), you must take this into account. You should read
> the data in 2048 byte chunks (which is the device internal buffer size)
> to get the data without skew. Unaligned reading messes things up...
> select() in and of itself works nicely.
>
>        - Juha


Bye/2
------
Michael Reifenberger - IT, UNIX, R/3-Basis
Work: Michael.Reifenberger@plaut.de    Proj: Michael.Reifenberger.gp@icn.siemens.de
Pers: Michael@Reifenberger.com  Webspace: http://www.reifenberger.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67E0BE167008D31185F60008C7289DA0E12FB9>