Arnaldo Pereira
3910889aec
freetdm: ftmod_wanpipe - not locking the channel on wanpipe_channel_next_event(), now the core takes care of that
2010-12-22 20:10:41 -02:00
Arnaldo Pereira
248fe20dcc
freetdm: ftmod_wanpipe - pass tdm_api as a pointer to wanpipe_channel_process_event()
2010-12-22 19:08:49 -02:00
Arnaldo Pereira
3a8ce05cc6
freetdm: ftmod_wanpipe - refactored wanpipe_channel_next_event(), wanpipe_span_next_event()
...
and created wanpipe_channel_process_event(), used by both
2010-12-22 18:50:19 -02:00
Moises Silva
665b12b1f5
Merge remote branch 'fsorig/master'
2010-12-21 15:23:23 -05:00
Moises Silva
cdfa8bf7ae
freetdm: Added new OOB event FTDM_OOB_POLARITY_REVERSE
...
Added new channel command FTDM_COMMAND_SET_POLARITY
ftmod_wanpipe - Added support to enqueue polarity events on FXO lines
ftmod_wanpipe - Added support to set polarity on FXS lines
ftmod_analog - Added support to answer and hangup FXO lines on polarity reverse
ftmod_analog - Added support to reverse polarity in the FXS line on answer and hangup
mod_freetdm - Added parameters answer-on-polarity, hangup-on-polarity and polarity-delay
to enable those analog features
2010-12-21 15:11:22 -05:00
Jeff Lenk
82ad5278b3
tweak vs2010 freetdm wanpipe
2010-12-20 14:55:18 -06:00
Arnaldo Pereira
bb8d901c4f
freetdm: ftmod_wanpipe - replaced some POLL macros by SANG_WAIT_OBJ_*
2010-12-15 18:32:35 -02:00
Arnaldo Pereira
dcdbeff9d8
freetdm: ftmod_wanpipe - now receiving ftdm macros for channel polling, instead of using POLLPRI, etc., directly
...
ftmod_r2 - also using ftdm macros for polling
2010-12-15 17:43:40 -02:00
Moises Silva
8c057921f3
ftmod_wanpipe - fix idle frame stats
2010-12-10 08:32:36 -05:00
Moises Silva
15d18e7a15
freetdm: ftmod_r2 - Fixed input size for tx and rx dumping
...
ftmod_r2 - Set tx queue to 4 only
ftmod_wanpipe - Fixed stats warnings
2010-12-08 10:45:45 -05:00
Moises Silva
32e28540db
freetdm: ftmod_wanpipe - implement tx and rx flush command
2010-12-08 06:22:46 -05:00
David Yat Sin
74f34db2d5
freetdm: ISDN - Added support to push raw facility IE from CONNECT messages
2010-12-03 14:22:01 -05:00
Arnaldo Pereira
980692ba94
freetdm: ftmod_r2 - fixed 'Tx Queue Full' print, it was printing rx's queue length instead of tx
2010-12-02 13:38:28 -02:00
Arnaldo Pereira
3dc8d5b09a
Merge branch 'master' into arnaldo.ftdm_channel_read_event
...
Conflicts:
libs/freetdm/src/ftdm_io.c
libs/freetdm/src/ftmod/ftmod_wanpipe/ftmod_wanpipe.c
2010-12-01 20:34:02 -02:00
Moises Silva
e3b070c88f
freetdm: ftmod_wanpipe - do not test 80% tx queue full
2010-11-30 13:21:47 -05:00
David Yat Sin
a27bdf3f5b
freetdm:Changed freetdm variables
2010-11-30 12:57:43 -05:00
Moises Silva
2a00d3ea13
Merge remote branch 'fsorig/master'
...
Conflicts:
conf/dialplan/default.xml
2010-11-30 12:19:42 -05:00
Arnaldo Pereira
136fc8aa95
freetdm: ftmod_wanpipe - removed 80% tx/rx queue warnings
2010-11-30 13:56:29 -02:00
Moises Silva
bce61e7f92
freetdm: ftmod_wanpipe - use SANGOMA_WAIT_INFINITE instead of -1
2010-11-30 10:49:23 -05:00
Jeff Lenk
7630d47e0e
VS2010 Initial version for freetdm
2010-11-29 21:55:34 -06:00
Moises Silva
7a7a387f55
freetdm: improve IO stats (cherry picked from R2 branch)
2010-11-26 15:49:18 -05:00
Moises Silva
0b7a2d4c92
freetdm: remove openzap projects
2010-11-26 15:10:18 -05:00
Moises Silva
d53db20243
freetdm: ftmod_wanpipe - add tx stats
2010-11-26 15:06:36 -05:00
Moises Silva
17fc3bd62b
freetdm: ftmod_wanpipe, ftmod_sangoma_isdn and and core - Updated stats code
2010-11-26 14:03:16 -05:00
Moises Silva
894dea2803
freetdm: ftmod_wanpipe - flush stats when opening a channel
2010-11-26 12:39:30 -05:00
Arnaldo Pereira
9fbecc60be
freetdm: on ftmod_r2, fixed flags for correctly polling the span, now freeing
...
poll_events pointer, enabling/disabling channel reading flag when needed.
also removed the test for FTDM_CHANNEL_OPEN flag on ftdm_channel_wait().
2010-11-25 00:36:01 -02:00
Arnaldo Pereira
2b0189beca
freetdm: now wanpipe_channel_next_event() doesn't expect the flag FTDM_CHANNEL_EVENT to be set. If it is, it just clears it. Also removed unused code from wanpipe_channel_next_event()
2010-11-24 22:58:05 -02:00
Arnaldo Pereira
03dc3b7b8d
freetdm: ftdm_channel_read_event() to retrieve events from a channel, removed from ftmod_r2: ftdm_r2_sig_read(), FTDM_R2_PROCESSING flag and locks for ftdmchan
2010-11-24 21:25:24 -02:00
Moises Silva
ce67a4d39b
freetdm: do not flush events queue on channel start
2010-11-23 15:49:50 -05:00
David Yat Sin
995c250518
Merged from master branch
2010-11-19 13:58:08 -05:00
David Yat Sin
a2add13963
freetdm:Changes for shared IO
2010-11-15 19:16:09 -05:00
Moises Silva
6cfce6f43d
freetdm: rename mod_data to io_data since is data meant for I/O modules only
...
fix ftmod_isdn usage of mod_data, it should be call_data pointer
2010-11-15 15:39:44 -05:00
David Yat Sin
caacb24500
freetdm: Changes for FTDM IO commands
2010-11-15 14:13:01 -05:00
David Yat Sin
d0b6117325
FIX for windows IO
2010-11-11 18:43:53 -05:00
David Yat Sin
c9db28c25f
Merge branch 'master' of git.sangoma.com:smg_freeswitch
2010-11-09 16:54:24 -05:00
David Yat Sin
a0b164c132
freetdm: ISDN - Fix for not waking up the line on power-saving lines
2010-11-09 16:34:34 -05:00
Moises Silva
8d66f38212
Merge branch 'master' of git://git.freeswitch.org/freeswitch
...
Conflicts:
conf/autoload_configs/modules.conf.xml
libs/freetdm/src/ftdm_sched.c
libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c
2010-11-09 12:59:48 -05:00
David Yat Sin
25c56f6dc9
freetdm: Merged arnaldo.sng_isdn branch (changes for win32 port)
2010-11-08 12:18:08 -05:00
Arnaldo Pereira
039e4297ac
Merge branch 'master' into ftmod_r2
2010-11-01 23:11:42 -02:00
Moises Silva
268bbf093a
freetdm: ignore fax events for now
2010-10-20 15:35:29 -04:00
David Yat Sin
27096d4512
Support for enabling/disabling HWEC based on call bearer_cap
2010-09-28 15:25:47 -04:00
Arnaldo Pereira
f825d1b0ad
merged threaded ftmod_r2.c with non-threaded version from moy and added support for receiving the events to wait for, on ftdm_span_poll_event(), which keeps its default behavior: POLLPRI if NULL is passed
2010-09-23 17:51:45 -03:00
Moises Silva
b76e7f1812
freetdm: fix codec for CAS signaling
2010-09-07 16:04:38 -04:00
Moises Silva
5a2042fcb6
freetdm: ignore unknown wanpipe alarms
2010-08-11 12:51:41 -04:00
Moises Silva
6914b1c855
freetdm: improve channel read error logging
2010-06-25 12:47:32 -04:00
Moises Silva
c31abb3ed0
freetdm: re-enable hw dtmf on channel destroy if needed
2010-06-25 12:47:32 -04:00
Moises Silva
4057872492
freetdm: no need for hw dtmf events on startup
2010-06-25 12:47:32 -04:00
Jeff Lenk
90f04e3c3c
fixes for Win X64 builds
2010-06-17 19:35:20 -05:00
Moises Silva
b1fd88d706
freetdm: check for hw dtmf before enabling
2010-06-03 18:33:52 -04:00
Moises Silva
015d782237
freetdm: DTMF debugging
2010-06-03 17:27:43 -04:00