89 Commits

Author SHA1 Message Date
Moises Silva
4ece7e6ffd freetdm: ftmod_wanpipe - remove debug idle messages for good, not worth the noise 2011-10-06 17:55:45 -04:00
Moises Silva
199e4397b5 freetdm: do not warn on io status changes, leave as debug messages 2011-09-15 12:50: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
9cceb8e62c FreeTDM: gcc-4.6 fix (-Wunused-but-set)
ftmod_wanpipe.c:
	Remove myerrno variable in wanpipe_read(),
	snprintf does not set errno (according to the manpage),
	so no need to save it (without even using it later).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-05-14 23:59:14 +02:00
Michael Jerris
23d8658505 make ananlog alarm 2011-05-07 00:27:20 -04:00
Moises Silva
63706a839f freetdm: add support for setting the channel tx/rx queue size from config file (wanpipe.conf) and from CLI 2011-03-21 14:25:20 -04:00
Jeff Lenk
14bdb87e85 OPENZAP-146 - this restores the correct behavior regression from Commit:03dc3b7b8d734e5a916c0dd48c408e78e6f66f55 2011-03-18 22:47:41 -05:00
Arnaldo Pereira
41dc6f46db Merge branch 'master' of git://git.freeswitch.org/freeswitch 2011-02-03 19:57:25 -02:00
Jeff Lenk
256a82dbf2 OPENZAP-140 VS2010 build cleanup 2011-01-31 10:12:28 -06:00
David Yat Sin
0d276e7d7b Merge branch 'master' of git://git.freeswitch.org/freeswitch 2011-01-28 13:42:30 -05:00
Moises Silva
e1c17cffe0 freetdm: use the problem freetdm define to set wp alarms 2011-01-27 16:36:45 -05:00
Moises Silva
accc285280 freetdm: ftmod_wanpipe dummy for disabling echotrain 2011-01-21 15:29:07 -05:00
Moises Silva
0fdc272b25 freetdm: open wanpipe devices as non-exclusive if possible 2011-01-19 15:53:01 -05:00
Moises Silva
9a545bd0c9 freetdm: doh 2011-01-18 13:21:31 -05:00
Moises Silva
44ac5d8b99 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-01-18 13:14:25 -05:00
Moises Silva
07fa8a4a72 freetdm: fix windows ftmod_wanpipe bug on link connect/disconnect 2011-01-18 13:13:30 -05:00
Moises Silva
1db40e60e4 freetdm: improved logic to enable/disable EC on call start/stop
- MFC-R2 requires tone signaling that gets screwed sometimes
           if the EC is enabled during call setup.
         - EC is now enabled only when switching to a state requiring
         media (UP and PROGRESS_MEDIA)
         - The logic is aware of EC persist option in Wanpipe
         - Improved logging in ftmod_wanpipe to print EC state on startup
2011-01-18 11:28:37 -05:00
Moises Silva
6734fe711b freetdm: General fixes for alarm handling and added MFCR2 suspend support
- Clean up ftdm_channel_set_sig_status locking and sanity checks
         - Set FTDM_CHANNEL_SUSPENDED when delivering FTDM_SIGEVENT_SIGSTATUS changed to SUSPENDED
         - Clear FTDM_CHANNEL_SUSPENDED when delivering FTDM_SIGEVENT_SIGSTATUS changed to UP
         - Update ftmod_r2 to honor local suspend requests when returning from alarm state
2011-01-17 15:42:36 -05:00
Moises Silva
04d5652819 freetdm: fix incorrect alarm reporting due to Wanpipe bug
proper alarm handling for R2 calls
2011-01-14 18:43:42 -05:00
Moises Silva
946f47f189 freetdm: fix wp config message 2011-01-12 13:16:45 -05:00
Moises Silva
a3499c5343 freetdm: fix wink/flash in ftmod_wanpipe 2011-01-06 13:50:26 -05:00
Arnaldo Pereira
4098b4e289 freetdm: ftmod_wanpipe - fix log msg 2010-12-23 16:04:25 -02:00
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