22149 Commits

Author SHA1 Message Date
Stefan Knoblich
a478a5de04 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 11:09:40 +02:00
David Yat Sin
c0e4ca47bc Freetdm: ISDN fix for link not always recovering after T1/E1 alarm 2012-09-11 01:22:31 -04:00
Anthony Minessale
1400a31cfa plan b 2012-09-10 20:57:07 -05:00
Anthony Minessale
a0eef6a111 revert 2012-09-10 20:49:32 -05:00
Anthony Minessale
c698de5c07 end faster when only pickup endpoints are left 2012-09-10 20:47:57 -05:00
Jeff Lenk
d8fc88ea75 FS-4605 --resolve 2012-09-10 19:34:04 -05:00
Brian West
99eee5f528 Support rebooting some more ciscos 2012-09-10 18:25:02 -05:00
Anthony Minessale
273b7f59a5 FS-4595 please test 2012-09-10 18:21:08 -05:00
Anthony Minessale
d0117d5c91 missed a spot 2012-09-10 16:57:39 -05:00
Anthony Minessale
40533e7378 set new pt on re-invite video negotiation 2012-09-10 15:20:30 -05:00
Anthony Minessale
a696e4a743 sndfile tweak 2012-09-10 14:13:12 -05:00
Raymond Chandler
48f5724c27 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-09-10 14:54:15 -04:00
Anthony Minessale
4ddfedbf71 minor video tweaks 2012-09-10 12:58:23 -05:00
Anthony Minessale
0fd5d7696c video tweaks for echo app 2012-09-10 12:58:06 -05:00
Anthony Minessale
f71b67e02c hangup pickup chans with no answer if they are the only ones left 2012-09-10 11:14:19 -05:00
William King
3918d0876f Add better handling of time values when the times aren't defined. Fix formatting of the config values for two config values. 2012-09-10 09:00:00 -07:00
Jeff Lenk
e977d15844 FS-4343 --resolve add mod_directory, mod_callcenter, mod_skypopen 2012-09-10 08:54:53 -05:00
Anthony Minessale
36cee285b0 FS-4602 --resolve 2012-09-08 16:12:35 -05:00
Steve Underwood
d26293e591 Some tweaks to spandsp 2012-09-09 01:08:15 +08:00
Raymond Chandler
bf4bb0028e Merge branch 'master' into FS-4558 2012-09-08 02:29:59 -04:00
Raymond Chandler
8ef13dd8a2 FS-4558 --resolve 2012-09-08 02:28:35 -04:00
Jeff Lenk
6de760992f FS-4591 2012-09-07 18:28:06 -05:00
Anthony Minessale
c2893801cb add timestamps for on and off hold times to put in xml cdrs 2012-09-07 18:17:57 -05:00
Anthony Minessale
e2544415ad 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-07 16:50:50 -05:00
Anthony Minessale
bfc46567c1 add uuid_media_reneg api command to tell a channel to send a re-invite with optional list of new codecs 2012-09-07 15:33:09 -05:00
Anthony Minessale
cd8814844a FS-4408 fix crash caused by missing or invalid call-id in sip invite 2012-09-07 15:08:10 -05:00
Michael S Collins
a7c791d2de Update phrase_en.xml (to be recorded) 2012-09-06 15:43:01 -07:00
Stefan Knoblich
17329d04ad 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-07 00:04:40 +02:00
Stefan Knoblich
a035182582 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-07 00:02:32 +02:00
Anthony Minessale
cbefc9dae1 fix logic in dmachine parser for overlap bindings so they work regardless of the order they are bound 2012-09-06 11:54:03 -05:00
Steve Underwood
2051237c74 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-09-07 00:42:44 +08:00
Steve Underwood
cc73cb6544 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-07 00:41:41 +08:00
Anthony Minessale
d528ceee19 regression from a9d72bc35d0e021f8db1ea480b1ddb0744d73bac 2012-09-06 11:32:50 -05:00
Anthony Minessale
4cb0e2e5bd protect against case with null sofia_private in callback 2012-09-06 10:59:39 -05:00
Raymond Chandler
3e26caf8ff Merge branch 'master' into FS-4558 2012-09-05 16:55:51 -04:00
Raymond Chandler
9def7a2e8b FS-4558 --resolve 2012-09-05 16:55:39 -04:00
Anthony Minessale
77de3905ee one more try 2012-09-05 13:48:52 -05:00
Anthony Minessale
d45db89833 second try at sip_wait_for_aleg_ack 2012-09-05 13:11:32 -05:00
Anthony Minessale
352b1903da FS-4593 please test this and post logs if necessary 2012-09-05 12:47:47 -05:00
Anthony Minessale
8650116d20 move verbos zrtp debug messages to log level DEBUG1 fsctl debug_level 1 to see them 2012-09-05 11:36:11 -05:00
Michael S Collins
8622f5cc33 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-09-05 09:28:59 -07:00
Anthony Minessale
3dc829afa1 remove .la files on modwipe 2012-09-05 11:29:39 -05:00
Michael S Collins
f79668d57a Update phrase_en.xml for sounds ver 1.0.21 2012-09-05 09:28:43 -07:00
Anthony Minessale
709e4fb28a add make version target 2012-09-05 11:20:17 -05:00
Anthony Minessale
8ec031e7c9 let callers delete themselves on reload 2012-09-05 11:12:06 -05:00
Jeff Lenk
528d10319f fix naming issue in last mod_managed change - trivial 2012-09-04 23:32:59 -05:00
Anthony Minessale
a9d72bc35d fix small broadcast bug 2012-09-04 19:08:06 -05:00
Raymond Chandler
5a8fcfb552 Merge branch 'master' into FS-4558 2012-09-04 20:04:50 -04:00
Stefan Knoblich
4ffcb7c9ef 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-05 00:42:32 +02:00
Stefan Knoblich
1a47eb933b 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-05 00:42:32 +02:00