Commit Graph

55 Commits

Author SHA1 Message Date
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Stefan Knoblich 4bc05eae68 FreeTDM: Add span iterator
Part of my ongoing effort to split ftdm_io.c into more manageable pieces.

This change (along with others in the future) allows decoupling of the
span registry and its users, in preparation of moving all span related
functions and data structures into ftdm_span.c.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 15:20:51 +02:00
Kapil Gupta 12e61692dd adding signaling FTDM_SIGTYPE_M2UA type 2012-08-17 19:05:12 -04:00
David Yat Sin 8b0fbe605c Merge branch 'releases.3.5' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
Conflicts:
	.gitignore
	conf/insideout/autoload_configs/modules.conf.xml
	conf/vanilla/autoload_configs/modules.conf.xml
	src/mod/endpoints/mod_sofia/mod_sofia.h
	src/switch_rtp.c
2012-07-25 11:15:18 -04:00
David Yat Sin b44bcd5763 Added core spanflag CLI command 2012-06-20 16:28:00 -04:00
David Yat Sin 6aa8c9b80d freetdm: Improvements to ftdm core flag CLI command 2012-06-19 22:35:37 -04:00
David Yat Sin eb0404d025 Merge remote branch 'fsorig/master' into releases.3.5
Conflicts:
	build/modules.conf.in
	libs/freetdm/mod_freetdm/mod_freetdm.c
2012-05-31 13:57:42 -04:00
Moises Silva 1f08e2b0ec Merge remote branch 'fsorig/master' 2012-05-07 15:46:08 -04:00
Moises Silva 412c808e0c freetdm: Added GSM module skeleton 2012-05-07 15:10:25 -04:00
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Moises Silva 23a328389b freetdm: Initial attempt to bridge natively SS7 signaling between 2 channels 2012-01-26 22:44:19 -05:00
Moises Silva 3b74246b16 freetdm: * Avoid acquiring the span mutex if the pendingchans queue is available for use *
* FreeTDM modules using the old FTDM_SPAN_STATE_CHANGE flag should be updated   *
         * until then, they are still vulnerable to deadlock situations                  *
         * Modules pending update: (ftmod_analog, ftmod_libpri, ftmod_isdn)              *
         * Fixes Sangoma redmine ticket #1791 0 FTDM span stop deadlock                  *
2011-10-24 12:49:36 -04:00
Moises Silva d79f95f2d6 freetdm: * Avoid acquiring the span mutex if the pendingchans queue is available for use *
* FreeTDM modules using the old FTDM_SPAN_STATE_CHANGE flag should be updated   *
         * until then, they are still vulnerable to deadlock situations                  *
         * Modules pending update: (ftmod_analog, ftmod_libpri, ftmod_isdn)              *
         * Fixes Sangoma redmine ticket #1791 0 FTDM span stop deadlock                  *
2011-10-24 12:43:54 -04:00
David Yat Sin bd7672242c Support for AT&T *8 Transfer (VRU only) 2011-06-03 17:18:30 -04:00
Moises Silva e544e4cff1 freetdm: Add initial testing support for unrestricted digital calls using G722 codec 2011-05-10 23:35:20 -04:00
Moises Silva 269906c891 freetdm: Added support for hardware (native) R2 MF generation 2011-02-24 18:41:07 -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
David Yat Sin 62941f69d8 Added FTDM_SPAN_NON_STOPPABLE flag for signalling modules that do not support individual start/stop 2011-01-10 17:46:18 -05:00
Moises Silva 47c1b6d96a freetdm: add validation to ftdm_span_start and ftdm_span_stop 2011-01-04 14:23:25 -05:00
Moises Silva 4a6b4e86f1 freetdm: add non-locking answer function to handle answer indication
export ftdm_current_time_in_ms to users
	 update testr2 to test non-blocking API (no waiting on indications)
2011-01-04 09:30:49 -05:00
Moises Silva 903d136481 freetdm: remove busy-waiting and use ftdm interrupt to wait for state change completion 2010-12-30 10:23:56 -05:00
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 ebb6133529 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2010-12-21 15:16:09 -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 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
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
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 8dd33bc8cc freetdm: add channel commands to record and dump media 2010-12-02 18:35:48 -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 a2add13963 freetdm:Changes for shared IO 2010-11-15 19:16:09 -05:00
David Yat Sin 6cbf8a0167 freetdm: ISDN - Changes to used ftdm IO for d-channel 2010-11-10 19:03:15 -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 55757c4f77 Merge remote branch 'smgorig/master' 2010-09-24 14:15:32 -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
Moises Silva 3a35139a32 freetdm: add asynchronous signal notification 2010-08-31 18:13:56 -04:00
Moises Silva e0b1ea7faa freetdm: saturated add and pri tapping mixing 2010-08-01 03:02:53 -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 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 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