Stefan Knoblich 60cb91b042 freetdm: ftmod_libpri + ftmod_zt: some DAHDI drivers return an error of ELAST (500) on read()/write() to indicate there are events pending.
Fixup zt_read() to handle this case correctly and rework ftmod_libpri's read wrapper function to not fail when the read function returns zero bytes.

NOTE: zt_write() has not been changed (some better way to handle these events is needed then)

This should fix these log messages:

   [WARNING] ftdm_io.c:3561 [s1c16][1:16] raw I/O read filed
   [CRIT] lpwrap_pri.c:125 span 1 D-READ FAIL! []
   [CRIT] lpwrap_pri.c:157 span 1 D-WRITE FAIL! []
   [ERR] ftmod_libpri.c:131 Short write: -1/6 (Unknown error 500)

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-12-07 20:06:48 +01:00
2010-12-01 16:40:35 -02:00
2009-02-11 02:53:31 +00:00
2010-12-01 16:40:35 -02:00
2010-11-16 18:09:27 -08:00
2009-02-13 23:33:36 +00:00
2010-08-27 10:19:12 -05:00
2008-05-14 20:39:43 +00:00
2009-12-17 18:33:45 +00:00
2010-11-25 13:22:41 -06:00
2010-04-01 21:00:45 -04:00
2010-11-24 03:46:59 +00:00
2010-10-31 23:22:53 +01:00
2009-10-02 14:44:16 +00:00
2010-01-23 20:19:18 +00:00
2009-11-18 19:42:00 +00:00
2006-12-17 01:01:09 +00:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses 196 MiB
Languages
C 65.2%
C++ 20.8%
JavaScript 4.8%
Assembly 2%
Makefile 1%
Other 5.4%