Matteo Brancaleoni
7ec7c920d1
OPENZAP-220 fix blocked into read and add cause for a correct hangup
2014-10-07 14:34:39 +02:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Moises Silva
3b0e8d9e2d
freetdm: ftmod_zt: Refactor event processing to store OOB events that arrive during read/write operations
2013-11-08 02:22:05 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Stefan Knoblich
cbf22d8a32
FreeTDM: Silence -Wtautological-compare warnings emitted by clang
...
Fixes "warning: comparison of unsigned expression >= 0 is always true".
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:09 +02:00
Stefan Knoblich
ae58a4c1ba
FreeTDM: Use ftdm_unused_arg() to silence -Wunused-argument warnings
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:09 +02:00
Moises Silva
7c6ba6a34c
OPENZAP-207 --resolve Rework the zt_read function
...
Break the read loop when receiving ELAST
2013-02-11 11:35:30 -05:00
Moises Silva
27a8ec93de
freetdm: Added Analog E&M outbound call answer supervision
...
You must add answer-supervision=yes in your freetdm.conf.xml
Also added dial-timeout parameter which was previously hard-coded
2012-12-18 22:55:14 -05:00
Moises Silva
6f5438eded
freetdm: ftmod_zt:
...
Handle driver events while reading media
ftmod_analog_em:
Initialize read data len to avoid crashing when
the freetdm read function does not read anything
2012-12-18 14:23:31 -05:00
Moises Silva
b64cc02390
freetdm: ftmod_zt - Declare tone mode at the top to avoid compilation errors
2012-11-19 10:24:25 -05:00
Moises Silva
db673a043f
freetdm: ftmod_zt - Integrated HW DTMF support
2012-11-18 23:57:52 -05:00
Moises Silva
9bc3dfc874
fretdm: little white lie
2012-11-09 16:53:39 -05:00
Moises Silva
fff6e50a9b
freetdm: Fix E&M answer procedure for DAHDI
2012-09-19 20:03:09 -04:00
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