5035 Commits

Author SHA1 Message Date
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
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
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
Anthony Minessale
bc397ab600 FS-2971 2011-02-25 10:55:47 -06: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
Anthony Minessale
986f258db0 let ctl-c work until you are connected 2011-02-24 18:48:16 -06:00
Anthony Minessale
e96acac3c8 add optional job-uuid param to bgapi in oop mod 2011-02-24 17:48:51 -06:00
Moises Silva
62d000ed20 freetdm: remove sanity state check in outgoing function 2011-02-24 13:14:23 -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
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
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
Moises Silva
f734891d75 freetdm: only set ec call end when the HANGUP state is confirmed 2011-02-18 10:51:36 -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
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
Konrad Hammel
c0e340b188 freetdm: ss7 - update cli usuage print 2011-02-11 17:10:53 -05:00
Konrad Hammel
4f254ebe15 freetdm: ss7: bug fix for ticket 6290, channel status was not showing channel 1 2011-02-11 17:02:56 -05:00
Moises Silva
145884c94c Merge remote branch 'fsorig/master' 2011-02-11 12:11:33 -05:00
Konrad Hammel
e6be62b0e1 freetdm: ss7 - bug fix for change in FreeTDM API 2011-02-11 11:22:44 -05:00
Konrad Hammel
edfb1e9943 Merge branch 'konrad.02-09-11' 2011-02-11 11:14:49 -05:00
Konrad Hammel
381738f700 freetdm: ss7 - bug fix for configuration 2011-02-11 11:13:47 -05:00
Moises Silva
acd6333e33 freetdm: disallow completely core variables for freetdm outbound variables 2011-02-11 10:55:11 -05:00
cypromis
b8afa79b44 Merge remote branch 'origin/master' 2011-02-11 00:23:28 +01:00
Moises Silva
2582d71689 freetdm: use packet_len as the base length in tone generation 2011-02-10 18:00:31 -05:00
Konrad Hammel
c17da69d67 freetdm: ss7 - added hardware dtmf 2011-02-10 16:39:42 -05:00
David Yat Sin
c467886267 freetdm: Added sigmsg->call_priv member that contains caller_data.priv originally set by user 2011-02-10 14:00:57 -05:00
David Yat Sin
6cecbca2bb freetdm: ISDN - Removed unnecessay locks since lock is now done by ftdm core 2011-02-10 14:00:19 -05:00
Moises Silva
46215605f4 Merge remote branch 'fsorig/master' 2011-02-10 10:15:15 -05:00
Konrad Hammel
3611780899 Merge branch 'master' of git.sangoma.com:/smg_freeswitch 2011-02-09 15:15:10 -05:00
Konrad Hammel
1ee94c11c7 freetdm: ss7 - bug fix for SPC no longer being part sng_gen config 2011-02-09 15:14:47 -05:00
Moises Silva
eeac03ef50 freetdm: add code to troubleshoot crash on tone generation 2011-02-09 13:26:23 -05:00
David Yat Sin
df4a18dcba Fixes to support QSIG over T1 2011-02-08 12:10:19 -05:00
David Yat Sin
804fc61a6c Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-02-07 17:29:34 -05:00
David Yat Sin
428ef96667 freetdm: allow reception of FACILITY msg in any channel state when transparent facility is enabled 2011-02-07 17:29:26 -05:00
Moises Silva
f64b03bd8b Merge remote branch 'fsorig/master' 2011-02-07 17:13:11 -05:00
Moises Silva
3830484155 freetdm: do not expect result_cb to be set to make the interface cleaner 2011-02-07 16:06:45 -06:00
Konrad Hammel
946ec62893 freemtdm: ss7 - SPC no long in sng_gen...new configuration file 2011-02-07 10:57:48 -05:00
Konrad Hammel
1cc51046c5 freetdm: ss7 - only unload layers when they are loaded
freetdm: ss7 - configuration updated to allow a route to use multiple linksets...new configuration file
2011-02-07 10:56:37 -05:00