5239 Commits

Author SHA1 Message Date
Anthony Minessale
e7b3c3b1ad add -i --interrupt to fs_cli to allow control-c to exit the program 2011-03-06 19:57:05 -06:00
Jeff Lenk
53e867bcf2 fix vs2008 x64 build 2011-03-06 13:34:24 -06:00
Stefan Knoblich
02b2926351 [FreeTDM] Fix segfault in ftdm_analog_configure_span() on startup.
Using ftdm_log_chan() in ftdm_analog_configure_span() is a bad idea,
since the span won't have any channels assigned.

This bug powered by declaring all variables at the top of the function,
even if they are used in an if branch at the end.

A C99'ish:

	if (callwaiting) {
		for (unsigned int i = 1; i <= span->span->chan_count; i++) {
			/* ... */
		}
	}

would have alerted the developer adding the log statement.
But since we can't have nice things (thanks MSVC for not supporting C99!)
</rant>

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-03-06 19:42:47 +01:00
Moises Silva
865d04ef2f Merge remote branch 'fsorig/master' 2011-03-05 20:46:30 -05:00
David Yat Sin
00dc8577e8 freetdm: Typo in function define 2011-03-04 10:38:48 -05:00
David Yat Sin
c5dd481fbd freetdm: ISDN - ftdm_complete_state is not called in state_advance if a new state is set 2011-03-04 10:36:36 -05:00
David Yat Sin
06db039878 FreeTDM: Fix for race condition on FreeTDM init for freetdm-master timer (JIRA:OPENZAP-143) 2011-03-03 10:57:03 -05:00
David Yat Sin
1fbb321f3d freetdm: Allow user to indicate FACILITY on outbound calls 2011-03-03 09:48:48 -05:00
Arnaldo Pereira
c56bf093fb freetdm: some fixes to mkrelease.sh 2011-03-02 23:18:56 -03:00
Arnaldo Pereira
9b9ed009b7 freetdm: changed mkrelease.sh to ship ABI compatibility test reports with the
generated release.
2011-03-02 22:42:59 -03:00
David Yat Sin
50f30a29f5 freetdm: ISDN - ftdm_complete_state is not called in state_advance if a new state is set 2011-03-02 10:59:43 -05:00
Konrad Hammel
7ec2a5d246 chlog: freetdm: ss7 - added support to check isup stack circuit state via cli (ftdm ss7 show status isup ckt X)
freetdm: ss7 - updated module to support latest changes to freetdm core
2011-03-01 15:32:58 -05:00
Moises Silva
706550e2ca Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-03-01 12:17:00 -05:00
Moises Silva
7e5befc2ba freetdm: use ftdm_channel_hangup_with_cause for CAS channels (ftmod_r2) 2011-03-01 12:16:27 -05:00
David Yat Sin
086664fbd2 freetdm: Typo in function define 2011-03-01 09:54:52 -05:00
David Yat Sin
8cc8249052 freetdm: Do not call sng_isdn_retrieve_facility_caller_name when transparent facility is enabled 2011-02-28 18:54:03 -05:00
David Yat Sin
f9540b7258 freetdm: Do not call sng_isdn_retrieve_facility_caller_name when transparent facility is enabled 2011-02-28 18:53:02 -05:00
Arnaldo Pereira
64b24240c0 freetdm: added more arguments to ftdm_abi_check when generating ftdm releases 2011-02-28 18:48:55 -03:00
Moises Silva
4793c697bd Merge branch 'netborder'
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_io.c
	libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2_io_mf_lib.h
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_trace.c
	libs/freetdm/src/include/freetdm.h
	libs/freetdm/src/include/private/ftdm_core.h
2011-02-28 12:47:27 -05:00
Moises Silva
3a0d5b6297 freetdm: remove unused prototype for ftdm_call_clear_data 2011-02-28 12:42:43 -05:00
Arnaldo Pereira
d458004519 freetdm: passing ftdm path to abi test script 2011-02-28 12:55:56 -03:00
Moises Silva
d1b3c595cf Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_state.c
2011-02-28 10:55:40 -05:00
Moises Silva
cd6eee31a2 freetdm: remove ftdm_channel_init API 2011-02-28 10:52:30 -05:00
Arnaldo Pereira
f82c23ea69 freetdm: updated mkrelease.sh to download libsng-ss7 and libsng-isdn, compile
freetdm and mod_freetdm and test the ABI compatibility against older
         releases, through an external script, before generating the tarball.
2011-02-28 12:48:40 -03:00
Moises Silva
933cabb53d freetdm: do not free sigmsg if was not queued
fix type casting
2011-02-25 17:53:02 -05:00
Moises Silva
244e7c7610 Merge remote branch 'origin/davidy.ftdm_variables3' into netborder.tmp 2011-02-25 17:17:29 -05:00
Anthony Minessale
0444626b72 fix linger support in esl client lib 2011-02-25 16:13:24 -06:00
Anthony Minessale
a126cc7f16 add param to jb to try to recapture latency (disabled by default) 2011-02-25 12:45:41 -06:00
Moises Silva
f614a52fbb freetdm: ftmod_r2 - Use unallocated number as reason to reject collect calls
Brazil, the only country using this do not really makes a difference
2011-02-25 12:45:01 -05:00
David Yat Sin
b2b50a1030 freetdm: Removed unnecessary parameter copy
Added ftdm_raw_data_t
2011-02-25 12:20:32 -05:00
Anthony Minessale
bc397ab600 FS-2971 2011-02-25 10:55:47 -06:00
David Yat Sin
f8e1fa666d freetdm: updated variables.txt 2011-02-25 11:07:39 -05:00
David Yat Sin
06bd633053 freetdm: updated variables.txt 2011-02-25 11:05:11 -05:00
Moises Silva
687d39f259 freetdm: ftmod_analog - Add timeout parameter for dial tone. 0 means not waiting for dial tone. 2011-02-25 10:35:25 -05:00
David Yat Sin
4b613f426c Merge branch 'davidy.ftdm_variables3' of git.sangoma.com:smg_freeswitch into davidy.ftdm_variables3
Conflicts:
	libs/freetdm/src/ftdm_io.c
2011-02-25 10:06:20 -05:00
David Yat Sin
49ac70defd freetdm: User variables now stored in ftdm_usrmsg_t 2011-02-25 09:58:15 -05:00
Moises Silva
f785fa11e4 freetdm: fix bugzilla 5600 - allow_collect_calls ftmod_r2 param not implemented 2011-02-24 21:02:51 -05:00
Anthony Minessale
986f258db0 let ctl-c work until you are connected 2011-02-24 18:48:16 -06:00
Moises Silva
f0da352917 freetdm: more visual studio 2008 and 2010 updates to set the proper _WIN32_WINNT target 2011-02-24 19:38:37 -05:00
Moises Silva
99b64f39a1 freetdm: add _WIN32_WINNT version to vs project 2011-02-24 19:32:40 -05:00
Moises Silva
518e034187 freetdm: remove remaining references to boost (sample code, visual studio project references) 2011-02-24 19:26:40 -05:00
Anthony Minessale
e96acac3c8 add optional job-uuid param to bgapi in oop mod 2011-02-24 17:48:51 -06:00
Moises Silva
327def8c21 freetdm: Do not move to dialing if signaling module already moved the state 2011-02-24 18:45:54 -05:00
Moises Silva
269906c891 freetdm: Added support for hardware (native) R2 MF generation 2011-02-24 18:41:07 -05:00
Moises Silva
62d000ed20 freetdm: remove sanity state check in outgoing function 2011-02-24 13:14:23 -05:00
David Yat Sin
c22816c39c freetdm: span id specified in raw trace if channel was not mapped 2011-02-23 16:21:44 -05:00
David Yat Sin
e94913a2da Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-02-23 16:21:30 -05:00
David Yat Sin
dd40e50e7a freetdm: span id specified in raw trace if channel was not mapped 2011-02-23 16:20:26 -05:00
David Yat Sin
512eaaa87c freetdm: removed warning log when a SETUP message without channel IE is received 2011-02-23 15:01:29 -05:00
Anthony Minessale
e8a1055854 ESL-56 null terminate buffer after reading from the socket to prevent cross-over to old data that confuses the parser and throws off framing. (regression from 2081bf97b9836f5299c22edbb1ead077842ea2bc) 2011-02-22 17:07:18 -06:00