Commit Graph

348 Commits

Author SHA1 Message Date
Anthony Minessale 25c0f7d00c FS-6440 regression from this patch on single CPU or VM machines causes startup race 2014-06-23 23:55:52 +05:00
Anthony Minessale 0f62c4cd62 FS-6440 --resolve 2014-06-13 05:46:40 +05:00
Anthony Minessale 50dfce2845 FS-6513 --resolve This function was assuming the app was being run with execute_on_media so it did not properly check for established media. Now it will use the scheduler method automatically when this state is detected. 2014-05-29 01:14:28 +05:00
Anthony Minessale 55f8f556fa add heartbeat_fire_on_set variable to fire heartbeat instantly when its first enabled (legacy behavior) 2014-05-20 04:07:47 +05:00
Anthony Minessale a94f0a3fa6 compute timeout based on fake sample count not real life one 2014-05-20 04:02:03 +05:00
Anthony Minessale d0de8c0bc6 add heartbeat_use_scheduler variable to force the heartbeat to use the scheduler rather than the media stream and also make it auto-chage between modes when going in and out of the media path 2014-04-29 04:20:51 +05:00
Anthony Minessale d171e156d7 fix issues with heartbeat in bypass media mode 2014-04-24 23:21:15 +05:00
Anthony Minessale 18df083c69 don't send heartbeat until the first timeout has elapsed rather than instantly 2014-04-18 00:06:24 +05:00
Anthony Minessale a4a792488b add generic keepalive system and implement it in sofia to send MESSAGE or INFO packets in-dialog at specified interval.
Adds app: enable_keepalive 0|<seconds>
This app can be run in the dialplan or with execute_on_* type variables for B-legs.

Adds sofia param: keepalive-method  : defaults to MESSAGE can also be "INFO"
This param sets which SIP method to use.
2014-04-16 06:10:25 +05:00
Anthony Minessale b99ef3af01 add SWITCH_MESSAGE_HEARTBEAT_EVENT indication to execute on a session when session heartbeat fires 2014-04-15 21:22:36 +05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris 658e7623a2 silence clang warning about always false, this is meant to keep naughty users for the api from causing a crash, the check is fine 2014-03-15 22:42:05 -04:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Anthony Minessale bd4a0d8cbc add a way to tell mod_conference when the rate of the channel has changed due to a codec change so it can reset the resampler and codecs internally 2014-03-07 05:17:47 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale f9e46cc60d break for video as well as audio when receiving certian messages 2014-01-30 05:27:54 +05:00
Anthony Minessale 3e00d270d7 FS-6006 --resolve 2013-11-27 12:40:35 -06:00
Seven Du 7256caf278 add a debug_pool param to fsctl 2013-11-16 14:17:59 +08:00
Anthony Minessale daee478115 tweak api 2013-10-24 23:55:07 +05:00
Anthony Minessale b1a3a106ec FS-5852 --resolve 2013-10-17 12:18:01 -04:00
Anthony Minessale 4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Anthony Minessale 5ba88abf14 FS-5848 --resolve 2013-10-07 08:05:10 -05:00
Anthony Minessale 012e321f61 improve thread pool logic 2013-09-27 23:37:05 +05:00
Michael Jerris e6bfd00502 FS-5819: fix incorrect true type in call to switch_core_session_reset 2013-09-24 13:25:51 -04:00
Anthony Minessale 0df6c2d094 FS-5798 --resolve 2013-09-18 09:10:34 -05:00
Anthony Minessale a79b7baf12 add define for thread pool debug 2013-09-06 00:07:50 +05:00
Anthony Minessale a5f2176ea4 deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way 2013-09-05 03:42:40 +05:00
Anthony Minessale 0dcbc18322 fix issue with default video echo 2013-09-04 02:58:05 +05:00
Anthony Minessale d35db852a8 follow up to last commit 2013-08-16 12:17:00 -04:00
Seven Du f7e6c6d6c0 FS-5670 --resolve allow debug rtp if rtp is not attached to a session 2013-08-08 08:22:00 +08:00
Jeff Lenk adf5e2f6ec fix windows compiler warnings 2013-07-20 22:13:27 -05:00
Ken Rice 7fb4369932 peak sessions step 1 2013-07-20 20:11:46 -05:00
Anthony Minessale eebac2ea95 webrtc video tweaks 2013-07-16 19:16:01 -05:00
Anthony Minessale 5dbf2b3cf7 refactor some video code 2013-07-11 17:38:24 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 2fac3a8e83 refactor some of the video passthru code 2013-06-17 19:52:37 -05:00
William King 7f3f4855a6 When message events were added, the debug field name was overlooked. This would have only been hit when debug level was above 'DEBUG1' and at that point it would have incorrectly chosen debug display names. 2013-05-18 15:10:44 -07:00
Anthony Minessale ea881b191f media/srtp refactoring pass 2013-05-17 15:39:30 -05:00
Anthony Minessale e95bbd1e1f FS-5368 --resolve 2013-05-03 11:03:17 -05:00
Seven Du 5b9318c109 FS-4990 change uuid_debug_audio to uuid_debug_media and add video params 2013-04-27 06:47:06 +08:00
Anthony Minessale 92ddf47293 expose some rtp func via media handle 2013-03-31 21:27:15 -05:00
Anthony Minessale 0d1acb08ff add video srtp 2013-03-31 21:27:13 -05:00
Anthony Minessale 14e3570848 add switch_core_session_findall to get a list of all open uuid 2013-03-27 15:51:23 -05:00
Anthony Minessale ee7dd033fd fix race condition in state thread 2013-02-22 17:46:54 -06:00
Anthony Minessale 514f4802c1 FS-4960 --resolve 2012-12-22 22:29:33 -06:00
Anthony Minessale cc74845461 use interrupt_all now that it works again 2012-12-17 11:29:15 -06:00
Anthony Minessale 02a1aa4bc4 wait for threads to end on shutdown 2012-12-04 16:04:16 -06:00
Anthony Minessale 92945f8a01 FS-4836 2012-11-26 18:09:04 -06:00
Anthony Minessale 6644cefb20 finish fixing thread pool logic from yesterday 2012-11-15 17:59:11 -06:00