Commit Graph

346 Commits

Author SHA1 Message Date
lazedo 506bcd280d [core] allow event-channel debugging & single delivery 2019-10-31 12:41:47 +00:00
lazedo a84daf95bb FS-11860 [core] allow configurable separator in event_channel and
process all parts of key
2019-07-25 21:51:50 +04:00
Luis Azedo 302b409815 FS-11848 [core] add user_data to event_channel_bind
* also adds a convenience switch_event_channel_deliver for already in thread
2019-07-17 16:02:12 -04:00
Andrey Volk 4d932281e9 FS-11813: [Build-System] Remove libtpl dependency from FreeSWITCH 2019-07-17 23:09:50 +04:00
Andrey Volk 863390ebba FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_event.c 2019-07-15 23:41:56 +04:00
Andrey Volk 73d616a318 FS-10989: [core] Fix CUSTOM_HASH hash table race in switch_event logic causing crashes during bind to events. 2018-07-24 07:21:42 +00:00
Roman Sukhov c6e2ce18a6 FS-10672 [core] Fix event url-encoding buffer size 2017-09-14 18:05:59 +03:00
Anthony Minessale fd3b25d282 add some params to control rate and channels 2017-08-11 13:23:15 -05:00
Mike Jerris 503b9d3753 FS-10577: [core] start additional event dispatch threads based on event system queue size 2017-08-10 10:25:12 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 9dba32410f FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve 2017-02-06 16:37:59 -06:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Michael Jerris 9030e13589 FS-9401: [core,mod_amqp] fix leak in usage of hash itterator 2016-08-03 18:41:18 -05:00
Thomas Weber 346e044daf Buffer overflow in switch_channel_expand_variables_check and switch_event_expand_headers_check fixed (FS-8757) 2016-04-19 11:44:35 -05:00
Michael Jerris b3dc9154d4 FS-8397: fix race condition inrementing event seq number 2015-10-29 10:28:21 -05:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Michael Giagnocavo 17241c8bcd FS-7894: Event header ARRAY:: data -- use strcmp to ensure data begins with ARRAY:: instead of substring search 2015-07-26 19:56:32 -06:00
Michael Jerris 6b68cf4beb FS-7866: fix crash when running incorrect var api expansion syntax "eval ${${external_sip_ip}:4}" 2015-07-21 12:23:21 -05:00
Michael Jerris 58d02f98a6 quiet down some verbose debug logging 2015-05-28 12:47:27 -05:00
Anthony Minessale 5a96512345 FS-7305 #resolve 2015-03-06 16:44:53 -06:00
Dušan Dragić 1c16d5d8b0 FS-7121 change switch_events_match() to use strcmp
Use strcmp() in place of strstr() so switch_events_match() matches
only full event subclass name.
2015-01-03 22:56:19 +01:00
Anthony Minessale a03963fb92 fold livetables into verto obj and expose moderator mode 2014-07-12 03:27:08 +05:00
Anthony Minessale ffa09cd1e7 various verto cleanups and fix a race in double event delivery thread creation 2014-06-20 19:21:56 +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
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 87751f9eaf FS-5036 --resolve 2013-12-13 23:13:56 +05:00
Anthony Minessale 4a8e9d634d add ref counter to la 2013-11-01 02:22:11 +05:00
William King e0054af96f Fixing a use after free 2013-10-17 22:27:34 -07:00
Jeff Lenk 4819ee18ab windows compiler warning 2013-10-16 21:47:09 -05:00
Anthony Minessale 2ffe831206 refactor and add more plumbing 2013-10-17 03:58:09 +05:00
Anthony Minessale b694cb09a6 google changed something in DTLS 2013-10-17 03:58:09 +05:00
Anthony Minessale 4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Anthony Minessale 5e43037fc6 change default to use event dispatch 2013-10-01 20:10:24 +05:00
Anthony Minessale d1c58a8e24 move thread launch to be after config check for back-compat mode in event handler 2013-09-23 21:59:01 -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 73646cbaa8 FS-5737 reapply 2013-08-29 22:21:10 +05:00
Anthony Minessale 2e2e4caa45 FS-5737 revert 2013-08-29 22:20:00 +05:00
Anthony Minessale 0d26dbb318 FS-5737 --resolve 2013-08-29 21:03:01 +05:00
Anthony Minessale 76ba6a2342 FS-5737 --resolve 2013-08-28 23:26:07 +05:00
Raymond Chandler 863e6cfa3f FS-2731 significantly reworked version of Emmanuel's patch to allow subscribing and notifying for the as-feature-event events. we still need a module to handle the FS events for this automatically... coming soon to a repository near you 2013-08-23 15:54:49 -04:00
Anthony Minessale 30d5ecf9f7 FS-5445 --resolve this was actually just missing one word from the code as seen in the similar code in the core, the same mistake was made there where the compiler is not smart enough to see the mutually exclusive logical paths this code is specific to spontaneously creating an array in a single set like set foo[12]=val which would be totally broken if that line were commented 2013-07-10 10:26:08 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King 97918f473b Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise. 2013-06-12 17:11:36 -07:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
William King db0d03532d Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:06:01 -07:00
William King acf9a72e3f This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:37 -07:00
William King e2ea6e58c8 Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now. 2013-05-18 20:15:55 -07:00
Anthony Minessale 61ca331a28 FS-4928 2012-12-11 14:05:03 -06:00