Commit Graph

5158 Commits

Author SHA1 Message Date
Jeff Lenk a8f01d5bc6 Correct gains usage example 2011-03-10 16:58:16 -06:00
Arnaldo Pereira c1904f2e4f Merge branch 'master' into arnaldo.freetdm_release 2011-03-10 13:32:13 -05:00
Stefan Knoblich 1a54968d99 ftmod_libpri: go to PROGRESS_MEDIA in on_ringing() if there is inband information available and rework channel opening to not skip state changes when the channel is already open.
The latter part affects on_ringing(), on_progress() and on_proceeding().

Somewhat experimental and untested (apart from a compile run).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-03-10 18:25:43 +01:00
Anthony Minessale 687140b588 FS-3139 2011-03-10 10:30:00 -06:00
Moises Silva 3bbab5cbea freetdm: ftmod_zt - print more specific errors for overrun and bad checksum 2011-03-10 09:25:49 -05:00
Anthony Minessale e8474d602d ESL-57 2011-03-10 00:33:43 -06:00
David Yat Sin dbfa7fa817 freetdm:Fix ftdm_sigmsg_get_raw_data_detached
ISDN: Fix for Facility IE in Facility message not passed to user in raw mode
2011-03-09 16:55:33 -05:00
Anthony Minessale 0c5222a460 add rtp-notimer-during-bridge (alternative to rtp-autoflush-during-bridge 2011-03-09 15:17:26 -06:00
Konrad Hammel 21c60c698d freetdm: ss7 - bug fix for compile bug introduced by merging 2011-03-09 15:10:14 -05:00
Konrad Hammel 93bfa6d1e9 chlog freetdm: ss7 - adding initial support for RELAY 2011-03-09 15:06:25 -05:00
David Yat Sin 419d7e2335 FreeTDM: ISDN - Fix for q921 frames not printing span name properly 2011-03-09 14:38:22 -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
Anthony Minessale 564046412d FS-3133 --comment-only this looks like a bad assert, can you update and try again, part 2 2011-03-08 12:40:58 -06:00
Anthony Minessale 0be456565b FS-3133 --comment-only this looks like a bad assert, can you update and try again 2011-03-08 12:39:07 -06:00
Michael S Collins 0db261ac28 Add missing newline on fs_cli usage 2011-03-07 10:57:25 -08:00
David Yat Sin ea498e472a Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder 2011-03-07 10:58:10 -05:00
David Yat Sin d36933df10 Fix for Raw Facility IE, introduced with ftdm_variables3 patch 2011-03-07 10:57:37 -05:00
Moises Silva c79bfa768a Merge remote branch 'smgfs/master' 2011-03-06 22:11:39 -05:00
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 2081bf97b9) 2011-02-22 17:07:18 -06: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
Anthony Minessale 91a5e77650 FS-2803 2011-02-18 18:53:40 -06:00
Anthony Minessale e4bff56765 fix seg in sofia merged from upstream 2011-02-18 18:50:50 -06: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
Michal Bielicki - cypromis 65d5932c9f fixes for the python esl (we need ESL.py as well)
deleting the sangoma modules if they are not defined to be build but are build anyway
2011-02-17 10:09:26 +01:00
Michal Bielicki - cypromis 3ce98c4ebd major cleanups, mod_skinny and skypopen and sangoma ftdm modules added to rpm spec file 2011-02-17 00:02:37 +01:00
Michal Bielicki - cypromis e8335f5880 added DESTDIR to esl makefiles so that it can be used during rpm building 2011-02-16 20:54:57 +01:00
Michal Bielicki - cypromis 837c6ff6e8 adding centos standard java include parts to javamod esl module 2011-02-16 20:35:56 +01:00
Michal Bielicki - cypromis b83a30caf6 added python eslmod installation to esl Makefiles 2011-02-16 20:35:11 +01:00
David Yat Sin 925623c19e freetdm: Removed ftmod_sangoma_boost 2011-02-16 11:07:30 -05:00
David Yat Sin d4068d9755 freetdm: Removed ftmod_sangoma_boost 2011-02-16 11:06:26 -05:00
Moises Silva 7b30aec93d freetdm: ftmod_r2 - check fclose return value when dumping IO 2011-02-15 16:34:52 -05:00
Moises Silva a411cea7b2 freetdm: ftmod_r2 - check fclose return value when dumping IO 2011-02-15 16:34:09 -05:00
Konrad Hammel 11cc6f95cd freetdm: ss7 - update to configuration file to mirror ISDN configuration 2011-02-15 11:58:16 -05:00
Moises Silva f113c323fc Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-02-14 17:32:55 -05:00
Moises Silva c9ee4fab73 freetdm: remove deprecated channel variables code 2011-02-14 17:32:30 -05:00
Moises Silva e281aca346 Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder 2011-02-14 15:33:19 -05:00
Moises Silva 86884e5256 Merge branch 'master' into netborder 2011-02-14 15:24:02 -05:00
Moises Silva 642882727f freetdm: added CLI completion for core commands 2011-02-14 15:14:44 -05:00
Moises Silva d8add09a35 freetdm: ftmod_r2 - Disable MF dump on call accepted
core - Do not start DTMF debugging until media is available
2011-02-14 15:05:39 -05:00
Moises Silva c81bf01fc9 freetdm: ftmod_r2 - set MF dump directory default to logdir 2011-02-14 14:44:38 -05:00