freeswitch/libs/freetdm/src/ftmod
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
..
ftmod_analog freetdm: OPENZAP-120 - Allow FXO to bridge calls without digits 2010-12-02 16:44:34 -05:00
ftmod_analog_em VS2010 Freetdm fix misc build settings 2010-12-01 18:42:28 -06:00
ftmod_isdn VS2010 Initial version for freetdm 2010-11-29 21:55:34 -06:00
ftmod_libpri freetdm: ftmod_libpri + ftmod_zt: some DAHDI drivers return an error of ELAST (500) on read()/write() to indicate there are events pending. 2010-12-07 20:06:48 +01:00
ftmod_pika VS2010 Initial version for freetdm 2010-11-29 21:55:34 -06:00
ftmod_pritap freetmd: fix mix buffer size 2010-08-01 04:31:06 -04:00
ftmod_r2 Merge remote branch 'fsorig/master' 2010-12-06 15:10:53 -05:00
ftmod_sangoma_boost VS2010 Freetdm fix misc build settings 2010-12-01 18:42:28 -06:00
ftmod_sangoma_isdn freetdm: isdn stack and testsangomaboost warning fix 2010-12-07 09:59:56 -05:00
ftmod_sangoma_ss7 freetdm: OPENZAP-121 - ftmod_sangoma_ss7 compile error 2010-12-06 23:24:39 -05:00
ftmod_skel start API cleanup by moving private headers and data structures into private/ include directory 2010-04-28 18:17:49 -04:00
ftmod_wanpipe freetdm: ISDN - Added support to push raw facility IE from CONNECT messages 2010-12-03 14:22:01 -05:00
ftmod_zt freetdm: ftmod_libpri + ftmod_zt: some DAHDI drivers return an error of ELAST (500) on read()/write() to indicate there are events pending. 2010-12-07 20:06:48 +01:00