Commit Graph

20813 Commits

Author SHA1 Message Date
cdosoftei 7e91927278
[mod_amqp] Properly parse out heartbeat parameter 2019-10-15 12:37:47 -04:00
Ciprian 696814cb26 [Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf 2019-10-13 21:27:58 +04:00
lazedo 318e5d0d6d
[mod_kazoo] fix xml leak when event-filter is not available 2019-10-13 12:21:22 +01:00
Andrey Volk db64a08b02
Merge pull request #45 from micmac1/master-memleak-multicast
[mod_event_multicast] Fix memory leak
2019-10-13 00:45:59 +04:00
Sebastian Kemper fc41980f19 [mod_event_multicast] Fix memory leak
Taken from FS-11193:

In "event_handler()" function, when encrypting data using openssl 1.1.0,
the context ctx is allocated by "EVP_CIPHER_CTX_new()", then data is
encrypted, and at the end, EVP_CIPHER_CTX_cleanup is called. This
function resets the context (the function itself is deprecated, and has
been renamed to "EVP_CIPHER_CTX_reset) so that it can be used again. The
correct call would be to "EVP_CIPHER_CTX_free()", which frees the
memory. The code for openssl 1.0 is OK, since the "ctx" struct is kept
in stack.  The same thing happens during decryption. "ctx" is allocated,
but never freed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:43:14 +02:00
Chris Rienzo 9d4f480335 [mod_sofia] Fix some incorrect word contractions. 2019-10-10 09:41:53 -04:00
Andrey Volk 34075172eb
Merge pull request #27 from andywolk/mod_av_crash
[mod_av] Fix crash on `av show codecs` and `av show formats`.
2019-10-01 19:37:12 +04:00
David VILLAUME 9de281133a [mod_say_fr] Fix "10" not playing in French. 2019-10-01 17:07:29 +02:00
Andrey Volk 65c4ca072d [mod_av] Fix crash on `av show codecs` and `av show formats`. 2019-10-01 13:02:39 +04:00
Andrey Volk 15ad4c23e2 Merge pull request #1803 in FS/freeswitch from bugfix/FS-12025-freeswitch-crashes-on-reloadxml-when-spandsp-tone-detection-is-running to master
* commit 'd45e9df88349a26a18426fd98409845316d131fb':
  FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running.
2019-09-17 11:03:50 -05:00
Sergey Safarov 6704d3aabe
FS-11917: [mod_event_socket] Added error logging if cannot parse IP address 2019-09-17 07:40:45 +03:00
Andrey Volk 70831a7140 FS-12041: [Core] Fix memory leak on msrp shutdown 2019-09-07 03:10:20 +04:00
Andrey Volk fc925a273b Merge pull request #1809 in FS/freeswitch from sofia-leak to master
* commit '20a893fd0683de64353ee2c111aa9c61a867886d':
  FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free().
2019-09-06 11:28:31 -05:00
Andrey Volk 20a893fd06 FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free(). 2019-09-06 20:22:20 +04:00
Christopher Rienzo 8880c4f469 Merge pull request #1811 in FS/freeswitch from bugfix/FS-12040-mod_sofia-fix-potential-leak-if-realloc-fails to master
* commit '7ee53a6ec1753204d5f17e1f7d2b9429b8ab1342':
  FS-12040: [mod_sofia] Fix potential leak if realloc fails.
2019-09-06 09:37:37 -05:00
Andrey Volk 7ee53a6ec1 FS-12040: [mod_sofia] Fix potential leak if realloc fails. 2019-09-06 18:01:55 +04:00
Andrey Volk f00d285b5e FS-12039: [Core] Fix memory leak on ssl shutdown. 2019-09-06 17:50:16 +04:00
Andrey Volk d0c6b30c15 Merge pull request #1244 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:fix/FS-10191/disable_video_floor_event_for_audio to master
* commit '4d4afbeb5d9a6aa2d8fced093aeba9b27c1e5623':
  FS-10191: don't send "video-floor-change" event for audio-only conference
2019-09-05 12:24:23 -05:00
Andrey Volk d45e9df883 FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running. 2019-08-30 02:20:18 +04:00
Dragos Oancea 4d4afbeb5d FS-10191: don't send "video-floor-change" event for audio-only conference 2019-08-28 17:54:24 +01:00
Andrey Volk eee07bd95f Merge pull request #1802 in FS/freeswitch from ~ITALOROSSI/freeswitch:feature/FS-12022 to master
* commit '759783532dc7c34b4f8ab27e63438a350bfbc256':
  FS-12022: [mod_event_socket] Add Job-Owner-UUID with session uuid when using bgapi inside outbound socket
2019-08-27 12:30:43 -05:00
Andrey Volk 1583740133 Merge pull request #1805 in FS/freeswitch from bugfix/FS-11995-err-mod_fifo.c-4398-odbc-is-not-available to master
* commit 'fd2f12cf94c4445843a299ef8b87ce2d15d77072':
  FS-11995: [mod_fifo, mod_directory] Fix database availability check.
2019-08-27 10:06:12 -05:00
Christopher Rienzo 6a6b8ac350 Merge pull request #1804 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-12026 to master
* commit 'aaacaa19deb6ef764acdfabefb625f3ddc4e2324':
  FS-12026 [mod_http_cache] fix multichannel file download and play
  FS-12026 [mod_httapi] fix multichannel file download and play
2019-08-27 08:27:05 -05:00
Dragos Oancea aaacaa19de FS-12026 [mod_http_cache] fix multichannel file download and play 2019-08-27 11:30:05 +00:00
Dragos Oancea 44199e91b5 FS-12026 [mod_httapi] fix multichannel file download and play 2019-08-27 11:28:51 +00:00
Andrey Volk fd2f12cf94 FS-11995: [mod_fifo, mod_directory] Fix database availability check. 2019-08-27 01:13:10 +04:00
David Grant 7a4a988dcb FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
2019-08-24 22:48:59 -05:00
Ítalo Rossi 759783532d FS-12022: [mod_event_socket] Add Job-Owner-UUID with session uuid when using bgapi inside outbound socket 2019-08-22 16:35:34 -03:00
Mike Jerris 8c1697b9b2 FS-12021: [mod_signalwire] Remove ascii art on mod_signalwire token line 2019-08-22 10:40:55 -06:00
Andrey Volk 71b0ab24b1 FS-12001: [mod_callcenter] Workaround issues with renaming tables and columns in SQLite version prior to 2019-02-07 (3.27.0). 2019-08-20 18:39:01 +04:00
Andrey Volk f93445a38c FS-12010: [sofia-sip] Fix improper cleanup on su_deinit(). 2019-08-20 03:11:28 +04:00
Andrey Volk 96aac32237 FS-12010: [mod_sofia, mod_valet_parking, mod_enum] Fix memory leaks on FreeSWITCH shutdown. 2019-08-19 23:14:24 +04:00
Seven Du b6b3d78567 FS-12007 fix leak 2019-08-19 23:09:47 +04:00
Mike Jerris cf0826406b Merge pull request #1798 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-12008 to master
* commit '797216fcc04efd05c0d45b33a4269bd1d8e118ff':
  FS-12008: special case G722 - fix rate passed to switch_core_codec_init()
2019-08-19 13:37:47 -05:00
Dragos Oancea 797216fcc0 FS-12008: special case G722 - fix rate passed to switch_core_codec_init() 2019-08-19 18:31:10 +00:00
Andrey Volk 48b8fa5864 FS-11981: [Core] Fix FreeSWITCH crash when timerfd is initialized with an error. 2019-08-19 21:35:23 +04:00
Fernando S Santos d3487dcc39 FS-12001: [mod_callcenter] Renamed column name from 'system' to 'instance_id' to make mod_callcenter work with MySQL through mod_mariadb 2019-08-14 16:59:09 -03:00
Andrey Volk 822c0b07ba FS-11998: [Core] Fix improper json_api module unload 2019-08-12 21:00:20 +04:00
Andrey Volk 9520f8e111 FS-11991: [Core] Fix bug in the database module interface preventing tables from being created when no drop_sql 2019-08-10 20:40:52 +04:00
Andrey Volk f74036cd1c FS-11989: [Core] Fix database module interface not returning statuses of some operations. 2019-08-10 03:05:41 +04:00
lazedo 88448ebfba FS-11982 [mod_kazoo] add expand-headers-on-fetch 2019-08-05 15:40:42 +00:00
David Grant 263a83bf7c FS-11977 [mod_signalwire] add configuration param override-context 2019-08-04 02:37:51 -05:00
Chris Rienzo c55b989220 FS-11979 [test] Fix error message log in fst_xcheck() 2019-08-02 11:47:03 -04:00
Andrey Volk bc5dad27fb FS-11931: [mod_http_cache] Fix zero-length gnu_printf format string 2019-08-02 00:55:02 +04:00
Mike Jerris 0e43313f79 Merge pull request #1782 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11973 to master
* commit '4f66959ed325ed6dd58c8b48f80d42aaca1902bd':
  FS-11973: [mod_event_multicast] add mutex and checks on hash ptrs on shutdown
2019-08-01 13:32:02 -05:00
Dragos Oancea 4f66959ed3 FS-11973: [mod_event_multicast] add mutex and checks on hash ptrs on shutdown 2019-08-01 18:12:39 +00:00
Mike Jerris 7c773b28d9 Merge pull request #1779 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11967-rate to master
* commit '6fb039607686c1f2cf9265b6ae9b01a29037eb9c':
  FS-11967: add mod_opus to unit test XML
  FS-11967: add unit test for switch_core_codec_copy()
  FS-11967: [core] fix rate of recording for Opus
2019-08-01 11:13:37 -05:00
Christopher Rienzo 538021a6b9 Merge pull request #1781 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11919-log to master
* commit '6cfceb6e62b4461cedd712b7486c29bf6cd12fe6':
  FS-11919: change back loglevel to DEBUG1
2019-08-01 08:24:35 -05:00
Dragos Oancea 6cfceb6e62 FS-11919: change back loglevel to DEBUG1 2019-08-01 13:21:28 +00:00
Liyang 5f1ee43cd0 FS-11971: [core] fix 488 when receive invite with SRTP/RTP 2019-08-01 02:15:56 +04:00
Dragos Oancea 3bb9471e31 FS-11967: [core] fix rate of recording for Opus 2019-07-31 14:42:40 +00:00
Chris Rienzo 5801df9333 FS-11970 [core] Check if detection is done in switch_ivr_play_and_detect_speech() final loop. 2019-07-29 23:08:15 -04:00
Dragos Oancea b1ba546139 FS-11788: JB: packet count on vbw too 2019-07-25 23:56:16 +00:00
Mike Jerris 3c06e3c788 Merge pull request #1773 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11743 to master
* commit '7060d962625970804b9a3d9db4c0f89caf2b67a3':
  FS-11743: don't reset VBW on receiving PLI/FIR
2019-07-25 18:35:30 -05:00
Mike Jerris 304865f580 Merge pull request #1772 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11965 to master
* commit '4349da32142a66caac8ce38d6a710d056ff56cbb':
  FS-11965: fix build.
2019-07-25 18:34:53 -05:00
Dragos Oancea 7060d96262 FS-11743: don't reset VBW on receiving PLI/FIR 2019-07-25 23:30:16 +00:00
Dragos Oancea 4349da3214 FS-11965: fix build. 2019-07-25 23:21:47 +00:00
Mike Jerris 4abe5905e0 Merge pull request #1771 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11965 to master
* commit '9e006869e47bf60706da14c54f81c38ccaf790ca':
  FS-11965: RTC: prevent overflow on percent_fraction (patch by Sergey Khripchenko <shripchenko@intermedia.net>)
  FS-11965: NACK log debug when we get a request
  FS-11965: RTCP: fix on rtcp_report_block->fraction - "if X packets were expected and X was lost, we want 0xff to be reported, not 0" (patch by Piotr Gregor <piotr@dataandsignal.com>)
2019-07-25 18:17:11 -05:00
Dragos Oancea 9e006869e4 FS-11965: RTC: prevent overflow on percent_fraction
(patch by Sergey Khripchenko <shripchenko@intermedia.net>)
2019-07-25 23:10:53 +00:00
Dragos Oancea 2e450cd3dc FS-11965: NACK log debug when we get a request 2019-07-25 23:10:53 +00:00
Dragos Oancea 40982338a0 FS-11965: RTCP: fix on rtcp_report_block->fraction - "if X packets were expected and X was lost, we want 0xff to be reported, not 0"
(patch by Piotr Gregor <piotr@dataandsignal.com>)
2019-07-25 23:09:27 +00:00
Mike Jerris af3551f735 Merge pull request #1770 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11715 to master
* commit '500b4c23b0c4c389195eb59a13b229c640fa2e8c':
  FS-11715: sanitize negative value for pkt_lost
2019-07-25 17:46:16 -05:00
Artem Karukov 500b4c23b0 FS-11715: sanitize negative value for pkt_lost 2019-07-25 22:38:57 +00:00
Dragos Oancea 309135640b FS-11964: add new chan var "rtp_video_nack_disable" 2019-07-25 21:57:37 +00:00
Mike Jerris da9c1618c5 Merge pull request #1768 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11788 to master
* commit 'f3d21a2d727531c518fbc4ef8b5bd75b8db7e2b4':
  FS-11788: JB: fix packets per video frame count and allow count on vbw
2019-07-25 16:46:15 -05:00
Dragos Oancea f3d21a2d72 FS-11788: JB: fix packets per video frame count and allow count on vbw 2019-07-25 21:43:27 +00:00
Mike Jerris d16575d288 FS-11962: [core] Fix memory leak in switch_core_session_write_video_frame 2019-07-25 14:41:39 -06:00
Sergey Khripchenko 200a76b2ae FS-9264 Add more logging to wait_for_silence, detect_audio and detect_silence api calls 2019-07-26 00:37:15 +04:00
Sergey Khripchenko 655c8a1a7b FS-11362 Attempt to rearrange verto socket shutdown sequence 2019-07-26 00:31:11 +04:00
Mike Jerris fdea350817 FS-11454: [core] Add error log when attempting to route to an invalid dialplan interface 2019-07-25 14:30:24 -06:00
Mike Jerris 090e8284b6 FS-11961: [mod_sofia] Handle request vs response in sofia_media_tech_media 2019-07-25 14:26:36 -06:00
Dragos Oancea dc1e851214 FS-9264: FS-10976: fix detect_audio, detect_silence and wait_for_silence_function dialplan apps
(thanks Sergey KHripchenko and Hervé Déprez for pointing these out)
2019-07-26 00:22:08 +04:00
Anthony Minessale d4a0040c88 FS-11417: [mod_conference] Unbounded memory growth during screen share #resolve 2019-07-26 00:17:41 +04:00
Andrey Volk 27669eda04 FS-11194: [mod_v8] Implement JavaScript Process Status with Heap statistics. 2019-07-26 00:01:22 +04:00
Seven Du fc139b7068 FS-11934 add some conference test cases 2019-07-25 23:57:34 +04:00
Anthony Minessale 1c80a83d57 fix teletone gen on multichannel 2019-07-25 23:31:08 +04:00
Anthony Minessale b644421c87 core side of vpx update 2019-07-25 23:06:59 +04:00
Mike Jerris f49279b45e .gitignore 2019-07-25 23:06:38 +04:00
Mike Jerris 8948ba694e .gitignore 2019-07-25 23:06:24 +04:00
Dragos Oancea 317e197b0b FS-11959: add switch_jb_get_packets_per_frame() - gets the number of packets per video frame 2019-07-25 18:00:27 +00:00
Mike Jerris 3d53f7861e Merge pull request #1765 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11957 to master
* commit '6a036e661c6d78c7f98388ff445a7df93fd286e3':
  FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too
2019-07-25 12:53:51 -05:00
Mike Jerris 241911817f Merge pull request #1766 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11958 to master
* commit '863189fed69b953dcf732b351124a63814a8f322':
  FS-11958: [core] add switch_core_media functions that deal with bw and bitrate
2019-07-25 12:52:54 -05: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
Mike Jerris abdf796069 Merge pull request #1764 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11955 to master
* commit '1f4dbe50e6c29ed8b04b0af428bc49352f37664e':
  FS-11955: JB: add stats for received packets that have been NACKed previously (video)
2019-07-25 12:50:19 -05:00
Dragos Oancea 863189fed6 FS-11958: [core] add switch_core_media functions that deal with bw and bitrate 2019-07-25 17:08:58 +00:00
Dragos Oancea 6a036e661c FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too 2019-07-25 16:01:59 +00:00
Dragos Oancea 1f4dbe50e6 FS-11955: JB: add stats for received packets that have been NACKed previously (video) 2019-07-25 14:28:38 +00:00
Dragos Oancea f982b2b931 FS-11954: JB: change complete frames marker 2019-07-25 13:01:52 +00:00
Liyang 60c7235603 FS-11953: [core] set the correct cng pt after receive reinvite to avoid garbled audio 2019-07-24 22:38:08 +04:00
Andrey Volk e863053e92 Merge pull request #1761 in FS/freeswitch from bugfix/FS-11952-fix-memory-leaks to master
* commit '718d2341f7327feea52c840648e42b33eb9c69dd':
  FS-11952: [Core] Fix memory leaks.
2019-07-24 11:49:58 -05:00
Andrey Volk 692ed77cd6 Merge pull request #1760 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11809 to master
* commit '49e6449bc5119852570f693695fea2046b1028a0':
  FS-11809: scan-build: dead assignments
2019-07-24 11:49:47 -05:00
Andrey Volk d56baeb6a0 Merge pull request #1759 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11951 to master
* commit '54c589500925106ed05de3331d195a0a3cafa366':
  FS-11951: JB: rare crash in reading the chan var  (it maybe called without a session in some unit tests)
2019-07-24 11:49:23 -05:00
Andrey Volk 718d2341f7 FS-11952: [Core] Fix memory leaks. 2019-07-24 20:26:32 +04:00
Dragos Oancea 49e6449bc5 FS-11809: scan-build: dead assignments 2019-07-24 13:47:02 +00:00
Dragos Oancea 54c5895009 FS-11951: JB: rare crash in reading the chan var (it maybe called without a session in some unit tests) 2019-07-24 13:16:35 +00:00
Andrey Volk 3fa1f3b76c FS-11950: [mod_pgsql] Fix gcc8 errors replacing strncpy with snprintf. 2019-07-24 13:01:42 +04:00
Andrey Volk 4a2812aaf5 FS-11727: [mod_mariadb] Add MariaDB (MySQL) support 2019-07-23 20:07:16 +04:00
Andrey Volk 9c8de649b3 FS-11947: [Build-System] Do not install test binaries when doing make install. 2019-07-23 19:34:21 +04:00
Andrey Volk 91e99db6c8 FS-11944: [mod_sofia] Fix error: 'nh->nh_home' will always evaluate to 'true'. 2019-07-23 18:47:17 +04:00
Christopher Rienzo 6cb4c2720a Merge pull request #1754 in FS/freeswitch from fs-11931fix to master
* commit 'bbbaf7e99e2c0d049293741ddf91a56cd628fc5f':
  FS-11931: [mod_http_cache] Fix regression, use SWITCH_MOD_DECLARE() in modules instead of SWITCH_DECLARE().
2019-07-23 09:04:09 -05:00