Commit Graph

108 Commits

Author SHA1 Message Date
Moises Silva 1ee94f343a Merge remote branch 'fsorig/master'
Conflicts:
	libs/freetdm/src/testsangomaboost.c
2010-12-08 22:41:51 -05:00
Jeff Lenk 9971518384 VS2010 add missing files freetdm 2010-12-08 13:59:56 -06:00
Moises Silva d6583acd3b freetdm: mod_freetdm - fix progress media state for R2 signaling
ftmod_r2 - Do not set the state to DIALING unless openr2_chan_make_call succeeds
2010-12-08 11:57:24 -05:00
Moises Silva 50f2686fa1 freetdm: Add FTDM_COMMANDs to debug DTMF 2010-12-03 17:52:10 -05:00
Moises Silva dae177ec30 freetdm: Add configuration profiles support for openr2 2010-12-03 06:13:11 -05: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
Moises Silva 15b5170b14 freetdm: ftmod_libpri - add support for RINGING state 2010-11-30 16:42:58 -05:00
David Yat Sin 302d5bb18f Changes for ftdm variables 2010-11-30 12:30:31 -05:00
Arnaldo Pereira f7279386e4 freetdm: ftmod_r2 - replaced deprecated ftdm_r2_configure_span() by ftdm_r2_configure_span_signaling(), all r2 default params now stays on ftmod_r2 2010-11-26 22:10:33 -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 8aae091273 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2010-11-23 14:56:50 -02:00
Arnaldo Pereira af5f0a4acd freetdm: made ftmod_r2 use FTDM_SPAN_USE_SIGNALS_QUEUE and properly send FTDM_SIGEVENT_SIGSTATUS_CHANGED 2010-11-23 14:55:59 -02:00
Moises Silva 04e8541366 freetdm: add release event to ftdm core 2010-11-23 11:43:52 -05:00
Stefan Knoblich ced7c9ae43 freetdm: Another round of parameter handling fixes (ftmod_{libpri,isdn,pritap})
ftmod_pritap: Abort before overflowing spanparameters array and initialize to all zero
ftmod_isdn:   Fix overflow check, skip over parameters without name or value, initialize spanparameters array to all zero.
ftmod_libpri: Skip over parameters without name or value, initialize spanparameters array to all zero and drop "i < 10" hardcoded check.

This should fix:
	2010-11-15 09:24:34.609515 [ERR] ftmod_libpri.c:1741 Unknown parameter '', aborting configuration
	2010-11-15 09:24:34.609515 [ERR] mod_freetdm.c:3080 Error configuring FreeTDM span BRI_1

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Reported-by: Ingmar Schraub <is@eseco.de>
2010-11-15 12:33:58 +01:00
Stefan Knoblich 47af9933c4 freetdm: convert ftmod_isdn to use (+ pri_spans) to use ftdm_configure_span_signaling() interface.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 15:44:50 +01:00
Stefan Knoblich 197e4b71d6 mod_freetdm: Really avoid overwriting the last element of spanparameters.
"if (ftdm_array_len(spanparameters) == paramindex)" is still off-by-one,
we want to stop at "ftdm_array_len(spanparameters) - 1", before we overwrite
the last (= terminating, NULL) element.

NOTE: i'd prefer an "argc, argv"-style interface here

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-12 11:42:26 +01:00
Stefan Knoblich eeaab3a02e mod_freetdm: Avoid overflowing the spanparameters array of libpri spans, and make other span types use ftdm_array_len() too.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 23:56:55 +01:00
Moises Silva 8d66f38212 Merge branch 'master' of git://git.freeswitch.org/freeswitch
Conflicts:
	conf/autoload_configs/modules.conf.xml
	libs/freetdm/src/ftdm_sched.c
	libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c
2010-11-09 12:59:48 -05:00
Stefan Knoblich 78eff1d821 freetdm: convert ftmod_libpri (+ libpri_spans) to use new ftdm_configure_span_signaling() interface.
This fixes several issues with parameter handling (e.g. default alaw/ulaw selection being totally useless).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-07 17:00:54 +01:00
Moises Silva 46a9fa3910 freetdm: add debugging msgs for zt wait errors 2010-11-06 17:14:31 -04:00
Arnaldo Pereira 039e4297ac Merge branch 'master' into ftmod_r2 2010-11-01 23:11:42 -02:00
Arnaldo Pereira dcb416e4fb freetdm: ftmod_r2 non threaded working 2010-11-01 23:08:43 -02:00
Arnaldo M Pereira fc55997b9e created cmake files for freetdm 2010-10-06 17:51:29 -03:00
David Yat Sin 1c9fe263d6 Changed ftdm_cpu_monitor behaviour 2010-09-23 13:58:20 -04:00
Moises Silva f37729152d freetdm: dump uuid of the channel associated session if any 2010-09-23 09:30:08 -04: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
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 8370f0c233 freetdm: more iterator fixes 2010-09-10 14:46:51 -04:00
Moises Silva 507b73070b freetdm: fix iterator usage 2010-09-10 14:18:29 -04:00
Moises Silva bc2638334b freetdm: iterators refactoring
add channel iterator
2010-09-10 14:18:29 -04:00
Moises Silva e7fecd0ff9 freetdm: fix config to allow both sangoma pri and bri spans to be configured 2010-09-09 17:22:10 -04:00
Moises Silva f708ee1a0b freetdm: fix help message 2010-09-07 21:21:11 -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 a278b6b403 freetdm: added channel variable iterator for signaling specific data 2010-09-02 12:11:31 -04:00
David Yat Sin abb342f430 Initialized bearer_cap to FTDM_INVALID_INT_PARM 2010-09-01 16:35:59 -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 291adb5686 freetdm: add analog limits 2010-08-31 13:59:13 -04:00
Moises Silva 9a26e0cc2b freetdm: crash on assert 2010-08-31 13:48:48 -04:00
Anthony Minessale 6fe6e67573 pass originate flags into session_request so we can selectivly skip throttling 2010-08-26 12:20:14 -05:00
Moises Silva 07b81760cb freetdm: add bearer capability and layer1 pass-thru for boost 2010-08-10 18:51:06 -04:00
Moises Silva b485f25f5e freetdm: add PRI tapping starting code 2010-07-30 19:46:05 -04:00
Moises Silva a1fe7c8de4 freetdm: call rate limit 2010-07-28 11:36:06 -04:00
Jeff Lenk 71650ae1e8 FSBUILD-291 fix Windows build of mod_freetdm 2010-07-19 08:38:56 -05:00
Moises Silva 6eca1286aa freetdm: add config profiles and sangoma isdn xml section 2010-06-30 15:12:18 -04:00
Moises Silva 4f235af8b4 freetdm: ani2 2010-06-30 11:14:31 -04:00
Moises Silva e4b9556208 freetdm: more sip headers 2010-06-29 16:30:07 -04:00