Commit Graph
119 Commits
Author SHA1 Message Date
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 1d7a1bd131 freetdm: use ULL for flags 2010-12-21 08:57:11 -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 aa69927b8f freetdm: OPENZAP-124 - Add round robin hunting direction (Patched by Ric) 2010-12-17 20:04:30 -05:00
David Yat Sin 905fdcc248 freetdm: Support for channel restarts 2010-12-14 11:23:47 -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 3c747978f4 freetdm: support for call variables 2010-12-09 13:20:05 -05:00
Moises Silva 18299684bf freetdm: added core command to print channels by flag 2010-12-08 14:50:40 -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
Moises Silva 50f2686fa1 freetdm: Add FTDM_COMMANDs to debug DTMF 2010-12-03 17:52:10 -05:00
Moises Silva 8dd33bc8cc freetdm: add channel commands to record and dump media 2010-12-02 18:35: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 7a7a387f55 freetdm: improve IO stats (cherry picked from R2 branch) 2010-11-26 15:49:18 -05:00
David Yat Sin b814dc17ce freetdm: ISDN Changes to better match SIP-to-TDM states 2010-11-24 20:04:43 -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 086c397cdc Merge branch 'master' into netborder
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cntrl.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
	libs/freetdm/src/include/private/ftdm_core.h
2010-11-10 19:22:27 -05:00
David Yat Sin 6cbf8a0167 freetdm: ISDN - Changes to used ftdm IO for d-channel 2010-11-10 19:03:15 -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 f126b92e2e Merge remote branch 'smgorig/master' 2010-09-29 17:11:24 -04:00
David Yat Sin 27096d4512 Support for enabling/disabling HWEC based on call bearer_cap 2010-09-28 15:25:47 -04:00
Moises Silva ba5a250cc8 freetdm: stop scheduler but do not destroy it until the very end (dup) 2010-09-28 11:05:54 -04: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 55757c4f77 Merge remote branch 'smgorig/master' 2010-09-24 14:15:32 -04:00
Moises Silva ed01944c15 freetdm: add initial changes for FreeTDM channel history feature 2010-09-22 14:59:06 -04:00
Moises Silva 696becc093 freetdm: add force hangup timer and refactor scheduling code 2010-09-21 07:19:56 -04:00
Moises Silva 5e3377c7a4 freetdm: fix win compilation 2010-09-20 18:19:33 -04:00
Moises Silva 95cf2209fe freetdm: make conf nodes to be stored in FIFO order 2010-09-20 10:18:23 -04:00
Moises Silva bc2638334b freetdm: iterators refactoring
add channel iterator
2010-09-10 14:18:29 -04:00
David Yat Sin 432e9cdf5b Added passthrough for bearer capability 2010-09-01 15:04:09 -04:00
Moises Silva 3a35139a32 freetdm: add asynchronous signal notification 2010-08-31 18:13:56 -04:00
Moises Silva def3e0b386 freetdm: include utils header in the core 2010-08-31 14:56:29 -04:00
Moises Silva 4552c69a7b freetdm: call utils missing header 2010-08-31 13:49:27 -04:00
Jeff Lenk 04dbc7bc8e FSBUILD-295 Fix build of mod_freetdm in Windows 2010-08-02 09:01:01 -05:00
Moises Silva e0b1ea7faa freetdm: saturated add and pri tapping mixing 2010-08-01 03:02:53 -04:00
Moises Silva 9f9c4541cd freetdm: added dtmf recording feature for debugging 2010-07-29 17:26:03 -04:00
Moises Silva 438c93e83f freetdm: fix hangup race 2010-07-29 13:15:29 -04:00
Moises Silva 8b51a75cce freetdm: add channel availability rate for BRI (may be used by other protocols if needed) 2010-07-02 18:19:59 -04:00
Moises Silva 84f2249ecc freetdm: make array len macro public 2010-06-30 15:39:02 -04:00
Moises Silva 746e8e44cd freetdm: add physical span:chan when logging 2010-06-27 17:39:05 -04:00
Moises Silva 1f886d39ce freetdm: change type to ss7 only 2010-06-18 18:31:54 -04:00
Konrad Hammel bfab7c4cf0 -> added SANGOMASS7 sigtype 2010-06-18 18:31:53 -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 672b15216e freetdm: remove DTMF string from OOB events 2010-06-03 18:24:10 -04:00
Moises Silva 75be3da8f9 freetdm: add new logging macro 2010-06-02 16:27:47 -04:00
Moises Silva 22e8a44278 freetdm: run sched in the background if requested 2010-05-27 15:16:03 -04:00