358 Commits

Author SHA1 Message Date
Noah Mehl
d24280c700 [core] Add SEND_RTCP_MESSAGE
We utilize: https://github.com/sipcapture/hepipe.js to monitor RTCP for our calls. As such, it's super helpful to get the sent RTCP data along with the received RTCP data. The new: SEND_RTCP_MESSAGE basically mirrors the existing RECV_RTCP_MESSAGE.
2021-10-01 13:46:34 +00:00
Andrey Volk
2a8804af97 [Core] Fix leak of switch_event_header_t in switch_event_base_add_header(). Code cleanup. 2021-03-17 19:23:30 +03:00
Andrey Volk
91066f56fa [Core] Fix leaking stream in switch_event_expand_headers_check() 2021-03-17 19:21:49 +03:00
Andrey Volk
c3ee0c17cb [Core] Fix various dead assignments. 2020-02-16 00:59:37 +04:00
Andrey Volk
8dd27183f8 [Core] Fix possible leak of the subclass variable in CUSTOM_HASH'es switch_event_reserve_subclass_detailed(). 2020-02-16 00:29:38 +04:00
Dragos Oancea
39cc48904d [core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header() 2020-02-14 15:53:16 +00:00
Andrey Volk
c84d1da934
Merge pull request #277 from dragos-oancea/switch_event_base_add_header-null
[core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header()
2020-02-12 00:05:51 +04:00
Visytel
78eb8f61b3
[core] Reduce log level to DEBUG for binding to events and certain clock messages 2020-02-11 23:58:33 +04:00
Dragos Oancea
b1dbb99f5c [core] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - switch_event_base_add_header() 2020-02-02 16:54:04 +00:00
Chris Rienzo
562079376a [core] Add SHUTDOWN_REQUESTED event. Bind to this event to know when ASAP or elegant shutdown has been requested. 2019-12-31 03:11:12 +04:00
Seven Du
5df8bfcd84 [core] log status code when queue event failure 2019-12-31 02:34:26 +04:00
Andrey Volk
52949efc28 [Core] Wait for all EVENT_DISPATCH_QUEUE_THREADS before killing the logging which leaks otherwise. 2019-12-17 21:03:20 +04:00
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