Commit Graph

43 Commits

Author SHA1 Message Date
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Brian West f263c0518e up this limit 2012-04-13 11:39:03 -05:00
Moises Silva 57b022c2d4 freetdm: Do not report error for DAHDI RINGER ON/OFF events, they are no-ops at the moment 2012-03-19 09:27:29 -04:00
Moises Silva bf652b567f freetdm: ftmod_zt - Print which DAHDI event number is failing to be processed 2012-03-18 18:54:54 -04:00
Moises Silva e3cb0352b0 freetdm: Fill in DAHDI function pointer to retrieve the next channel event 2012-01-19 16:18:30 -02:00
Moises Silva c15a252a2b OPENZAP-176 --resolve
Fix DAHDI/Zaptel incorrect FXO signaling status on module load
2011-12-30 17:14:36 -05:00
Moises Silva b9ad924e83 freetdm: ftmod_zt - Fix references to ftdmtel that should be Zaptel/DAHDI (screwed up during OpenZAP -> FreeTDM renaming) 2011-11-10 15:16:07 -05:00
Moises Silva f57c33f1ee OPENZAP-112 --resolve 2011-08-06 21:32:21 -04:00
Moises Silva 288455cfe2 freetdm: add some extra logging in ftmod_zt and ftmod_analog 2011-06-22 17:05:53 -04:00
David Yat Sin feb21920db Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2011-06-06 10:57:30 -04:00
David Yat Sin bd7672242c Support for AT&T *8 Transfer (VRU only) 2011-06-03 17:18:30 -04:00
Stefan Knoblich 8035d498ea ftmod_zt: Add ZT_EVENT_ABORT event handling and update ZT_EVENT_OVERRUN error message.
ZT_EVENT_ABORT and ZT_EVENT_OVERRUN are HDLC events.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-05-27 12:46:24 +02:00
Moises Silva 3bbab5cbea freetdm: ftmod_zt - print more specific errors for overrun and bad checksum 2011-03-10 09:25:49 -05:00
Moises Silva 3018400461 freetdm: only handle zt events when FTDM_CHANNEL_EVENT is set 2011-01-06 14:54:19 -05:00
Moises Silva 81f01f0ee7 freetdm: handle ZT_EVENT_NONE 2011-01-06 14:33:28 -05:00
Arnaldo Pereira d8c7913b98 freetdm: ftmod_zt - locking the channel on zt_channel_next_event() 2010-12-23 16:10:53 -02:00
Arnaldo Pereira a797a93feb freetdm: ftmod_zt - refactored zt_channel_next_event(), zt_next_event() and created zt_channel_process_event() 2010-12-23 16:05:48 -02:00
Arnaldo Pereira a3ea8a8f20 freetdm: ftmod_zt - clear FTDM_CHANNEL_EVENT flag on zt_channel_next_event when set,
but retrieve event from channel even when it's not
2010-12-21 22:13:16 -02:00
Arnaldo Pereira 723a598c24 freetdm: core - lock the channel on ftdm_channel_read_event()
ftmod_zt - not locking the channel on zt_channel_next_event(), minor changes
2010-12-21 16:32:02 -02:00
Arnaldo Pereira 7732a67598 Merge branch 'master' into arnaldo.zt_chan_next_event 2010-12-21 14:16:45 -02:00
Moises Silva fcd6c54162 freetdm: fix attempt for OPENZAP-130 2010-12-19 00:13:08 -05:00
Moises Silva 2b0bba8e94 freetdm: add __USE_BSD to ftdm_os, needed by unistd.h for usleep() and string.h to define strcasecmp()
add -Werror even when the compiler is unknown. This is just a work-around to gcc not being detected
	 as GNU by our current standalone build (not bootstrapped through FreeSWITCH)
2010-12-17 20:27:37 -05:00
Moises Silva c2262aba2b freetdm: Fix for OPENZAP-128
ioctl interface in FreeBSD expects unsigned long
2010-12-17 09:52:26 -05:00
Arnaldo Pereira 36a84423e7 freetdm: ftmod_zt - fixed typo on documentation 2010-12-09 12:52:32 -02:00
Arnaldo Pereira fa05585f1a freetdm: ftmod_zt - created zt_channel_next_event() to poll for events on a single channel 2010-12-09 12:48:33 -02:00
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
cypromis 5d28a8fa05 ftmod_zt typo ... 2010-11-17 17:15:30 +01:00
cypromis 05d1fd2a66 ftmod_zt rc has changed to result 2010-11-17 17:01:30 +01:00
Moises Silva 5486b8c74d freetdm: retry polling in DAHDI devices when fails due to interrupted system call 2010-11-16 23:41:11 -05:00
Stefan Knoblich c1517e99d1 ftmod_zt: B-Channels need to have audio mode disabled upon closing the channel.
Preparation for fixing channel handling for BRI PTMP (Point-To-MultiPoint) setups.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 23:38:16 +01:00
Moises Silva 46a9fa3910 freetdm: add debugging msgs for zt wait errors 2010-11-06 17:14:31 -04:00
Moises Silva fa711796a8 freetdm/openzap: OPENZAP-110 - John Wehle rocks! 2010-09-27 21:56:03 -04:00
Moises Silva c2cba3634e freetdm: fix old zaptel support 2010-09-27 21:38:42 -04:00
Moises Silva 23efa1ef56 freetdm: only use echo training when value is bigger than zero (fixes silence when using oslec) 2010-06-29 00:17:48 -04:00
Stefan Knoblich 360e8aae20 [FreeTDM] gcc-4.5: Use zt_event_t instead of ftdm_oob_event_t to fix enum type mismatches. 2010-04-30 23:10:43 +02:00
Moises Silva 73a80ba939 start API cleanup by moving private headers and data structures into private/ include directory 2010-04-28 18:17:49 -04:00
Moises Silva 52c5cd074b import fix for OPENZAP-76 from openzap and other minor fixes 2010-04-06 14:41:30 -04:00
Moises Silva 617020ea0c process alarms in the core
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1055 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 21:47:28 +00:00
Moises Silva 66bc2e43c8 merged 1039:1053 openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1054 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 20:06:31 +00:00
Moises Silva a8ddece1b6 more freetdm changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:35:11 +00:00
Moises Silva a5bd5142da more freetdm renaming changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@973 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:08:43 +00:00
Moises Silva 1b47133795 more naming changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@971 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:56:54 +00:00
Moises Silva 900f1ed2ef Linux renaming from openzap to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00