Moises Silva
11a7b1f9a0
Merge remote branch 'fsorig/master'
2010-12-20 10:12:48 -05:00
Stefan Knoblich
b84b71defa
FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events.
...
The raw_data member is used for passing heap allocated data with an event,
(e.g. strings of dtmf data) the memory is freed after the event has been processed.
Recent changes in the event structure added a way to pass sig status changes inline,
so remove the raw_data usage for FTDM_SIGEVENT_SIGSTATUS_CHANGED events.
NOTE: This (finally) fixes a bug in ftmod_libpri that was caused by
the event handling changes (stack corruption due to using free()
on a variable on the stack, which turned into a NULL ptr deref
caused by some compat code in ftdm_io.c:ftdm_span_send_signal().
Compiles and tested on my BRI setup, i did a quick audit of all
places that generate FTDM_SIGEVENT_SIGSTATUS_CHANGED events and
except for the sangoma_boost module there's nothing else that left
using raw_data for this event.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-12-19 21:09:50 +01:00
Moises Silva
87818abedd
Merge remote branch 'fsorig/master'
2010-12-17 20:31:15 -05:00
Moises Silva
aa69927b8f
freetdm: OPENZAP-124 - Add round robin hunting direction (Patched by Ric)
2010-12-17 20:04:30 -05:00
Moises Silva
d349290f7b
freetdm: fix OPENZAP-125 (Add basic calling party category support into ftmod_r2) (Patched by ric)
2010-12-17 19:26:43 -05:00
Arnaldo Pereira
6b52208957
freetdm: core - moved validation of sigstatus from implementation to core, on sigstatus getters/setters
...
core - locking the channel on ftdm_channel_get_sig_status() and ftdm_channel_set_sig_status(),
but not on ftdm_span_get_sig_status() nor ftdm_span_set_sig_status()
ftmod_r2 - locking channels on ftdm_r2_get_span_sig_status() and ftdm_r2_set_span_sig_status()
2010-12-17 18:28:57 -02:00
David Yat Sin
53346e4948
Freetdm: exposed channel availability rate to user
2010-12-15 16:42:47 -05:00
David Yat Sin
dd345b913b
freetdm: Support for RAW traces
2010-12-15 16:29:03 -05:00
David Yat Sin
0235f0ba0e
Merge branch 'master' into davidy.channel_restart
2010-12-15 12:58:38 -05:00
David Yat Sin
ea2b477444
Freetdm:fix for ftdm_channel_close not always passed double-pointer
2010-12-15 12:56:49 -05:00
Moises Silva
3085523f56
freetdm: define special size formatting that actually works on Linux and Windows
2010-12-15 09:56:27 -05:00
Moises Silva
1c01144c20
freetdm: open all media dumps as binary. Fixes Windows corrupted cores.
2010-12-14 16:55:40 -05:00
David Yat Sin
56515c3a64
Minor change to allow skip states
2010-12-14 16:04:25 -05:00
David Yat Sin
905fdcc248
freetdm: Support for channel restarts
2010-12-14 11:23:47 -05:00
David Yat Sin
ce25c9186f
Merge branch 'davidy.caller_id'
2010-12-13 11:51:49 -05:00
David Yat Sin
f87a32c66a
removed unnecessary initialization
2010-12-13 11:29:38 -05:00
David Yat Sin
55203ed0d7
Support for call ID
2010-12-10 19:14:08 -05:00
David Yat Sin
fb9a1b05ac
Merge branch 'smgfs'
2010-12-10 15:22:14 -05:00
David Yat Sin
86c484c134
freetdm: added support for skip states, used by sangoma_isdn module
2010-12-09 18:01:31 -05:00
David Yat Sin
5ab19aaa23
freetdm: fix compilation
2010-12-09 13:47:40 -05:00
David Yat Sin
3c747978f4
freetdm: support for call variables
2010-12-09 13:20:05 -05:00
Jeff Lenk
87bb33ae3a
windows fix x64 build warnings freetdm
2010-12-09 08:44:55 -06:00
Moises Silva
499eafb2e0
freetdm: check for dump enabled before writing to file
2010-12-09 07:19:31 -05:00
Moises Silva
648a124c3f
freetdm: improve core flag command
2010-12-08 15:12:10 -05:00
Moises Silva
18299684bf
freetdm: added core command to print channels by flag
2010-12-08 14:50:40 -05:00
Moises Silva
315441d219
freetdm: ftmod_r2 - handle race on protocol error
2010-12-08 14:30:47 -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
71a902d258
freetdm: Added core rx and tx drops
...
Added sig_write callback
ftmod_r2 - Added IO stats flag during call setup
- Disable user read and writes during call setup
2010-12-08 09:09:14 -05:00
Arnaldo Pereira
d25cb0282b
freetdm: ftmod_r2 - fixed complation warnings on windows
2010-12-07 20:33:23 -02:00
Arnaldo Pereira
1088533626
freetdm: removed dump_mf() debug call from ftmod_r2 and added a comment to ftdm_io
2010-12-07 18:14:03 -02:00
Arnaldo Pereira
ceaa7b1c33
Merge branch 'master' of git.sangoma.com:smg_freeswitch
2010-12-07 14:04:27 -02:00
Arnaldo Pereira
d4f512083f
freetdm: ftmod_r2 - added cast to properly malloc io dump buffer on win64
2010-12-07 13:58:44 -02:00
Moises Silva
5522982936
Merge remote branch 'fsorig/master'
2010-12-06 15:10:53 -05:00
Arnaldo Pereira
430556697e
freetdm: fixed compilation on windows
2010-12-06 17:11:56 -02:00
Moises Silva
c05cae9f0a
freetdm: use ftdm_status_t as return code for io dump and debug dtmf functions
2010-12-06 07:26:04 -05:00
Moises Silva
6e05e90caf
freetdm: reduce log severity
2010-12-03 17:54:24 -05:00
Moises Silva
50f2686fa1
freetdm: Add FTDM_COMMANDs to debug DTMF
2010-12-03 17:52:10 -05:00
Moises Silva
9cf15ac04b
freetdm: add MF dumping support to ftmod_r2
...
improve sample configuration documentation for MFC-R2
2010-12-03 16:50:03 -05:00
Moises Silva
1c636e8003
Merge branch 'master' into moy.iodump
2010-12-03 12:59:48 -05:00
Moises Silva
8dd33bc8cc
freetdm: add channel commands to record and dump media
2010-12-02 18:35:48 -05:00
Arnaldo Pereira
cf7d91a769
Merge branch 'arnaldo.ftdm_channel_read_event'
2010-12-02 20:53:18 -02:00
David Yat Sin
60ab93e36c
freetdm: Fix for TON/NPI from default_caller_data ignored
2010-12-02 14:25:23 -05: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
David Yat Sin
71e8ed8180
freetdm: ISDN - Fix for not being able to open d-channel when span is in alarm
2010-12-01 17:03:42 -05:00
David Yat Sin
35ba58e649
freetdm - ISDN:Fix for windows compilation issues
2010-11-30 17:48:55 -05:00
Moises Silva
086245a701
freetdm: do not skip states if FREETDM_SKIP_SIG_STATES is not defined
2010-11-30 17:21:48 -05:00
David Yat Sin
a27bdf3f5b
freetdm:Changed freetdm variables
2010-11-30 12:57:43 -05:00
David Yat Sin
302d5bb18f
Changes for ftdm variables
2010-11-30 12:30:31 -05:00
Moises Silva
2a00d3ea13
Merge remote branch 'fsorig/master'
...
Conflicts:
conf/dialplan/default.xml
2010-11-30 12:19:42 -05:00
Moises Silva
469728a865
freetdm: clear out wait flags in the core on timeout
2010-11-30 11:38:38 -05:00