22134 Commits

Author SHA1 Message Date
Stefan Knoblich
fb39819ec7 ftmod_libpri: Skip channels marked in use during NT-mode idle restart.
Channels can be in DOWN state but reserved by an incoming call
(FTDM_CHANNEL_INUSE flag). Additionally check the flag in on_timeout_t3xx()
and skip those channels.

Reported-by: privi #freetdm @ irc.freenode.net
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:31:37 -04:00
David Yat Sin
8a25c67d40 Freetdm: ISDN fix for link not always recovering after T1/E1 alarm 2012-09-11 14:31:37 -04:00
Anthony Minessale
de02051b2d plan b 2012-09-11 14:31:37 -04:00
Anthony Minessale
7b42a31487 revert 2012-09-11 14:31:37 -04:00
Anthony Minessale
b4df774563 end faster when only pickup endpoints are left 2012-09-11 14:31:37 -04:00
Jeff Lenk
2b334d571f FS-4605 --resolve 2012-09-11 14:31:37 -04:00
Brian West
98a7d292f4 Support rebooting some more ciscos 2012-09-11 14:31:37 -04:00
Anthony Minessale
2c829257d2 FS-4595 please test 2012-09-11 14:31:37 -04:00
Anthony Minessale
1318539312 missed a spot 2012-09-11 14:31:37 -04:00
Anthony Minessale
ad5505f591 set new pt on re-invite video negotiation 2012-09-11 14:31:37 -04:00
Anthony Minessale
34b56f4dfa sndfile tweak 2012-09-11 14:31:37 -04:00
Anthony Minessale
2e572b80eb minor video tweaks 2012-09-11 14:31:37 -04:00
Anthony Minessale
4e085205d2 video tweaks for echo app 2012-09-11 14:31:37 -04:00
Anthony Minessale
2249e1dfc6 hangup pickup chans with no answer if they are the only ones left 2012-09-11 14:31:37 -04:00
William King
353e35e1e5 Add better handling of time values when the times aren't defined. Fix formatting of the config values for two config values. 2012-09-11 14:31:37 -04:00
Jeff Lenk
e356a374ce FS-4343 --resolve add mod_directory, mod_callcenter, mod_skypopen 2012-09-11 14:31:36 -04:00
Anthony Minessale
5743dcafd0 FS-4602 --resolve 2012-09-11 14:31:36 -04:00
Steve Underwood
71dd24d199 Some tweaks to spandsp 2012-09-11 14:31:36 -04:00
Raymond Chandler
d619343338 FS-4558 --resolve 2012-09-11 14:31:36 -04:00
Jeff Lenk
25bd57599a FS-4591 2012-09-11 14:31:36 -04:00
Anthony Minessale
b0e49d3e13 add timestamps for on and off hold times to put in xml cdrs 2012-09-11 14:31:36 -04:00
Anthony Minessale
4e028f3914 add chan vars to tell sip to break the rfc and expect the codec payload the other side replies with rather than the one it offered which is the correct behaviour 2012-09-11 14:31:36 -04:00
Anthony Minessale
c24fc27050 add uuid_media_reneg api command to tell a channel to send a re-invite with optional list of new codecs 2012-09-11 14:31:36 -04:00
Anthony Minessale
5a234a6099 FS-4408 fix crash caused by missing or invalid call-id in sip invite 2012-09-11 14:31:36 -04:00
Michael S Collins
956b8a3d45 Update phrase_en.xml (to be recorded) 2012-09-11 14:31:36 -04:00
Stefan Knoblich
b26a6ffca7 ftmod_libpri: Print warning message in lpwrap_stop_timer(), if timer is not on the active list
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:31:36 -04:00
Stefan Knoblich
6407cfba0f ftmod_libpri: Append new lpwrap timers in correct order.
List is sorted in ascending order of expiration time,
fix the if clause in lpwrap_start_timer().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:31:36 -04:00
Anthony Minessale
c3f62cc3b5 fix logic in dmachine parser for overlap bindings so they work regardless of the order they are bound 2012-09-11 14:31:36 -04:00
Steve Underwood
2ff6327c93 Some tweaks to spandsp tests. Make spandsp write TIFF files more like the
TIFF/FX spec says, even though no software seems to care.
2012-09-11 14:31:36 -04:00
Anthony Minessale
35aaa693d0 regression from a9d72bc35d0e021f8db1ea480b1ddb0744d73bac 2012-09-11 14:31:35 -04:00
Anthony Minessale
29a4824b98 protect against case with null sofia_private in callback 2012-09-11 14:31:35 -04:00
Raymond Chandler
a36f4b71dd FS-4558 --resolve 2012-09-11 14:31:35 -04:00
Anthony Minessale
86d5c02076 one more try 2012-09-11 14:31:35 -04:00
Anthony Minessale
7eb324bcad second try at sip_wait_for_aleg_ack 2012-09-11 14:31:35 -04:00
Anthony Minessale
036dd1bd2f FS-4593 please test this and post logs if necessary 2012-09-11 14:31:35 -04:00
Anthony Minessale
d673f6917e move verbos zrtp debug messages to log level DEBUG1 fsctl debug_level 1 to see them 2012-09-11 14:31:35 -04:00
Anthony Minessale
79d86a7d60 remove .la files on modwipe 2012-09-11 14:31:35 -04:00
Michael S Collins
b406a61f95 Update phrase_en.xml for sounds ver 1.0.21 2012-09-11 14:31:35 -04:00
Anthony Minessale
78ad9e3ad0 add make version target 2012-09-11 14:31:35 -04:00
Anthony Minessale
0ccb94535a let callers delete themselves on reload 2012-09-11 14:31:35 -04:00
Jeff Lenk
63be07707e fix naming issue in last mod_managed change - trivial 2012-09-11 14:31:35 -04:00
Anthony Minessale
4ef1eeb853 fix small broadcast bug 2012-09-11 14:31:35 -04:00
Stefan Knoblich
687dae1084 ftmod_libpri: Improve RESTART handling, add PTP NT idle channel restart and T316.
Do not try to send RESTART on BRI PTMP spans, libpri will just print
an error and do nothing, causing the channels to be stuck in RESTART
forever.

Add T316 (RESTART ACK timeout), which is not implemented by libpri.
The default timeout is 30 seconds (Q.931 recommends 2 minutes, but
that is a little long and libpri layer 2 is being stupid) and the
restart attempt limit to 3 (instead of 2).

Periodically send RESTART on idle b-channels in PTP NT mode.
Default interval is 15 minutes, feature can be disabled by setting
"idle_restart_interval" to 0 in the span configuration.

Allow timeout / interval values to have an additional time unit
suffix for convenience reasons, the default (no unit specified)
is milliseconds, valid units include:

	w (week), d (day), h (hour), m (minute), s (second)

Only full integers are accepted, no fractional numbers, valid examples:

	2w   = two weeks
	37m  = 37 minutes
	1h   = 1 hour

Combinations of multiple numbers and units (e.g. "1w5d") are not supported.

New span configuration parameters:

	idle_restart_interval		(milliseconds / time unit suffix /
					 0 = disabled)

	t316 / restart_timeout		(milliseconds / time unit suffix)
	t316_limit / restart_attempts	(number of max. attempts)

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:31:35 -04:00
Stefan Knoblich
372330ac41 ftmod_libpri: Reset timer parameters in lpwrap_run_expired() before invoking the callback.
Allowing us to restart the timer from the callback with lpwrap_start_timer().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:31:35 -04:00
Anthony Minessale
a756d28760 FS-4591 --resolve 2012-09-11 14:31:34 -04:00
Anthony Minessale
01b5eb7981 swigall 2012-09-11 14:31:34 -04:00
Raymond Chandler
bc44ae12fc FS-4558: add conference chat broadcasting 2012-09-11 14:31:34 -04:00
Anthony Minessale
7619434b03 also allow early_ok flag on caller_channel 2012-09-11 14:31:34 -04:00
Anthony Minessale
57a1a5d1f0 FS-3971 --resolve 2012-09-11 14:31:34 -04:00
Anthony Minessale
43fb877075 sigh 2012-09-11 14:31:34 -04:00