Moises Silva
4268bf84b0
freetdm: more core state refactoring, still untested
2010-12-24 15:58:04 -05:00
Moises Silva
568013bc60
freetdm: initial changes to make FreeTDM APIs non-blocking
2010-12-23 15:39:20 -05:00
Moises Silva
54359f1b78
freetdm: fix call id generation
2010-12-21 19:04:41 -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
Moises Silva
b5b2f6134d
freetdm: multiple fixes for the core and analog
...
* Replace ftdm_channel_flag_t with defines. We reached the 32bit limit where does not seem reliable
to keep using enum.
* Flags member for ftdm_channel_t is now uint64_t
* Added FTDM_CHANNEL_CALL_STARTED flag to indicate when the API user knows about a call
* Refactored raw_data member for ftdm_sigmsg_t. If raw_data needs to be freed it must be requested explicitly
through the autofree member
* Added collected member to ftdm_sigmsg_t for FTDM_SIGEVENT_COLLECTED data instead of using raw_data
* Created define FTDM_DIGITS_LIMIT for DNIS/ANI digits limit
* Fix some stat checks and outdated code in ftmod_analog
* Refactored ftdm_channel_get_history_str API to return the time offsets and time since last state change
* Do not send FTDM_SIGEVENT_STOP and FTDM_SIGEVENT_RELEASED on calls that were never reported to the user
2010-12-20 14:06:54 -05:00
Moises Silva
dd4bad220c
freetdm: ftmod_libpri - update to use proper structure member for signaling status change notifications
2010-12-19 12:55:55 -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
Moises Silva
0f937ca134
freetdm: Add documentation on sig status
2010-12-16 18:29:45 -05: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
102640ad7b
freetdm: support for SIGEVENT_RING
2010-12-15 11:45:50 -05:00
David Yat Sin
905fdcc248
freetdm: Support for channel restarts
2010-12-14 11:23:47 -05:00
David Yat Sin
55203ed0d7
Support for call ID
2010-12-10 19:14:08 -05:00
David Yat Sin
3c747978f4
freetdm: support for call variables
2010-12-09 13:20:05 -05:00
Moises Silva
50f2686fa1
freetdm: Add FTDM_COMMANDs to debug DTMF
2010-12-03 17:52:10 -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
7dbb4834e4
freetdm: ftmod_wanpipe - fixed param documentation for wanpipe_channel_next_event()
2010-12-02 20:21:22 -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
David Yat Sin
302d5bb18f
Changes for ftdm variables
2010-11-30 12:30:31 -05:00
David Yat Sin
7433a1e578
Fix for caller ID not received properly on BRI
2010-11-25 13:16:44 -05:00
Arnaldo Pereira
b7c82d4c2e
freetdm: moved ftdm_channel_read_event() to freetdm.h
2010-11-25 15:40:44 -02:00
David Yat Sin
b814dc17ce
freetdm: ISDN Changes to better match SIP-to-TDM states
2010-11-24 20:04:43 -05: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
473a04651c
freetdm: add missing string for SIGEVENT_RELEASED
2010-11-24 09:28:34 -05:00
Moises Silva
04e8541366
freetdm: add release event to ftdm core
2010-11-23 11:43:52 -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
Stefan Knoblich
e17201bbac
freetdm: Add ftdm_channel_get_state(), ftdm_channel_get_last_state() and ftdm_span_get_trunk_type_str().
...
Remove custom versions from ftmod_isdn and ftmod_libpri.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 17:48:09 +01:00
Arnaldo Pereira
039e4297ac
Merge branch 'master' into ftmod_r2
2010-11-01 23:11:42 -02:00
Moises Silva
fe82c1c143
freetdm: move ftdm_channel_clear_detected_tones to the private header
2010-09-27 21:10:32 -04:00
Moises Silva
5db55ae490
freetdm: remove ftdm_cpu_monitor_disable API
2010-09-24 15:20:28 -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
2293f09da4
Merge branch 'moy.statedebug'
2010-09-23 07:40:49 -04:00
Moises Silva
ed01944c15
freetdm: add initial changes for FreeTDM channel history feature
2010-09-22 14:59:06 -04:00
Moises Silva
5e60c62e08
freetdm: set conf and mod directory in runtime
2010-09-21 13:56:11 -04:00
Moises Silva
bc2638334b
freetdm: iterators refactoring
...
add channel iterator
2010-09-10 14:18:29 -04:00
David Yat Sin
cc722c64f3
minor fixes
2010-09-02 13:46:00 -04:00
Moises Silva
3f3d412b4b
freetdm: add asynchronous signal notification
2010-09-02 12:43:44 -04:00
Moises Silva
a278b6b403
freetdm: added channel variable iterator for signaling specific data
2010-09-02 12:11:31 -04:00
David Yat Sin
432e9cdf5b
Added passthrough for bearer capability
2010-09-01 15:04:09 -04:00
Moises Silva
65ce3554c8
freetdm: added proper bearer capability and user layer 1 protocol types
2010-09-01 15:02:56 -04:00
Moises Silva
05ab7e8de6
freetdm: added proper bearer capability and user layer 1 protocol types
2010-09-01 11:21:29 -04:00
Moises Silva
3a35139a32
freetdm: add asynchronous signal notification
2010-08-31 18:13:56 -04:00
Moises Silva
07b81760cb
freetdm: add bearer capability and layer1 pass-thru for boost
2010-08-10 18:51:06 -04:00
Moises Silva
7573704b8d
freetdm: remove string name for tone detected
2010-06-09 16:37:09 -04:00
Moises Silva
c0397d5ae7
freetdm: move queue dtmf to the private core
2010-06-08 14:14:14 -04:00
Moises Silva
ec4e2c5a45
freetdm: more cleanup, remove unused callbacks
2010-06-08 14:14:14 -04:00
Moises Silva
6f882cbbc1
freetdm: remove unused sigevent
2010-06-07 23:44:52 -04:00