Commit Graph

21962 Commits

Author SHA1 Message Date
Andrey Volk 0eed5046a0
Merge pull request #1595 from azzbcc/fix_memory_leak_in_asr_feed
[core] fix memory leak in switch_core_asr_feed
2022-03-26 14:05:25 +03:00
Aron Podrigal 0365becc0d
[mod_sofia] Fix fs_path to keep `<>` so that sofia doesn't put the uri parameters as header parameters. Handle multiple `Record-Route` / `Route` and `Path` headers. 2022-03-25 19:44:25 +03:00
Clarence 3d283a989d [core] fix memory leak in switch_core_asr_feed 2022-03-23 17:05:50 +08:00
Dragos Oancea df81021a11 [core] make switch_core_media_prepare_codecs() more unit-test friendly. 2022-03-21 13:59:37 +03:00
agree 415a8a19eb
[mod_callcenter] Fix globals.nodes gets unset
`globals` was getting initialized to null after `switch_event_bind_removable` binding causing `globals.nodes` to get set to NULL causing `switch_event_unbind` not to be able to unbind the SWITCH_EVENT_PRESENCE_PROBE event when unloading the module. Besides not being able to unbind the event, this was also causing a segfault  upon receiving a PRESENCE_PROBE event when unloading or reloading the module
2022-03-19 22:44:26 -04:00
Andrey Volk d01c427c0b [mod_conference] Fix regression made by previous commit when fixing memory consumption. 2022-03-18 01:53:38 +03:00
Dragos Oancea 24355b63ab [mod_local_stream] fix path with ".loc" file extension. 2022-03-15 18:47:06 +02:00
Dragos Oancea a40584b465 [mod_verto] fix potential memleaks at init. 2022-03-15 16:49:17 +03:00
Andrey Volk 7e0a7f0f28 [mod_verto] Fix dead nested assignments 2022-03-15 16:49:11 +03:00
Andrey Volk aabce0c3b8
Merge pull request #1423 from azzbcc/fix_error_array_parameter
[core] fix compile error with gcc 11.1
2022-03-09 16:21:50 +03:00
Andrey Volk 19e64a6501
Merge pull request #1540 from zayim/send-events-on-recording-error
[core] set completion cause upon failed recording
2022-03-08 02:29:08 +03:00
Andrey Volk c460588dfe [mod_conference] Fix memory consumption and Media flow direction issue. 2022-03-08 01:50:07 +03:00
Andrey Volk 4b580a07c4
Merge pull request #1523 from mochouinard/master
[core] Add support to phrase play-file to set a volume attribute
2022-02-25 01:26:16 +03:00
Dragos Oancea 7fb158ae6a [core] RTP: remove unfulfillable conditions involving timer. add missing LF to DEBUG log line. 2022-02-21 22:53:02 +03:00
Dragos Oancea ae272359f4 [core] Handling RTCP MUX resulting in gaps
(fix proposed by Leon de Rooij)
2022-02-21 15:18:45 +02:00
Nadin Zajimovic 90dd5bb88e [core] set completion cause upon failed recording 2022-02-03 18:15:23 +01:00
Hailin Zhou d249fb8017
[mod_json_cdr] add timeout param. 2022-01-27 16:28:09 +03:00
Emmanuel Schmidbauer 6113db7bd7
[mod_amqp] add support for ssl connections 2022-01-27 16:25:38 +03:00
Andrey Volk 989097080d [mod_event_multicast] Fix buffer overflow on module load. 2022-01-26 19:12:28 +03:00
Marc Olivier Chouinard de487b0ada [core] Add support to phrase play-file to set a volume attribute 2022-01-25 20:07:39 -05:00
Andrey Volk b9875d1ac9 [Unit-tests] Replace fst_requires with fst_check in mod_sofia unit tests. Increase timeout. 2022-01-25 19:52:20 +03:00
Andrey Volk 92d2e0b136 [mod_pgsql] Fix build by using PG_VERSION_NUM provided by libpq instead of using POSTGRESQL_MAJOR_VERSION detected by freeswitch configure. 2022-01-11 18:44:36 +03:00
xbipin f9bb8940c2
[mod_sofia] Caller ID name in contact. Introduce sip_caller_id_name_in_contact channel variable. 2021-12-29 23:30:18 +03:00
Andrey Volk e37638d526
Merge pull request #1407 from mochouinard/master
[mod_sofia] Provide retry time for failed and waiting registration
2021-12-29 13:39:01 +03:00
Andrey Volk 132d3d4f2e
Merge pull request #1421 from signalwire/unicall-array-overflow
[mod_unicall] Fix array overflow
2021-12-29 11:44:24 +03:00
Martin Paterson 083a9ab1c3
[mod_voicemail] Fix voicemail ignoring vm-a1-hash 2021-12-28 19:02:02 +03:00
Andrey Volk de70d9d493
Merge pull request #1420 from signalwire/voicemail-ivr-overflow
[mod_voicemail_ivr] Fix array overflow
2021-12-28 17:07:45 +03:00
Andrey Volk bacb3f9386
Merge pull request #1498 from seven1240/fix-crypto-mem-ctrl
[core] fix macOS build when missing CRYPTO_mem_ctrl
2021-12-28 12:33:06 +03:00
Seven Du e743e8ab3c [core] fix macOS build when missing CRYPTO_mem_ctrl
https://github.com/signalwire/freeswitch/issues/1461
3493e9c952
2021-12-28 08:15:34 +08:00
Andrey Volk fb807e40f2
Merge pull request #1462 from udovichenkoAlexander/sofia_completition_improve
[mod_sofia] Add autocomplete options to status profile command
2021-12-27 18:37:56 +03:00
wmasilva a92eee4e93
[mod_voicemail] add option to skip goodbye 2021-12-23 01:55:29 +03:00
ros-tel cbc610db26 [mod_av] FIX parse config param "profile" and "level" 2021-12-22 17:32:59 +05:00
Andrey Volk f10d8ef5e8
Merge pull request #1463 from Hello71/no-execinfo
[build] skip checking unused execinfo.h
2021-12-21 23:18:03 +03:00
Michael Jerris 6c87ed4915 [Core] RFC 3264 says once we assign a payload number to a dynamic codec, we are stuck with it.
8.3.1 Modifying Address, Port or Transport

   The port number for a stream MAY be changed.  To do this, the offerer
   creates a new media description, with the port number in the m line
   different from the corresponding stream in the previous SDP.  If only
   the port number is to be changed, the rest of the media stream
   description SHOULD remain unchanged.  The offerer MUST be prepared to
   receive media on both the old and new ports as soon as the offer is
   sent.  The offerer SHOULD NOT cease listening for media on the old
   port until the answer is received and media arrives on the new port.
   Doing so could result in loss of media during the transition.

Co-authored-by: Anthony Minessale <anthm@signalwire.com>
2021-12-17 23:56:43 +03:00
Dragos Oancea 77481b327c [core] extend count of acl entries (per SOFIA_MAX_ACL). 2021-12-09 11:36:39 +02:00
Clarence e632759ae8
[mod_amqp] Fix memory leaks on command queue name and parsing configure file 2021-12-05 12:55:51 +03:00
Andrey Volk ee1dc921fe
Merge pull request #1436 from seven1240/fix-vmd
[mod_vmd] fix shutdown function not being called
2021-12-04 01:29:14 +03:00
Minh f3604557e5
[mod_distributor] Reload message should be same as others (+OK instead of +ok) 2021-12-01 20:48:29 +03:00
Andrey Volk 99d9c3bd65
Merge pull request #1259 from bmlkc/mod-opusfile-drain-before-closing-write
[mod_opusfile] add opc_encoder_drain before destroying handle
2021-12-01 12:38:21 +03:00
Alex Xu (Hello71) 6ece47e17f [build] skip checking unused execinfo.h
since 380fd060ef, execinfo.h is not used
anymore, so there is no need to check for it.
2021-11-26 11:50:48 -05:00
Alexander Udovichenko 1bab462f19
[mod_sofia] Add autocomplete options to status profile command 2021-11-26 15:18:23 +03:00
Jakub Karolczyk 4f123c4682 [mod_conference] Set conference vars from core/channel variables 2021-11-23 20:24:23 +03:00
Jakub Karolczyk 4c781e2b5f [mod_conference] Add APIs to set/get conference variables 2021-11-23 20:22:43 +03:00
Dragos Oancea 5b8e1dd88a [mod_event_socket] fix strcmp crash 2021-11-19 16:17:03 +02:00
Andrey Volk e428be3f1a
Merge pull request #1444 from signalwire/opensipit02
[mod_sofia] fail set up of STIR/SHAKEN verification service if configured CA directory fails to load
2021-11-17 22:23:28 +03:00
Andrey Volk 594e42544b [mod_sofia] Put more comments into the code explaining that we include switch_ssl.h into sofia_reg.c because of SHA-512-256 (RFC-8760) 2021-11-17 18:18:52 +03:00
Chris Rienzo d7c985afc7 [mod_sofia] fail set up of STIR/SHAKEN verification service if configured CA directory fails to load 2021-11-16 18:10:59 -05:00
Chris Rienzo 51904df21a [core] Fix jitter buffer- it is not truncating frames properly. It is also overflowing the node packet body and is copying the packet body twice. Remove magic numbers and replace with constant. 2021-11-16 16:21:11 +02:00
Chris Rienzo c9fba5cf39 [mod_sofia] Fix regression in RFC-8760. SHA-512/256 was not offered because OPENSSL_VERSION_NUMBER was not defined in sofia_reg.c 2021-11-15 13:18:29 -05:00
Andrey Volk 7b1cfea705
Merge pull request #1432 from signalwire/fix-whitespace
[mod_avmd] fix formatting to match coding standards
2021-11-11 18:24:44 +03:00
Andrey Volk fbf2da44d9 [Core] Fix use of private headers. 2021-11-10 21:46:29 +03:00
Seven Du 89cb571af9 [mod_vmd] fix shutdown function not being called 2021-11-09 16:26:59 +08:00
Chris Rienzo c4bc0bfbb4 [mod_avmd] fix formatting to match coding standards 2021-11-06 00:11:32 +00:00
Ken f2a7891f14 [mod_dptools] Implement disable_system_app_commands global variable to make system and bgsystem dialplan apps disabled at run time.
adds a check on startup for global variable disable_system_app_commands. if the
global variable is set to true, the system and bgsystem dialplan apps will not
have their app_interface loaded via SWITCH_ADD_APP() leaving them effectively
disabled at run time.
2021-11-05 17:46:07 +03:00
Andrey Volk 2663872953 [Build-System] Add better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled. 2021-11-03 22:48:44 +03:00
Andrey Volk 0fdd5b6727 [Core] Fix switch_event_base_add_header leaking memory when headers are with indexes. Add a unit-test.
* [Unit-tests] Add a test provoking switch_event_add_header to memory leak.
* [Core] Fix switch_event_base_add_header leaking memory when headers are with indexes.
2021-11-03 17:01:05 +03:00
dhruvecosmob 0c8ff2fbcf [mod_test] Increasing the precision time of fst_check_duration in the tts_time function of the unit-test. 2021-11-02 10:59:56 +05:30
Clarence b4a7cf4059 [core] fix compile error with gcc 11.1 2021-11-02 11:33:29 +08:00
Andrey Volk 3c6ffc146f
Merge pull request #1419 from micmac1/disable-libyuv
[core] fix "--disable-libyuv"
2021-11-01 21:35:06 +03:00
Sebastian Kemper a2ce46c6fd [core] fix "--disable-libyuv"
Recent changes made it impossible to compile freeswitch without libyuv
support.

src/switch_core_video.c: In function 'switch_img_read_from_file':
src/switch_core_video.c:3139:4: error: implicit declaration of function 'RAWToI420' [-Werror=implicit-function-declaration]
RAWToI420(data, width * 3,
^
src/switch_core_video.c:3148:4: error: implicit declaration of function 'ABGRToARGB' [-Werror=implicit-function-declaration]
ABGRToARGB(data, width * 4, img->planes[SWITCH_PLANE_PACKED], img->stride[SWITCH_PLANE_PACKED], width, height);
^

Fix this my adding/moving the checks for "SWITCH_HAVE_YUV".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 19:35:53 +03:00
Andrey Volk f96f83ee3b
Merge pull request #1417 from rts-cn/fix-lua-json
[mod_lua] fix json encoding of lua number string
2021-11-01 19:00:35 +03:00
Chris Rienzo 62dcdff8d9 [mod_unicall] Fix array overflow 2021-11-01 14:00:52 +00:00
Chris Rienzo 5cd8a53ae8 [mod_voicemail_ivr] Fix array overflow 2021-11-01 13:50:26 +00:00
Sebastian Kemper 3128afeae7 [mod_opusfile] fix type errors
Since the last round of changes it fails to compile:

mod_opusfile.c: In function 'decode_stream_cb':
mod_opusfile.c:933:143: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'switch_thread_id_t' {aka 'struct __pthread *'} [-Werror=format=]
  933 |                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n",  switch_thread_self());
      |                                                                                                                                             ~~^      ~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                               |      |
      |                                                                                                                                               |      switch_thread_id_t {aka struct __pthread *}
      |                                                                                                                                               long unsigned int

Address this by applying the same casts that are also used in
src/mod/formats/mod_sndfile/test/test_sndfile.c already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 09:51:26 +01:00
Seven Du fe296e4fa3 [mod_lua] fix json encoding of lua number string 2021-11-01 16:16:01 +08:00
Marc Olivier Chouinard d13ee25735 [mod_sofia] Provide retry time for failed and waiting registration 2021-10-27 12:41:31 -04:00
shaunjstokes 9f26a15220
[mod_pgsql] Add support for postgresql 14 2021-10-26 19:25:14 +03:00
Andrey Volk 3decbb830c
Merge pull request #1403 from dragos-oancea/_big_endian_rtcp
[core] fix build SWITCH_BYTE_ORDER == __BIG_ENDIAN
2021-10-26 19:20:57 +03:00
Dragos Oancea cfb4c3ca80 [mod_http_cache][unit-tests] remove timestamp unit-test 2021-10-26 14:27:14 +00:00
Dragos Oancea 68039d344d [core] fix build SWITCH_BYTE_ORDER == __BIG_ENDIAN 2021-10-26 08:42:58 +00:00
Seven Du f9994c00f9
[mod_verto] Fix leak in http_run. 2021-10-24 15:39:56 +03:00
Seven Du 408480bae0
[Unit-tests] Fix mac build
* [core] fix build err on Mac
* [mod_av] fix build on macOS
2021-10-24 15:36:52 +03:00
Andrey Volk fb0cad4c56 swigall 2021-10-23 19:14:38 +00:00
Chris Rienzo 256ac7c2dd [mod_spandsp] Fix t.38 fax initialization not to add it to the timer thread until after configuration has completed. 2021-10-23 22:01:15 +03:00
Brian West 8478a523a9 [mod_valet_parking] Do not crash when exit key is not defined 2021-10-23 22:01:15 +03:00
Dragos Oancea b3e53bdb6c [core] fix log format string. 2021-10-23 22:01:14 +03:00
Seven Du 7b86eff6d2 [mod_av] fix some leaks in error cases 2021-10-23 22:01:13 +03:00
Andrey Volk a5365eb080 [mod_sofia] Fix build on older sofia-sip when NUTAG_CALL_TLS_ORQ_CONNECT_TIMEOUT tag is undefined. 2021-10-23 22:01:12 +03:00
Andrey Volk a6178e88fb [mod_sofia] Fix use of NUTAG_CALL_TLS_ORQ_CONNECT_TIMEOUT when sip_call_tls_orq_connect_timeout channel variable is undefined. 2021-10-23 22:01:12 +03:00
Chris Rienzo cada5c37dc [core] Fix regression in play_and_collect_input and play_and_detect_speech - read_frame_callback and user_data from input args was not preserved. 2021-10-23 22:01:11 +03:00
Chris Rienzo a617d5857c [mod_conference] fix crash when using conference heartbeat 2021-10-23 22:01:10 +03:00
Dragos Oancea fe34509bc5 [mod_conference] scan-build: Value stored to 'status' is never read - conference_loop_input() 2021-10-23 22:01:09 +03:00
Chris Rienzo f31c73a11d [core] Add type checking for SWITCH_CHANNEL_SESSION_LOG and SWITCH_CHANNEL_UUID_LOG macros. 2021-10-23 22:01:08 +03:00
Len 3c85fd34d7 [mod_valet_parking] Fix typo in valet_parking_orbit_dialplan channel variable. 2021-10-23 22:01:08 +03:00
Dhruv Gupta 35c2af75ce [Unit-tests] Fix-up usage of sipp in the register_403 unit-test of mod_sofia 2021-10-23 22:01:07 +03:00
Andrey Volk b7f908e890 [mod_sofia] Destroy nua handles to avoid memory pool swell when system is unavailable (busy, paused or reached internal limits) 2021-10-23 22:01:07 +03:00
Andrey Volk 7ed2a99eb5 [mod_sofia] Implement maximum receiving requests per second max-recv-requests-per-second profile parameter. (Warning: Behaviour change. New default is 1000 requests per second) 2021-10-23 22:01:06 +03:00
Anthony Minessale a3c6e70f56 [mod_verto] print json debug compact 2021-10-23 22:01:06 +03:00
Anthony Minessale 756d62137a [mod_verto] add some more log lines 2021-10-23 22:01:06 +03:00
Anthony Minessale 6c4bc433b4 [mod_verto] add exptime to ping and pong and log any hangups as a result of auth expiring 2021-10-23 22:01:05 +03:00
Anthony Minessale d5f9155f90 [mod_verto] more perms checks 2021-10-23 22:01:05 +03:00
Anthony Minessale 8c9d0ecd9e [mod_verto] add a way to broadcast an event to one session 2021-10-23 22:01:05 +03:00
Michael Jerris 0fcdeffb0d [mod_verto] allow re-auth via verto.login 2021-10-23 22:01:04 +03:00
Michael Jerris 65ad502caf [mod_verto] add verto_skip_set_user var to skip set_user in mod_verto 2021-10-23 22:01:04 +03:00
Anthony Minessale 79110fc719 [mod_verto] auth-expires 2021-10-23 22:01:03 +03:00
Michael Jerris 6a893d4990 [mod_verto] put vars frorm user lookup into user_vars and protect user_vars 2021-10-23 22:01:03 +03:00
Anthony Minessale 3eddfc66a1 [mod_verto] pass in audio flags 2021-10-23 22:01:03 +03:00
Anthony Minessale 39b3caacb5 [core, mod_commands, mod_verto] small tweaks to cache stuff to allow clear from verto and allow no domain to imply the default domain 2021-10-23 22:01:02 +03:00
Anthony Minessale f540bbbbe3 [mod_verto] check permissions on the more specific event channel for guest users to allow them to subscribe to global events but still get send/don't send permission control on specific conferences 2021-10-23 22:01:02 +03:00
Anthony Minessale 7ad249974e [core] don't double set caller-id 2021-10-23 22:01:01 +03:00
Anthony Minessale 6789eedd5b [mod_verto] regression from fix for guest seeing non-public rooms 2021-10-23 22:01:01 +03:00
Anthony Minessale 4e84b34d30 [core, mod_verto] add visibility filter to verto 2021-10-23 22:01:01 +03:00
Anthony Minessale 46903fb13e [mod_verto] add chop-domain undocumented feature to allow FS to ignore @ in username 2021-10-23 22:01:00 +03:00
Anthony Minessale 8c351a4667 [core, mod_verto] double udp buffer for audio, add verto command for video refresh 2021-10-23 22:01:00 +03:00
Anthony Minessale cf15e7ddd9 [mod_verto] add some data about the identity of the requestor to json_api requests 2021-10-23 22:00:59 +03:00
Anthony Minessale 651d80afa1 [mod_verto] add reattach flag on reconnect to trigger mcu key frame 2021-10-23 22:00:59 +03:00
Anthony Minessale 0dc234e1d4 [mod_verto] gen keyframe both ways on re-invite 2021-10-23 22:00:59 +03:00
Anthony Minessale db765890b6 [mod_verto] smaller jb 2021-10-23 22:00:58 +03:00
Anthony Minessale 4c8e7d86e3 [core, mod_verto] check for camera change and trigger new constraints 2021-10-23 22:00:58 +03:00
Andrey Volk f0e42fe8db [Core] Implement NDLB_line_flash_16 channel variable. Set to true to enable deprecated 0-16 back (rfc4733) 2021-10-23 22:00:57 +03:00
Dragos Oancea 013894ac33 [core] RTP: remove redundant condition when checking payload type of incoming packets. 2021-10-23 22:00:57 +03:00
Dragos Oancea a5a1fb9dd8 [mod_sofia] fix memleak (presence) 2021-10-23 22:00:56 +03:00
Dragos Oancea ce9905cdf4 [core] don't hangup call on SRTP errors (new default behaviour) 2021-10-23 22:00:55 +03:00
Chris Rienzo 8e17dca00d [core] Save position of XML opening tag '>' and XML closing tag '<' in switch_xml_parse_str(). 2021-10-23 22:00:55 +03:00
dhruvecosmob 047c3c7217 [Core] Add Unit test script for Check RTP/SAVP transport protocol with crypto attribute. 2021-10-23 22:00:54 +03:00
Andrey Volk 8a2ad233d6 [Core] Do not generate SDP media Descriptions with RTP/SAVP transport protocol when no crypto attribute. 2021-10-23 22:00:54 +03:00
dhruvecosmob d178632748 [mod_sofia] Add a unit-test for the 3pcc telephone event. 2021-10-23 22:00:54 +03:00
Andrey Volk f2bb1aba66 [Core] Fix duplicates in SDP 2021-10-23 22:00:53 +03:00
Andrey Volk f283b1227e [Core] switch_core_media: copy telephony event over on 3rd party response. 2021-10-23 22:00:53 +03:00
Brian West 01d805d5a0 [mod_sofia] Map 607 to CAUSE_UNWANTED and add 608 to CALL_REJECTED 2021-10-23 22:00:52 +03:00
Andrey Volk fcaaf20c7d [Core] switch_ivr: Restrict the misuse of uuid_hold API. Add switch_hold unit-test. 2021-10-23 22:00:52 +03:00
Anthony Minessale 6040f3bf48 [Core] Fix ICE and media delay. 2021-10-23 22:00:52 +03:00
Andrey Volk 76e8c5cc57 [mod_sofia] Fix possible nua handle leak in sofia_handle_sip_i_refer() 2021-10-23 22:00:51 +03:00
Andrey Volk a065460e5f [Core] Fix possible deadlock of an rtp_session in handle_ice() 2021-10-23 22:00:51 +03:00
Dragos Oancea 8eaf6911dc [mod_sofia] unit-tests fix - don't run shaken tests if lib not installed. 2021-10-23 22:00:50 +03:00
Dragos Oancea 31970d51fd [core] MSRP: fix memleak (ssl) 2021-10-23 22:00:50 +03:00
Brian West da15a518f7 [mod_conference] Skip dtmf dist to members with skip-dtmf 2021-10-23 22:00:50 +03:00
Andrey Volk 94f437aefc [Core] Deprecate RFC 2833 Line flash event code 16 according to RFC 4733 2021-10-23 22:00:49 +03:00
Dragos Oancea 392bc26a43 [mod_sofia] fix memleak with invalid hostname as gw/proxy 2021-10-23 22:00:49 +03:00
Andrey Volk ea74d2a5d6 [Core] Don't flip CID on recover if that's done already. 2021-10-23 22:00:48 +03:00
Andrey Volk 331e50a77b [Core] Fix MSRP relaying. 2021-10-23 22:00:47 +03:00
Andrey Volk 729992d5ae [mod_httapi] Avoid using CURLOPT_WRITEFUNCTION for headers 2021-10-23 22:00:47 +03:00
Chris Rienzo 326edd6b6c [mod_ssml] replace strncpy() with snprintf() to fix errors reported by newer compilers. 2021-10-23 22:00:47 +03:00
Dragos Oancea 3764871c1a [mod_conference] json: MFLAG_DIST_DTMF 2021-10-23 22:00:46 +03:00
Dragos Oancea c8413bb77c [mod_http_cache] fix race cond at shutdown 2021-10-23 22:00:46 +03:00
Andrey Volk 90b85ce4cd [mod_commands] Fix leak of a timer object in timer_test 2021-10-23 22:00:46 +03:00
Andrey Volk 3447daea46 [mod_sofia] Destroy session after relaying notify result on proxy refer. 2021-10-23 22:00:45 +03:00
Andrey Volk cd9a44799b [mod_python] scan-build: Assigned value is garbage or undefined 2021-10-23 22:00:45 +03:00
Andrey Volk 0d105c5683 [mod_python] scan-build: Called C++ object pointer is null 2021-10-23 22:00:44 +03:00
Andrey Volk 94337b33fb [Core] Fix database handles infinitely locked in switch_cache_db_database_interface_flush_handles() 2021-10-23 22:00:44 +03:00
Andrey Volk 58f7c2d64e [Core] sqldb: Fix wrong lock order in switch_cache_db_release_db_handle() 2021-10-23 22:00:44 +03:00
Andrey Volk 69b8c080f6 [Core] Fix wrong lock order in switch_user_sql_thread() 2021-10-23 22:00:43 +03:00
Andrey Volk 79127d94e5 [Core] Cleanup sqldb: remove unimplemented io_mutex from switch_cache_db_handle and sql_manager structures 2021-10-23 22:00:43 +03:00
Dragos Oancea c86e3827f9 [mod_sofia] rfc8760: use different nonce per auth algorithm.
[mod_sofia] keep unconsumed nonce in the db for 32 seconds (timer_t1x64) + nonce_ttl.
[mod_sofia] add #ifdef condition on using sha512: OPENSSL_VERSION_NUMBER >= 0x10101000L
2021-10-23 22:00:42 +03:00
aslgithub fa78235baf [mod_verto] clientReady - reattached_sessions array
Make mod_verto clientReady reattached_sessions array send channel IDs that have been reattached, rather than the same connection ID repeatedly.

Co-authored-by: davidp <davidp@cyfas.co.uk>
2021-10-23 22:00:42 +03:00
Andrey Volk f289721147 [Core] Add exclude-error-log-from-xml-cdr config parameter and exclude_error_log_from_xml_cdr global variable. 2021-10-23 22:00:42 +03:00
Chris Rienzo 97d5854655 [mod_ssml] Add channel-uuid parameter to the tts:// file format and forward it to the core speech handle as a parameter. 2021-10-23 22:00:41 +03:00
Chris Rienzo 1adcebb309 [mod_sofia] add sip_refer_continue_after_reply channel variable.
Set to true to prevent hangup when response to REFER request is received.
Added sip_refer_target_status_code and sip_refer_target_provisional_status_code
channel variables to store responses from NOTIFY sipfrags.
2021-10-23 22:00:41 +03:00
Chris Rienzo a26d0c39b0 [core] Add switch_log_meta_printf() and switch_log_meta_vprintf() to allow JSON metadata to tag along with the log message. 2021-10-23 22:00:40 +03:00
Chris Rienzo 451900b353 [Unit-tests] Report test failure details as they happen. Fix issue where fst_xcheck definition did not allow its use inside conditional statements. 2021-10-23 22:00:40 +03:00
Chris Rienzo e6cd6391ff [core] Add app_disable_expand_variables channel variable. When true, application args are not expanded by FreeSWITCH and are passed to the application unchanged. 2021-10-23 22:00:40 +03:00
Chris Rienzo 594963a3ca [core] Add switch_ivr_record_file_event() and handle execute_on_record_start/execute_on_record_stop 2021-10-23 22:00:39 +03:00
Chris Rienzo 60faf1a1b1 [core] Update switch_ivr_record_session_event() to check event vars for RECORD_STEREO, etc 2021-10-23 22:00:39 +03:00
Andrey Volk a7fa9bfedc [Core] Prevent write after free into heap when calling switch_core_destroy_memory_pool() 2021-10-23 22:00:39 +03:00
Seven Du 90db5a9032 [mod_loopback] Add video support to null endpoint
* [mod_loopback] add video support to null channel

* [core test] add video session support

* [core] add video channel test case
2021-10-23 22:00:38 +03:00
Chris Rienzo 60c4b62254 [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
* [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
[core] Add switch_ivr_record_session_pause() to pause a session recording.
[mod_dptools] Add record_session_pause and record_session_resume dialplan APPs.
[mod_commands] Add pause/resume sub-commands to uuid_record API.
2021-10-23 22:00:38 +03:00
Andrey Volk a162cf86e8 [Core] Add check for recovery_skip_announcement_type_applications channel variable, change default behavior to not skip announcement type apps on recovery. 2021-10-23 22:00:37 +03:00
Andrey Volk d2e8a775b0 [mod_sofia] Set sip_100_uepoch channel variable on initial 100 trying response. 2021-10-23 22:00:37 +03:00
Andrey Volk 66a92063b6 [mod_sofia] Add tls-orq-connect-timeout profile parameter so SIP engine could try again sending an outgoing request and when possible - using an alternative address (DNS failover). Add sip_call_tls_orq_connect_timeout channel variable per call to override profile's timeout. 2021-10-23 22:00:36 +03:00
Andrey Volk 734e9776e0 [Unit-tests] Add --enable-fake-dlclose configure flag so modules are not unloaded and ASAN could give more info and not just <unknown module>. 2021-10-23 22:00:36 +03:00
Seven Du 6b3cd2e41f [mod_av] support rtmps 2021-10-23 22:00:36 +03:00
Chris Rienzo be8535341a [mod_spandsp] set fax_trace_file channel var if a trace file is opened 2021-10-23 22:00:35 +03:00
Chris Rienzo a9629e72d4 [mod_spandsp] add fax_trace_dir channel variable. When set, it will write spandsp fax trace to one file per fax. 2021-10-23 22:00:35 +03:00
Chris Rienzo 2c3dcbde71 [core, mod_console, mod_graylog2] Add sequence to logs to preserve order when timestamp is not precise enough. 2021-10-23 22:00:34 +03:00
Chris Rienzo cd041b768c [mod_spandsp] Add verbose-log-level configuration. 2021-10-23 22:00:34 +03:00
Chris Rienzo 31fdf1b746 [core] Do not log ERROR in switch_ivr_record_session() if media bug failed due to hangup 2021-10-23 22:00:34 +03:00
Andrey Volk 5331850fc0 [mod_verto] Fix use of libks websockets on Windows. POLLHUP is ignored in poll events on Linux but fails on Windows so should be avoided. 2021-10-23 22:00:33 +03:00
Anthony Minessale f8150ead2c [mod_av] don't exit on decode errs just continue 2021-10-23 22:00:33 +03:00
Seven Du 565550f218 [mod_av] fix interrupt callback is not passed down to the hls context in the first open_input 2021-10-23 22:00:32 +03:00
Seven Du 7cd3bf5af2 [mod_av] make key_frame_min_freq work to prevent generate key frames too frequently 2021-10-23 22:00:32 +03:00
Anthony Minessale 128d4776f8 [core] some more hardening work 2021-10-23 22:00:32 +03:00
Anthony Minessale d3ca238b05 [core] some mods for file playback to get proper bitrate and timing 2021-10-23 22:00:31 +03:00
Anthony Minessale d2ccb93f3e [mod_sofia] don't auto unhold via media format for non-sip 2021-10-23 22:00:31 +03:00
Anthony Minessale 5111b6ef73 [core] don't decode strings with no encoding in them 2021-10-23 22:00:30 +03:00
Anthony Minessale a7c3c95bef [core] gen keyframe on new recording 2021-10-23 22:00:30 +03:00
Anthony Minessale 1c37daba4c [mod_video_filter] fix some keyframe stuff and add read:sound and write:sound options 2021-10-23 22:00:30 +03:00
Anthony Minessale 8a6a6fca47 [core] flush all the rtp on transfers 2021-10-23 22:00:29 +03:00
Anthony Minessale f8004e1d66 [core] fix possible looping recover 2021-10-23 22:00:29 +03:00
Anthony Minessale badd59d609 [core, mod_verto] remove CF_VIDEO_ONLY and pay attention to the streams instead and add CF_NO_RECOVER flag for verto 2021-10-23 22:00:28 +03:00
Anthony Minessale 3ce9a9a393 [core] fix long sql stmts may be skipped, introduced in 2e88c67c9d in 2009 2021-10-23 22:00:28 +03:00
Anthony Minessale 2bdefa3532 [core] add a flag to tell when video media bugs that touch the write stream are active 2021-10-23 22:00:28 +03:00
Anthony Minessale 8f26613c80 [core] add unlockable youtube resolver in the core. use global variable ${youtube_resolver} to set a cgi that takes url= param to translate youtube urls into real stream urls 2021-10-23 22:00:27 +03:00
Anthony Minessale 0d463a2b42 [core] expand vars on execute_on and api_on 2021-10-23 22:00:27 +03:00
Chris Rienzo 6b6b721c10 [core] allow external ID to be same as the session UUID 2021-10-23 22:00:26 +03:00
Chris Rienzo c2e240d6dc [core] Add switch_core_session_set_external_id() which lets you define an additional identifier that you can use in switch_core_session_locate(). 2021-10-23 22:00:26 +03:00
Anthony Minessale d197db0601 [mod_verto] verto.announce 2021-10-23 22:00:25 +03:00
Anthony Minessale 34fa5c7dfe [mod_verto] add subscribed channel in events so you can see what subscription string you used 2021-10-23 22:00:25 +03:00
Anthony Minessale d84bf06bb1 [mod_verto] send last known display info on re-attach 2021-10-23 22:00:24 +03:00
Anthony Minessale ce6426052b [mod_verto] add verto.ping 2021-10-23 22:00:24 +03:00
Anthony Minessale 3b26bc65ae [mod_verto] verto auth stuff 2021-10-23 22:00:24 +03:00
Anthony Minessale ebe1fb3874 [mod_verto] add verto perms commands 2021-10-23 22:00:23 +03:00
Anthony Minessale c20cffdf61 [mod_verto] add jsonlist 2021-10-23 22:00:23 +03:00
Anthony Minessale 249718e934 [mod_verto] add log line to detect incorrect login 2021-10-23 22:00:22 +03:00
Anthony Minessale 4220e4659a [mod_verto] make verto.attach always an answer and never an offer 2021-10-23 22:00:22 +03:00
Anthony Minessale 993e778fcc [mod_verto] fix reattach on reopen 2021-10-23 22:00:22 +03:00
Anthony Minessale 91c0379041 [mod_verto] get the conference to send a keyframe when you reload/attach so the video shows up faster 2021-10-23 22:00:21 +03:00
Anthony Minessale ff48868dc4 [mod_verto] add param to have verto send pass over xml_curl 2021-10-23 22:00:21 +03:00
Anthony Minessale 902fa2c3da [mod_verto] add debug controls for verto 2021-10-23 22:00:20 +03:00
Anthony Minessale fb2250df8e [mod_verto] indicate video fps and size of current layer to client 2021-10-23 22:00:20 +03:00
Anthony Minessale a33062c9d8 [mod_verto] verto re-invites part 1 2021-10-23 22:00:19 +03:00
Anthony Minessale 1793c8cb7a [mod_verto] add new verto command construct basics 2021-10-23 22:00:19 +03:00
Anthony Minessale 2d5df53009 [mod_verto] new changes for verto video features 2021-10-23 22:00:18 +03:00
Anthony Minessale dc4bef79ec [core]speed up call setup 2021-10-23 22:00:18 +03:00
Andrey Volk da8e3b04db [mod_verto] Fix content length overflow on 32bit 2021-10-23 22:00:18 +03:00
Anthony Minessale ed98516666 [mod_verto] move websocket implementation to libks 2021-10-23 22:00:17 +03:00
Seven Du e237d08073 [mod_dptools] add debug_media app 2021-10-23 22:00:17 +03:00
Mike Jerris fc8d431879 [mod_av] dont leak avformat context in error cases 2021-10-23 22:00:16 +03:00
Anthony Minessale 2ba85b8555 [core] add idle cpu to log lines 2021-10-23 22:00:14 +03:00
Mike Jerris 531f2f0135 [core] url decode video render text 2021-10-23 22:00:14 +03:00
Anthony Minessale 6e68da4930 [core] reduce waits in sqldb 2021-10-23 22:00:14 +03:00
Anthony Minessale cc68179d2b [mod_sofia] add sip_ignore_remote_cid var to ignore remote display update 2021-10-23 22:00:13 +03:00
wangxiaoli 1cbb2e6fc3 [mod_openh264, mod_av] add avcodec and openh264 debug 2021-10-23 22:00:13 +03:00
Anthony Minessale e2a53bdcb8 [mod_signalwire] add configurable stun port 2021-10-23 22:00:12 +03:00
Anthony Minessale 182a9cd1d5 [mod_imagick] improve log line 2021-10-23 22:00:12 +03:00
Anthony Minessale 243fc44f45 [mod_httapi, mod_http_cache] pass through seek values tracked in handle on proxy file handles 2021-10-23 22:00:12 +03:00
wangxiaoli 2ceec0b7f8 [mod_av] print I-frame 2021-10-23 22:00:11 +03:00
Anthony Minessale fd747684a4 [mod_av] fix interrupt callback is not passed down to the hls context in the first open_input 2021-10-23 22:00:11 +03:00
Anthony Minessale f74e2a962c [core] add switch_filecmp 2021-10-23 22:00:10 +03:00
Anthony Minessale 761d5310fd [core] make auto mean cpu * 3 / 2 2021-10-23 22:00:10 +03:00
Dragos Oancea b2a8f9ce9f [core] change estimator CUSUM design params for loss to reduce oscillations. rename var. 2021-10-23 22:00:09 +03:00
Anthony Minessale bb02989f42 [core] use the more efficient mult-byte tolower/toupper in the helper func 2021-10-23 22:00:09 +03:00
Anthony Minessale 4ad2e71f95 [mod_imagick] [mod_png] small tweaks for pdf 2021-10-23 22:00:08 +03:00
Andrey Volk 07884e20a2 [Build-System] Fix switch_packetizer headers and add it to the build. 2021-10-23 22:00:08 +03:00
Mike Jerris 465344e8e3 [mod_fsv] fix leak in read failure scenario 2021-10-23 22:00:08 +03:00
Seven Du 97276035dc [mod_av] fix leak (#211) 2021-10-23 22:00:06 +03:00
Seven Du 5243fbd3c5 [core, mod_av] move switch_packetizer to core 2021-10-23 22:00:06 +03:00
Seven Du 64aebc31ed [core] fix memeory leak when font not found 2021-10-23 22:00:05 +03:00
Seven Du 23640d06b1 [mod_av] fix value never read 2021-10-23 22:00:04 +03:00
Seven Du 2448d32c0f [core] add jpg data_url support with stb_image 2021-10-23 22:00:03 +03:00
Seven Du 2a87e7b98c [core] add stb_image_write supported image write 2021-10-23 22:00:03 +03:00
Seven Du 58d5442dc5 [core] add stb_image to read more supported picture formats 2021-10-23 22:00:03 +03:00
Seven Du 9d2cb8b190 [mod_av] play video without decode 2021-10-23 22:00:02 +03:00
Seven Du 0db19ecdf8 [mod_fsv] add no_video_decode to support read video rtp packets without decode 2021-10-23 22:00:02 +03:00
Seven Du 3a1a2b3831 [mod_fsv] fix channels regression from 94eb8ac0a 2021-10-23 22:00:02 +03:00
Seven Du 7b46c01e9e [mod_fsv] add video read support to fsv file format 2021-10-23 22:00:01 +03:00
Seven Du 01ffc4493c [core] fix patch alpha on alpna image 2021-10-23 22:00:00 +03:00
Seven Du 96562bcc48 [core] add switch_img_read_png_from_memory 2021-10-23 22:00:00 +03:00
Anthony Minessale b18ea498df [core] add new prompt functionality to ask for pin over dialogbox 2021-10-23 22:00:00 +03:00
Anthony Minessale ffbe8500ec [core] add new function to theorize the dimensions of an image if it were to be resizedto fit inside another image 2021-10-23 21:59:59 +03:00
Anthony Minessale efff71f2f0 [core] add switch_thread_pool_wait 2021-10-23 21:59:59 +03:00
Anthony Minessale 2c7f97a606 [mod_verto] allow vars from dp to pass to verto dialog 2021-10-23 21:59:59 +03:00
Chris Rienzo 6fb9a69fca [core] Remove 255 byte limit to core ASR param stored in module name 2021-10-23 21:59:58 +03:00
Chris Rienzo 6a2661b608 [mod_conference] Members are searchable by var in more APIs 2021-10-23 21:59:57 +03:00
Andrey Volk ec7ec190b0 [mod_sofia] Add TLS v1.3 support. 2021-10-23 21:59:57 +03:00
Seven Du 01b92f00bb [core] add peer uuid to originate log 2021-10-23 21:59:57 +03:00
Chris Rienzo d1d777df6c [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 21:59:56 +03:00
Ken 53807da088 [mod_sofia] Include isup-oli parameter on outbound invite when we have value in caller profile 2021-10-23 21:59:56 +03:00
phonecomwire 885c05f01b [mod_fifo] adding 'noans' and 'early' call status options and dtmf '0' disable config settings option 2021-10-23 21:59:56 +03:00
surendrasignalwire 28e7353769 [mod_sofia] Adding custom header to refer 2021-10-23 21:59:55 +03:00
Chris Rienzo 3fca63e821 [mod_conference] Add conference::maintenance conference-heartbeat. Enable with heartbeat-period-sec configuration, minimum 20 seconds, 0 to disable. 2021-10-23 21:59:55 +03:00
phonecomwire e8bbe933ac [mod_valet_parking] Add valet_parking_orbit_exit_key option 2021-10-23 21:59:54 +03:00
Chris Rienzo 7770359e8a [mod_av] Don't require .ext for streaming rtmp:// and rtsp:// formats 2021-10-23 21:59:54 +03:00
Michael Jerris 53b459a687 [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 21:59:54 +03:00
Chris Rienzo 6a099f74f9 [mod_spandsp] Protect spandsp data from t38 timer thread and call session thread simultaneous access. 2021-10-23 21:59:53 +03:00
Andrey Volk 61089e8f24 [core] Improve session recording thread performance. 2021-10-23 21:59:53 +03:00
VCC Live/Core d6de1d9af7 [Core] Add systemd sd_notify support 2021-10-23 21:59:52 +03:00
cerner-cac-solution-partner 9f0656a6ba [mod_event_multicast] Add unicast and IPv6 support, enhanced reloadxml support. 2021-10-23 21:59:52 +03:00
Nick Lemberger dfb6e3a3ef [mod_event_multicast] Normalize whitespace/tabs 2021-10-23 21:59:52 +03:00
Michael Jerris 9163b7569a [mod_sofia] add 'sip_destination_prefix' var to prefix user portion of request uri with a value (note this will not affect calls to registered endpoints) (#70) 2021-10-23 21:59:51 +03:00
Mike Jerris 0283c9e2e7 [mod_sofia] add 'sip_destination_prefix' var to prefix user portion of request uri with a value (note this will not affect calls to registered endpoints) 2021-10-23 21:59:51 +03:00
Seven Du 260d1a40e3 [mod_sofia] add contact header in REFER 2021-10-23 21:59:50 +03:00
Chris Rienzo 205bf55c8f [mod_spandsp] Use single log for fax negotiation and page reports. 2021-10-23 21:59:50 +03:00
Mike Jerris 829676e4d3 FS-11856: [Core] Offer all negotiated codecs in 200 OK when receiving re-INVITE without SDP 2021-10-23 21:59:50 +03:00
Andrey Volk e51bbea7ca [mod_dptools]: wait_for_silence does not allow the listen_hits parameter to be a value of 0 2021-10-23 21:59:49 +03:00
Seven Du 623fecd599 [Core] Add partial Asr support 2021-10-23 21:59:49 +03:00
Liyang b1714199ce FS-11855: [Core] Offer all negotiated codecs in 200 OK when receiving re-INVITE without SDP 2021-10-23 21:59:48 +03:00
Seven Du 8e2bba1d9d [mod_conference] make conference breakable 2021-10-23 21:59:48 +03:00
nrensen ce87856c91
[mod_sofia] Remove redundant sip_from->a_url checks 2021-10-21 19:39:19 +03:00
nrensen 01fe8b36fa
[Core] Fix portability for logging last_digit_time in switch_ivr_play_say.c 2021-10-21 19:36:59 +03:00
Marc Olivier Chouinard 578024ed86
[mod_python3] Replace previously removed deprecated calls 2021-10-21 03:16:39 +03:00
Andrey Volk 24958e51c2 [mod_python3] Fix switch module definition preventing mod_python3 from loading. 2021-10-20 19:49:51 +03:00
Andrey Volk b8be418fb8 [Core, mod_commands] Implement memory allocation statistics by adding the "memory" API command. 2021-10-20 17:53:18 +03:00
Andrey Volk 3f958d3724 [mod_verto] scan-build: fix false-positive Argument with 'nonnull' attribute passed null in check_auth 2021-10-19 20:51:56 +03:00
Andrey Volk b9fdf00f6f [Core] Fix a false-positive memory leak detected by scan-build in switch_channel_set_variable_strip_quotes_var_check() 2021-10-19 20:45:08 +03:00
Andrey Volk c58b659f3f [Core] Add new switch_channel_set_variable_strip_quotes API, cleanup mod_sofia. 2021-10-19 20:45:07 +03:00
Andrey Volk c1b00d945b [mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgoing_channel() 2021-10-19 20:45:06 +03:00
Andrey Volk 36ac71f621 [Core] Fix false-positive memory leak in switch_core_set_variable() detected by scan-build 2021-10-19 20:45:05 +03:00
Andrey Volk 8201f54a2c [Core] Fix possible memory leak in switch_console_complete() 2021-10-19 20:39:37 +03:00
Andrey Volk 21952f26c1 [freeswitch] Argument with 'nonnull' attribute passed null in reincarnate_protect() 2021-10-19 20:39:37 +03:00
Andrey Volk 58abf91d1d [Core] Add new switch_core_hash_insert_dup_auto_free() API 2021-10-19 20:39:36 +03:00
Andrey Volk 0b0f5fff65 [mod_sofia] Cleanup sofia_glue_get_host() and make the pool arg be required. 2021-10-19 20:39:35 +03:00
Andrey Volk f21da2885b [mod_verto] Add hack.diff to mcast's swig 2021-10-19 20:39:34 +03:00
Andrey Volk bd7b76bacf [Core] Add new switch_core_hash_insert_pointer(switch_hash_t *hash, const void *data) API to be able to insert data into a hash with an auto-generated key based on the data pointer. Cleanup switch_loadable_module_process() to not generate hash keys for stored events itself. Add unit-test. 2021-10-19 20:35:12 +03:00
Andrey Volk e14df00aa6 [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_html_strip() 2021-10-19 20:35:11 +03:00
Andrey Volk 67048377c4 [Core] Fix possible dereference of null pointer in switch_ivr_originate() and switch_ivr_enterprise_originate() 2021-10-19 20:35:10 +03:00
Andrey Volk 4b03a47a7f [Core] Fix dereference of null pointer in switch_ivr_wait_for_answer() 2021-10-19 20:35:10 +03:00
Dragos Oancea af095ebb68 [core] scan-build: Dereference of null pointer (loaded from variable 'flags') 2021-10-19 20:35:09 +03:00
Andrey Volk 77c8557aa7 [mod_managed] Fix Windows build 2021-10-19 20:34:45 +03:00
Andrey Volk dca7940fb9 [Core] scan-build: Use of zero allocated in switch_xml_str2utf8() 2021-10-19 20:30:18 +03:00
Andrey Volk c35a3bb4db [Core] scan-build: fix false-positive memory leak in switch_xml_set_attr_d and switch_xml_set_attr_d_buf 2021-10-19 20:30:18 +03:00
Andrey Volk 781180ff48 [Core] scan-build: memory leak in switch_xml_user_cache() 2021-10-19 20:30:17 +03:00
Andrey Volk e30c62f8ec [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_xml_internal_dtd() 2021-10-19 20:30:17 +03:00
Andrey Volk 6726922e34 [mod_sofia] scan-build: Dereference of null pointer in sofia_handle_sip_i_bye(), sofia_handle_sip_i_invite() and our_sofia_event_callback() 2021-10-19 20:30:15 +03:00
Andrey Volk ac1a3dc565 [mod_sofia] scan-build: Argument with 'nonnull' attribute passed null 2021-10-19 20:26:53 +03:00
Andrey Volk 86a075da56 [mod_sofia] scan-build: Fix dereference of null pointer in sofia_outgoing_channel(). 2021-10-19 20:26:53 +03:00
Andrey Volk 92a55cf85a [Core] scan-build: Argument with 'nonnull' attribute passed null in switch_loadable_module_load_module_ex() 2021-10-19 20:26:52 +03:00
Andrey Volk 1b048a8a97 [Core, mod_hash] Add two APIs switch_core_hash_insert_alloc_destructor and switch_core_hash_insert_dup_destructor. Code cleanup in mod_hash. Add unit-tests. 2021-10-19 20:26:50 +03:00
Andrey Volk f92368d2f2 [mod_xml_ldap] Move all memory allocations into the mod's pool so it does not leak on shutdown. Fix leaking xml_ldap_search(). 2021-10-19 20:24:10 +03:00
Andrey Volk 9a491fb8f8 [mod_say_pl] Fix potential memory leak in pl_say_ip() 2021-10-19 20:24:09 +03:00
Andrey Volk 4ab8936a0e [mod_v8] Fix false-positive memory leak detected in process_status_function() by scan-build 2021-10-19 20:24:09 +03:00