Commit Graph

17583 Commits

Author SHA1 Message Date
Arnaldo Pereira a390e046b7 freetdm: ftmod_r2 - now locking the channel on main loop start and finish
replaced calls to ftdm_mutex_lock() with ftdm_channel_lock()
2011-01-04 20:07:22 -02:00
Moises Silva 1334d02ac0 Merge branch 'moy.nonblocking-api'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2.c
2011-01-04 12:32:30 -05:00
Moises Silva 5c02639b5a freetdm: update ftmod_sangoma_ss7 to use new state advance API 2011-01-04 10:37:20 -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 6f5a0e9ff5 freetdm: typo 2010-12-31 15:06:49 -05:00
Moises Silva fe0d8d1ec5 freetdm: - updated all signaling modules (except for ftmod_isdn and ftmod_sangoma_ss7) to adapt to new core state processing
- fixed bug in configure.ac to detect ftmod_pritap compilation
         - ignore FTDM_SIGEVENT_RELEASED and FTDM_SIGEVENT_INDICATION_COMPLETED in mod_freetdm
         - Destroy the state completed interrupt on channel destroy
         - Fix analog polarity reversal bug when using 3-way calling or call-swap
2010-12-31 13:44:20 -05:00
Moises Silva 39d58e0452 freetdm: - Update ftmod_sangoma_isdn to use core state advance
- Added locking documentation (docs/locking.txt)
	 - Updated core state advance to use state processor in span
           rather than pushing the processor in the function arguments
2010-12-31 09:42:15 -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 55da2afa7f Merge branch 'moy.nonblocking-api' of git.sangoma.com:smg_freeswitch into moy.nonblocking-api 2010-12-29 14:08:57 -05:00
Moises Silva 6fb1e5d9c1 freetdm: free the iterator when setting channels to non-block 2010-12-29 14:08:18 -05:00
Moises Silva c854fe518a freetdm: update 2008 freetdm vcproj to include ftdm_state header and C file 2010-12-29 14:04:31 -05:00
Moises Silva 090864fa39 freetdm: completed most of the code for the new core state processing
use new core state processing functions in ftmod_r2
2010-12-29 13:38:43 -05:00
Moises Silva 4268bf84b0 freetdm: more core state refactoring, still untested 2010-12-24 15:58:04 -05:00
Moises Silva 82297de753 freetdm: state refactoring in progress *shrug* 2010-12-23 19:50:13 -05:00
Arnaldo Pereira 836604cfd3 Merge branch 'master' into arnaldo.r2_reset_channel 2010-12-23 21:23:01 -02:00
Arnaldo Pereira da5b3822a4 Merge branch 'arnaldo.span_event_refactor'
Conflicts:

	libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c
2010-12-23 21:14:35 -02:00
Arnaldo Pereira c06a835822 freetdm: fixed log message 2010-12-23 21:10:56 -02:00
Moises Silva cd28c4fc98 fretdm: remove m3ua unused stuff 2010-12-23 17:59:05 -05:00
Moises Silva 568013bc60 freetdm: initial changes to make FreeTDM APIs non-blocking 2010-12-23 15:39:20 -05:00
Arnaldo Pereira fa5ec0e553 freetdm: core - changed behavior of ftdm_channel_close(). instead of returning if the channel isn't
opened, not it prints a warning and proceeds to close it.
         ftmod_r2 - added handler for FTDM_CHANNEL_STATE_RESET state
2010-12-23 18:15:37 -02:00
Moises Silva 656ecc1bc0 freetdm: fix ftmod_zt warning 2010-12-23 14:11:09 -05:00
Arnaldo Pereira d8c7913b98 freetdm: ftmod_zt - locking the channel on zt_channel_next_event() 2010-12-23 16:10:53 -02:00
Arnaldo Pereira a797a93feb freetdm: ftmod_zt - refactored zt_channel_next_event(), zt_next_event() and created zt_channel_process_event() 2010-12-23 16:05:48 -02: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 3e32e6ad7b Merge branch 'master' into arnaldo.span_event_refactor
Conflicts:

	libs/freetdm/src/ftdm_io.c
2010-12-22 20:08:05 -02:00
Arnaldo Pereira bc0414a8b5 Merge branch 'master' into arnaldo.zt_chan_next_event 2010-12-22 19:30:44 -02:00
Arnaldo Pereira 818887f9d3 Merge branch 'master' into arnaldo.zt_chan_next_event 2010-12-22 19:09:53 -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 eaf9a41f52 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2010-12-22 15:26:31 -05:00
Moises Silva 358a3192c5 freetdm: remove unused core flag macros 2010-12-22 15:26:10 -05:00
Moises Silva 4f89b514cd Merge remote branch 'fsorig/master' 2010-12-22 15:09:01 -05:00
Moises Silva 525b0978ca freetdm: ftmod_r2 - use openr2 API extension to properly report incoming restricted ANI and restrict ANI on outgoing calls 2010-12-22 15:07:32 -05:00
Arnaldo Pereira 0ab67997f9 freetdm: ftmod_r2 - refactored ftdm_span_next_event(), ftdm_channel_read_event() and created ftdm_event_handle_oob(),
which handle oob events and notify the user by sending the proper SIGEVENT message
2010-12-22 17:35:55 -02:00
Michal Bielicki b61f729068 added polish ringtone 2010-12-22 18:55:18 +00:00
Anthony Minessale 90e58696fe fix dtmf issue with jb on 2010-12-22 12:22:00 -06:00
Jeff Lenk a971e7de70 vs2010 reswig 2010-12-21 22:20:49 -06:00
Jeff Lenk fe005bddd7 FS-2789 fix secondary issue with min_digits = 0 and terminator key pressed to cancel 2010-12-21 22:15:03 -06:00
Joao Mesquita b49c366efb Fix some log lines and a flag logic. 2010-12-21 23:55:26 -03:00
Joao Mesquita 48ed9c2c5d Merge branch 'master' of git@git.freeswitch.org:freeswitch 2010-12-21 23:41:42 -03:00
Joao Mesquita 651acc62f7 Add a chan var conference_enter_sound to override conference enter-sound param on the profile 2010-12-21 23:39:05 -03:00
Anthony Minessale 4d7e4f1ec2 change switch_strip_spaces to specify if you want it to dup the string or destroy the current buffer 2010-12-21 20:30:28 -06:00
Brian West 638cbf16cc Sofia madness to make crap just work 2010-12-21 19:32:54 -06:00
Arnaldo Pereira a3ea8a8f20 freetdm: ftmod_zt - clear FTDM_CHANNEL_EVENT flag on zt_channel_next_event when set,
but retrieve event from channel even when it's not
2010-12-21 22:13:16 -02:00
Moises Silva 54359f1b78 freetdm: fix call id generation 2010-12-21 19:04:41 -05:00
Brian West a1e425029c FS-2944 2010-12-21 16:59:31 -06:00
Anthony Minessale e80a40cf68 rtp adjustments when using jitterbuffer 2010-12-21 15:35:43 -06:00
Anthony Minessale a3b01c195b rtp adjustments when using jitterbuffer 2010-12-21 15:35:43 -06:00
Moises Silva 665b12b1f5 Merge remote branch 'fsorig/master' 2010-12-21 15:23:23 -05:00