Commit Graph
100 Commits
Author SHA1 Message Date
Andrey Volk ef70d4d59b Merge pull request #655 from signalwire/DefaultPlatformToolset
[Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions.
2020-05-25 14:23:16 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk 7b6a15a4d6 Merge pull request #653 from signalwire/windowstests
[Build-System] Fix folder conflict when building unit-tests on Windows.
2020-05-24 21:49:57 +04:00
Andrey Volk 6299fc12be [Build-System] Fix folder conflict when building unit-tests on Windows. 2020-05-24 15:37:31 +04:00
Andrey Volk 7a6c56d406 Merge pull request #650 from signalwire/newdronefix
[Tests] Fix build on new Drone
2020-05-21 23:13:46 +04:00
Andrey Volk 553c06add1 [Tests] Fix build on new Drone 2020-05-21 22:53:05 +04:00
Andrey Volk 91f54340ed Merge pull request #636 from signalwire/listener-hangup-race
[mod_event_socket] Fix hangup race with listener_thread of socket application in async mode
2020-05-18 21:22:05 +04:00
Andrey Volk e1f63ce5b1 Merge pull request #638 from signalwire/openh264_drone
[mod_openh264] Enable build on Drone.
2020-05-16 01:45:27 +04:00
Andrey Volk 493f8a2254 [mod_openh264] Enable build on Drone. 2020-05-15 22:44:19 +04:00
Andrey Volk 55ddecd750 Merge pull request #222 from paxc/master
[mod_openh264] Fix stap-a size issue and add unit test.
2020-05-15 21:04:25 +04:00
Andrey Volk eba009868e Merge pull request #474 from dragos-oancea/mod_cv-nullptr-passed
[mod_cv] scan-build: Null pointer passed as an argument to a 'nonnull' parameter.
2020-05-15 20:28:51 +04:00
Andrey Volk 8f8edfbd01 Merge pull request #626 from signalwire/sofia-wss-keep-alive
[sofia-sip] Timed out or not established wss should be destroyed immediately and avoid keep-alive functionality.
2020-05-12 21:54:53 +04:00
Andrey Volk 323c10d34b [sofia-sip] Timed out or not established wss should be destroyed immediately and avoid keep-alive functionality. 2020-05-12 00:04:47 +04:00
Andrey Volk 8df2eca4d4 version bump 2020-05-11 16:46:27 +04:00
Andrey Volk 50b7dedf82 swigall 2020-05-11 09:50:33 +00:00
Andrey Volk 43614fd12a Merge pull request #619 from signalwire/amr_dead_assignment
[mod_amr] scan-build: fix dead increment of fmtptmp_pos in switch_amr_init()
2020-05-08 03:33:25 +04:00
Andrey Volk a2c657c7bb [mod_amr] scan-build: fix dead increment of fmtptmp_pos in switch_amr_init() 2020-05-08 02:56:37 +04:00
Andrey Volk 5b1088d39f Merge pull request #133 from jay98237438/master
[mod_amr, mod_amrwb] RFC4867 mode-set compliancy
2020-05-08 01:55:50 +04:00
Andrey Volk 262220085e Merge pull request #618 from signalwire/transfer
[core] Transfer with rtp_pass_codecs_on_stream_change one way audio
2020-05-08 01:50:16 +04:00
Andrey Volk d945566bbd Merge pull request #617 from signalwire/orig_session_check
[core] add orig session check
2020-05-08 01:38:31 +04:00
Andrey Volk 0072806df1 [mod_loopback] Split null_auto_answer into two variables null_enable_auto_answer and null_auto_answer_delay. Default auto_answer_delay is 0 instead of 1 ms. Auto answer is enabled by default if null_enable_auto_answer is not set. More carefully compute the delay in ms to not block channel longer than needed. 2020-05-08 01:22:48 +04:00
Andrey Volk 661f653956 [Core] Fix OSX build in switch_ivr_originate.c 2020-05-08 01:21:24 +04:00
Andrey Volk d5dccc3c78 Merge pull request #616 from signalwire/oglobals
[core] refactor originate internals (oglobals)
2020-05-08 00:55:43 +04:00
Andrey Volk 2dced93d94 [sofia-sip] Build internal tests 2020-05-07 03:19:16 +04:00
Andrey Volk d9d49920cb [mod_httapi] Fix leak of context->url_params 2020-05-07 03:16:58 +04:00
Andrey Volk 1956911e4b [Core] Fix locking and a memory leak in switch_core_session_write_video_frame() and switch_core_session_write_text_frame(). 2020-05-07 03:15:43 +04:00
Andrey Volk b847935ce2 [Core] Fix dereference of null pointer in video_bridge_thread() when codec b is not yet initialized. 2020-05-07 03:12:51 +04:00
Andrey Volk b31c47eab7 [mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)" 2020-05-07 03:10:37 +04:00
Andrey Volk 84a20addc8 [sofia-sip] Fix crash in timer B outgoing_timer_bf() which asserts if INVITE request was completed already. 2020-05-07 03:07:20 +04:00
Andrey Volk 40ba118936 [sofia-sip] Fix use of deprecated CRYPTO_set_id_callback(). 2020-05-07 03:02:08 +04:00
Andrey Volk 865de72cee [core,mod_verto,mod_xml_rpc] Fix use of deprecated CRYPTO_set_id_callback(). 2020-05-07 03:00:03 +04:00
Andrey Volk b630dfa79e [Core] switch_rtp: reduce end call due to SRTP failure log level from error to warning. 2020-05-07 02:54:54 +04:00
Andrey Volk 7b46e37318 [Core] switch_rtp: reduce dtls handshake failure level from error to warning. 2020-05-07 02:49:35 +04:00
Andrey Volk 06dfe2e3a4 [mod_sndfile] Reduce error level to warning for "Error Opening File" 2020-05-07 02:48:21 +04:00
Andrey Volk 96c615e353 [mod_av] Reduce error level to warning for "Could not decode frame". 2020-05-07 02:47:19 +04:00
Andrey Volk a198e765fe [mod_conference] Fix memory leaks and a possible deadlock in chat_send(); 2020-05-07 02:40:41 +04:00
Andrey Volk 8778cda16d [Core] Wait sql threads to spin up. Fixes module_exists, show_codec commands. 2020-05-07 02:26:22 +04:00
Andrey Volk 2ef4a32ce2 Merge pull request #613 from signalwire/ogg_windows
[mod_shout] Fix Windows build by placing libogg sources to files.freeswitch.org
2020-05-06 21:20:31 +04:00
Andrey Volk f5634c8f6d [mod_shout] Fix Windows build by placing libogg sources to files.freeswitch.org 2020-05-06 21:04:43 +04:00
Andrey Volk 53cd06900c [Core] Fix leak in switch_xml_set_attr(). 2020-04-28 21:43:58 +04:00
Andrey Volk 4f9c05b279 Merge pull request #586 from TheJJ/fix-rtc-ip-index
[mod_sofia] Fix rtp config ipv4/ipv6 index confusion
2020-04-28 21:39:19 +04:00
Andrey Volk bbca42cbf5 Merge pull request #540 from signalwire/ilbc
[Build-System] Enable mod_ilbc Debian packaging.
2020-04-01 14:30:15 +04:00
Andrey Volk 92a746990c [Build-System] Enable mod_ilbc Debian packaging. 2020-03-31 21:28:00 +04:00
Andrey Volk 890dac9972 Merge pull request #528 from lazedo/kazoo-eventstream-time
[mod_kazoo] add event stream connected time
2020-03-24 20:15:54 +04:00
Andrey Volk 5c52b174f2 Merge pull request #520 from signalwire/drone
[Testing] Add mod_portaudio, mod_redis, mod_skinny to scan-build on Drone
2020-03-24 01:09:50 +04:00
Andrey Volk eb51f76e6b [Testing] Add mod_portaudio, mod_redis, mod_skinny to scan-build on Drone 2020-03-22 14:57:29 +04:00
Andrey Volk 9b0cfefce7 Merge pull request #521 from signalwire/verto
[mod_verto] Fix Makefile.am and reswig, fix scan-build warnings in swig and enable scan-build on Drone
2020-03-22 14:51:25 +04:00
Andrey Volk d07e1654a2 [mod_verto] Fix scan-build warnings in swig and enable scan-build on Drone 2020-03-22 14:14:14 +04:00
Andrey Volk d67d09705a [mod_verto] Fix Makefile.am and reswig 2020-03-22 01:35:58 +00:00
Andrey Volk ac64d8e78d Merge pull request #511 from signalwire/sofia_dns_crash
[sofia-sip] Sip crash on unresolvable dns resolution error of outbound request.
2020-03-16 22:57:05 +04:00
Andrey Volk 93ce1a371a [sofia-sip] Sip crash on unresolvable dns resolution error of outbound request. 2020-03-16 22:38:47 +04:00
Andrey Volk 06f905de9d Merge pull request #484 from dragos-oancea/mod_amrwb-fixleak-xml
[mod_amrwb] fix memory leak at load time (xml)
2020-03-12 21:06:44 +04:00
Andrey Volk dd9092abe9 Merge pull request #483 from dragos-oancea/mod_amr-fixleak-xml
[mod_amr] fix memory leak at load time (xml)
2020-03-12 21:05:23 +04:00
Andrey Volk da4068e744 Merge pull request #482 from dragos-oancea/mod_portaudio-nullptr
[mod_portaudio] scan-build: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'previous').
2020-03-12 21:03:50 +04:00
Andrey Volk d1ab723582 Merge pull request #479 from dragos-oancea/mod_erlang_event-uninitialized-value
[mod_erlang_event] scan-build: Function call argument is an uninitialized value
2020-03-12 20:24:29 +04:00
Andrey Volk 51cc971d45 Merge pull request #478 from dragos-oancea/mod_redis-undefined-val
[mod_redis] scan-build: Assigned value is garbage or undefined
2020-03-12 20:22:43 +04:00
Andrey Volk 396d07c1a3 Merge pull request #476 from dragos-oancea/mod_unimrcp-nullptr
[mod_unimrcp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mod_profile')
2020-03-12 20:21:20 +04:00
Andrey Volk abe3aea117 Merge pull request #475 from dragos-oancea/mod_skinny_vals-never-read
[mod_skinny] scan-build: Dead assignments
2020-03-12 19:28:06 +04:00
Andrey Volk 0b2da6f2d7 Merge pull request #472 from dragos-oancea/spandsp-memcpy-param-overlap
[spandsp] fix memcpy-param-overlap - use memmove()
2020-03-12 19:26:35 +04:00
Andrey Volk 64da1fd098 Merge pull request #477 from dragos-oancea/mod_verto-cur-val-never-read
[mod_verto] scan-build: Value stored to 'cur' is never read
2020-03-10 22:56:10 +04:00
Andrey Volk ff52ea71b7 Merge pull request #486 from signalwire/drone_scan_build
[Testing] Add clang static analyzer to Drone CI
2020-03-06 23:23:22 +04:00
Andrey Volk dcf037691e [Testing] Add clang static analyzer to Drone CI 2020-03-06 23:03:53 +04:00
Andrey Volk 88ee4182d8 [libvpx] scan-build: Fix "Result of operation is garbage or undefined" in vp9/encoder/vp9_rd.c 2020-03-06 21:54:34 +04:00
Andrey Volk 653835efe0 [libvpx] scan-build: Fix "Assigned value is garbage or undefined" in vpx_post_proc_down_and_across_mb_row_c() 2020-03-06 21:52:27 +04:00
Andrey Volk 9c70b0229a [libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal 2020-03-06 21:47:12 +04:00
Andrey Volk 1e9786b8ec [libvpx] Fix pthread configure checks: "Null pointer passed as an argument to a 'nonnull' parameter" 2020-03-06 21:45:53 +04:00
Andrey Volk 43df2e1c2e Merge pull request #485 from signalwire/images
Update libvpx to 1.8.1 and libyuv to ea23edfb
2020-03-06 21:41:23 +04:00
Andrey Volk 36aa4cc2c6 [libvpx] Fix typo in Windows project file. 2020-03-06 21:15:04 +04:00
Andrey Volk 6175c55b2f [Build-System] Fix Windows build after libvpx update. 2020-03-06 21:14:46 +04:00
Andrey Volk 34fcadbd53 Revert "[libvpx] scan-build: Fix "Dereference of null pointer" in vp8_peek_si_internal"
This reverts commit 4b971dff75.
2020-03-06 21:13:50 +04:00
Andrey Volk 90a7fc7125 Merge pull request #464 from dragos-oancea/mod_fifo-uninitialized-value
[mod_fifo] scan-build: Function call argument is an uninitialized value, fix dead assignments
2020-03-06 00:58:05 +04:00
Andrey Volk efc9613d2b Merge pull request #463 from dragos-oancea/mod_vlc-nullptr-deref
[mod_vlc] scan-build: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'tech_pvt');
2020-03-06 00:55:35 +04:00
Andrey Volk bd3982d607 Merge pull request #462 from dragos-oancea/mod_amqp-nullptrs
[mod_amqp] scan-build: Multiple dereference of null pointer (loaded from variable 'active')
2020-03-06 00:52:54 +04:00
Andrey Volk c66c314f57 Merge pull request #461 from dragos-oancea/mod_portaudio-val-never-read
[mod_portaudio] scan-build: Dead assignments
2020-03-06 00:47:38 +04:00
Andrey Volk 368442f638 Merge pull request #459 from signalwire/mod_xml_cdr
[mod_xml_cdr] scan-build: Fix dead assignments.
2020-03-06 00:46:03 +04:00
Andrey Volk ac328bb2d0 Merge pull request #458 from signalwire/v8
[mod_v8] Fix scan-build warnings.
2020-03-06 00:42:46 +04:00
Andrey Volk 6f24d9b489 Merge pull request #436 from dragos-oancea/mod_redis-potential-memleak
[mod_redis] scan-build: Potential leak of memory pointed to by 'cptr' - cr_morebulk()
2020-03-06 00:40:57 +04:00
Andrey Volk 82b8773f84 Merge pull request #432 from dragos-oancea/mod_rtmp-status--val-never-read
[mod_rtmp] scan-build: Value stored to 'status' is never read - RTMP_INVOKE_FUNCTION(rtmp_i_sendevent)
2020-03-06 00:39:06 +04:00
Andrey Volk 22ed11a49d Merge pull request #425 from dragos-oancea/mod_rtmp-val-never-read
[mod_rtmp] scan-build: Value stored to 'codec' is never read - rtmp_audio_codec()
2020-03-06 00:36:41 +04:00
Andrey Volk 3fdf1422f7 Merge pull request #473 from signalwire/pooltagondestroy
[Core] Track who calls memory pool destroy.
2020-03-06 00:22:59 +04:00
Andrey Volk 4dc52cfb4b [Core] Track who calls memory pool destroy. 2020-03-05 23:55:03 +04:00
Andrey Volk 59551f0fd0 [mod_kazoo] some fixes & enhancements
* [mod_kazoo] address scan-build warnings

* [mod_kazoo] don't use switch_core_session_force_locate

* [mod_kazoo] add loglevel support per event

* [mod_kazoo] add option to serialize as array

* [mod_kazoo] handle verbose fields

* [mod_kazoo] handle _body header field

* [mod_kazoo] ensure raw json is valid

* [mod_kazoo] encode json number

encodes double as unsigned long long if possible

note: file was formatted

* [mod_kazoo] fix tweaks configuration

* [mod_kazoo] move headers to proper place

* to use Target-Node in filtering
  we need to add and then remove it
  since the next node uses the same event
  to build the message

* [mod_kazoo] handle cleanup in new_event_stream

* [mod_kazoo] do not decode _json_ headers

* [mod_kazoo] add kz_cdr event

* fires the event in report state
* adds json serialized parts
  that can be included
  in event message
* moves history funcs from
  kazoo_commands to kazoo_cdr

* [mod_kazoo] format default configuration

* [mod_kazoo] validate bracket creation

* [mod_kazoo] use single fd for kz_http_put

* [mod_kazoo] add uuid to kz_expand
2020-03-05 20:48:40 +04:00
Andrey Volk 3ebad97489 [mod_xml_cdr] scan-build: Fix dead assignments. 2020-02-28 03:32:46 +04:00
Andrey Volk 7bbec6611c [mod_v8] Fix scan-build warnings. 2020-02-28 03:13:06 +04:00
Andrey Volk 695ba877aa Merge pull request #448 from dragos-oancea/mod_vlc-status-val-never-read-
[mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle()
2020-02-28 00:48:55 +04:00
Andrey Volk 98b263117d Merge pull request #449 from dragos-oancea/mod_vlc-null-ptr-derefs
[mod_vlc] scan-build: multiple dereferences of a null pointer
2020-02-28 00:41:05 +04:00
Andrey Volk 0f96cae9ac Merge pull request #450 from dragos-oancea/mod_fifo-val-never-read
[mod_fifo] scan-build: Value stored to 'arg' is never read - xml_callback()
2020-02-28 00:39:39 +04:00
Andrey Volk 04db956c49 Merge pull request #451 from dragos-oancea/mod_java-val-never-read
[mod_java] scan-build: Value stored to 'status' is never read - create_java_vm()
2020-02-28 00:38:38 +04:00
Andrey Volk fdca16a3b0 Merge pull request #452 from dragos-oancea/mod_java-garbage-val
[mod_java] scan-build: Undefined or garbage value returned to caller - run_dtmf_callback()
2020-02-28 00:37:31 +04:00
Andrey Volk 0594177ee0 Merge pull request #454 from dragos-oancea/mod_redis-nullptr-deref
[mod_redis] scan-build: Dereference of null pointer - cr_delete()
2020-02-28 00:35:51 +04:00
Andrey Volk e731517198 Merge pull request #455 from dragos-oancea/mod_voicemail_ivr-previous_msg-val-never-read
[mod_voicemail_ivr] scan-build: Value stored to 'previous_msg' during its initialization is never read - vmivr_menu_navigator()
2020-02-28 00:34:35 +04:00
Andrey Volk 3fe3d11100 Merge pull request #457 from dragos-oancea/mod_skinny-garbage-val
[mod_skinny] scan-build: Assigned value is garbage or undefined
2020-02-28 00:33:02 +04:00
Andrey Volk 2d727b7b31 Merge pull request #444 from signalwire/mod_abstraction
[mod_abstraction] scan-build: Fix dead assignment.
2020-02-27 00:09:12 +04:00
Andrey Volk f90c4b411e Merge pull request #443 from signalwire/mod_callcenter
[mod_callcenter] scan-build: Fix dead initialization.
2020-02-27 00:07:37 +04:00
Andrey Volk 776ae387ae Merge pull request #442 from signalwire/mod_cidlookup
[mod_cidlookup] Fix dereference of null pointer and optimize use of pool's memory avoiding double-allocations.
2020-02-27 00:06:27 +04:00
Andrey Volk b0d2ffcaec Merge pull request #440 from signalwire/mod_rss
[mod_rss] scan-build: Fix dead assignments.
2020-02-27 00:05:05 +04:00
Andrey Volk 21577fcdd2 Merge pull request #439 from dragos-oancea/mod_rtmp-profile-nullptr-deref
[mod_rtmp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'profile') - config_profile()
2020-02-27 00:03:23 +04:00
Andrey Volk baeb11c208 Merge pull request #437 from dragos-oancea/mod_amqp-nullptr-deref
[mod_amqp] scan-build: Dereference of null pointer (loaded from variable 'active') - mod_amqp_connection_open()
2020-02-27 00:01:26 +04:00
Andrey Volk b099d0383d Merge pull request #441 from signalwire/mod_memcache
[mod_memcache] scan-build: Fix "Uninitialized argument value"
2020-02-26 23:59:24 +04:00
Andrey Volk 0970e392c9 Merge pull request #435 from dragos-oancea/mod_voicemail_ivr-nullptr-arg
[mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function)
2020-02-26 23:57:39 +04:00