121 Commits

Author SHA1 Message Date
Moises Silva
c059649f8f freetdm: only notify of released channels when is a voice channel 2010-11-23 16:27:40 -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
caacb24500 freetdm: Changes for FTDM IO commands 2010-11-15 14:13:01 -05:00
Moises Silva
f3e55a26ef Merge remote branch 'fsorig/master'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
2010-11-15 14:00:49 -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
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
Arnaldo Pereira
039e4297ac Merge branch 'master' into ftmod_r2 2010-11-01 23:11:42 -02:00
Moises Silva
b96f854803 freetdm: fix libpri mod 2010-09-30 11:12:43 -04:00
Marc Olivier Chouinard
00207cede3 freetdm: Initial fix attempt for libpri. It will now load and work. More testing will be required, I got the feeling some event will clean a channel / span of it value when there is timer still active. 2010-09-30 02:37:57 -04: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
caec99adac freetdm: OPENZAP-108 - patched by John Wehle 2010-09-27 21:42:46 -04:00
Moises Silva
4865e38d31 Merge branch 'moy.printstate' 2010-09-24 08:37:31 -04:00
Moises Silva
562ac0efe3 freetdm: use ftdm stream instead of funky string concatenation with snprintf
add ftdm core state filtering for debugging
2010-09-24 08:35:20 -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
David Yat Sin
1c9fe263d6 Changed ftdm_cpu_monitor behaviour 2010-09-23 13:58:20 -04:00
Moises Silva
2293f09da4 Merge branch 'moy.statedebug' 2010-09-23 07:40:49 -04:00
Moises Silva
640b81a27c freetdm: improve state debug dumping 2010-09-23 07:38:58 -04:00
Moises Silva
ed01944c15 freetdm: add initial changes for FreeTDM channel history feature 2010-09-22 14:59:06 -04:00
Moises Silva
c296179535 freetdm: make config and module directory to be a variable and not a macro 2010-09-21 17:08:44 -04:00
Moises Silva
b3f9bfcba5 freetdm: define safety hangup timer and use internal hangup function 2010-09-21 09:34:04 -04:00
Moises Silva
696becc093 freetdm: add force hangup timer and refactor scheduling code 2010-09-21 07:19:56 -04:00
David Yat Sin
5812c5fd53 freetdm: Used channel iterator.
Removed assert when we cannot find a call on RelInd, it seems like Trillium as a bug where they sometimes send release twice
		Fixes to some memory leaks
		Fix for bug in q921 trace disable command
		Fix for not recognizing etsi switchtype
		Fix for sending RESTART when we are not supposed to in EUROISDN NETWORK mode
		Support for l1 stats
		Fix for deadlocks/segfaults on shutdown
		Added index per link_id, support for show_spans
		Added progress-ind when sending CONNECT message
		Fix for sending CONNECT ACK when configured as TE
2010-09-14 13:42:50 -04:00
Moises Silva
7cb6b4b3e1 freetdm: fix assertion 2010-09-10 18:12:12 -04:00
Moises Silva
c9e780b9b6 freetdm: remove iterator free log 2010-09-10 17:52:08 -04:00
Moises Silva
8370f0c233 freetdm: more iterator fixes 2010-09-10 14:46:51 -04:00
Moises Silva
bc2638334b freetdm: iterators refactoring
add channel iterator
2010-09-10 14:18:29 -04:00
Moises Silva
4d3357e18c freetdm: set outbound flag in individual channel open too 2010-09-08 07:21:56 -04:00
David Yat Sin
d7141be3bc Merge branch 'master' into davidy_test 2010-09-03 17:38:35 -04:00
Moises Silva
4fbef45522 freetdm: set default hangup cause to normal clearing 2010-09-03 13:30:51 -04:00
Konrad Hammel
66e166d3e2 freetdm: bug fix, when changing states from RING to PROGRESS/MEDIA to UP,
we need to check each time for TERMINATING state since set_state
	 function needs to unlock to allow sig mod to handle the state change
2010-09-03 12:36:22 -04:00
David Yat Sin
cc722c64f3 minor fixes 2010-09-02 13:46:00 -04:00
David Yat Sin
e4b5c49fc1 freetdm: fix code using raw_data as an integer when is actually null 2010-09-02 12:51:56 -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
David Yat Sin
e90ccb151e fix for segfaults in cases where we were still using raw_data as pointer 2010-08-31 19:05:37 -04:00
Moises Silva
3a35139a32 freetdm: add asynchronous signal notification 2010-08-31 18:13:56 -04:00
Moises Silva
6216d5df07 freetdm: fix asserts 2010-08-31 14:42:41 -04:00
Moises Silva
6c9e6be255 freetdm: remove hack for race condition since the root cause was fixed 2010-08-31 14:23:37 -04:00
Moises Silva
7c2cbf4073 freetdm: put warning instead of error on circuit congestion 2010-08-31 14:18:21 -04:00
Moises Silva
c443641a73 freetdm: remove suspended check on state change 2010-08-31 14:10:54 -04:00
Moises Silva
32cc2402f4 freetdm: validation fixes 2010-08-31 14:03:12 -04:00
Moises Silva
2ea5e1cd89 freetdm: test log merge 2010-08-30 12:09:10 -04:00
Moises Silva
9099e3b85e freetdm: fix log msg 2010-08-30 11:51:14 -04:00
Moises Silva
705dd237de freetdm: lock the channel when placing call 2010-08-23 16:08:06 -04:00
Moises Silva
fcd8df0af7 freetdm: allocate channels in their own memory page when debugging 2010-08-23 15:45:30 -04:00
Moises Silva
aa0751366a freetdm: OPENZAP-107 - Patched by Jeff Lenk 2010-08-13 12:26:39 -04:00