Commit Graph

1806 Commits

Author SHA1 Message Date
Konrad Hammel 93bfa6d1e9 chlog freetdm: ss7 - adding initial support for RELAY 2011-03-09 15:06:25 -05:00
Konrad Hammel c0a2a225ba freetdm: ss7 - bug fix in GRS handling 2011-03-09 12:06:00 -05:00
Konrad Hammel dcf515ffaf freetdm: ss7 - bug fix for race condition on startup causing seg fault 2011-03-09 12:05:33 -05:00
Moises Silva c79bfa768a Merge remote branch 'smgfs/master' 2011-03-06 22:11:39 -05: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 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 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
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 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
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
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
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
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
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
David Yat Sin 9f8c428ebc freetdm: fix for calling print_hex_dump with invalid string length 2011-02-22 15:00:40 -05:00
David Yat Sin e26b5727de freetdm: fix for calling print_hex_dump with invalid string length 2011-02-22 14:59:57 -05:00
David Yat Sin 7860db0110 freetdm: updated documentation for ftdm_variables 2011-02-22 11:22:58 -05:00
David Yat Sin 4f8d4b95cd added ftdm_variables.c 2011-02-22 11:13:44 -05:00
Stefan Knoblich c8065499ad [FreeTDM] Add --with-pkgconfigdir option to FreeTDM.
Default behaviour is unchanged.

Packagers should use this option to install freetdm.pc into
the system's main pkg-config directory (e.g. /usr/lib/pkgconfig).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-02-19 23:35:41 +01:00
Moises Silva f785d4b3ff Merge remote branch 'fsorig/master'
Conflicts:
	src/mod/endpoints/mod_sofia/sofia_glue.c
2011-02-18 22:50:00 -05:00
David Yat Sin 7b1da2316b freetdm: Updated signalling modules to not set channel state to DIALING on OUTGOING_CALL_FUNCTION 2011-02-18 13:21:05 -05:00
David Yat Sin cabd05d116 chlog: freetdm: channel/call variables moved to sigmsg 2011-02-18 13:01:57 -05:00
Moises Silva f734891d75 freetdm: only set ec call end when the HANGUP state is confirmed 2011-02-18 10:51:36 -05:00
David Yat Sin 60395cea46 chlog: freetdm: Channel indicator IE only included in first response 2011-02-17 11:44:57 -05:00
Moises Silva bb797286d0 freetdm: increase size of static buffer for DSO path 2011-02-17 09:22:53 -05:00
Moises Silva c166f5f02c freetdm: increase size of static buffer for DSO path 2011-02-17 09:17:41 -05:00
David Yat Sin 925623c19e freetdm: Removed ftmod_sangoma_boost 2011-02-16 11:07:30 -05:00