Commit Graph

21105 Commits

Author SHA1 Message Date
windy-wang f655ce81d3 add jason api for mod_hiredis 2020-04-07 10:17:56 +08:00
Nick Lemberger 4fa0870ef0 [mod_sofia] Fix potential buffer overrun when rewrite_multicasted_fs_path is enabled. 2020-04-01 00:11:24 +04:00
lazedo 343f031915 [mod_kazoo] add event stream connected time 2020-03-24 10:54:16 +00:00
Jourdan Templeton 5805addbeb
[mod_sofia] Add new gateway param 'contact-in-ping' to support for Microsoft Teams Direct Routing 2020-03-23 23:29:53 +04:00
Nathan Neulinger 477086b3e2
[mod_mariadb] Fix reconnect during db failover/restart 2020-03-23 20:55:00 +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
lazedo 3a0ee19f5b
[mod_kazoo] maintenance
* [mod_kazoo] add configured sleep time between each io fault

* [mod_kazoo] add configured delay  before fetching initial configuration

* [mod_kazoo] add explicit handling of http_cache for kz_moh
2020-03-13 20:19:21 +04:00
lazedo 1f268e0292
[mod_kazoo] maintenance
* [mod_kazoo] add kz_eval api

* [mod_kazoo] use session if available in first-of

* [mod_kazoo] handle bridge variables

* [mod_kazoo] allow time for erlang node to initialize

* [mod_kazoo] add kz_moh

* tries to start moh from previous unhold
2020-03-13 01:44:19 +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
Ítalo Rossi 87a64eab18
[mod_verto] Setting transfer_disposition to recv_replace on aleg 2020-03-12 19:23:40 +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
Anthony Minessale cc10e8e044 [Core] Update switch_image.h after recent libvpx update to v1.8.1. 2020-03-06 21:14:36 +04:00
Dragos Oancea 65fa90894e [core] scan-build: Value stored to 'xcheck_jitter' is never read 2020-03-06 19:38:16 +04:00
Dragos Oancea 165ca28fa1 [core] scan-build: Value stored to 'status' is never read - switch_core_session_write_frame() 2020-03-06 19:36:04 +04:00
Dragos Oancea 60cf5a0a3c [core] scan-build: Value stored to 'ip' is never read - switch_core_media_recover_session() 2020-03-06 19:33:46 +04:00
Dragos Oancea 87ab38d281 [core] scan-build: Value stored to 'pass_fmtp' is never read - switch_core_media_gen_local_sdp() 2020-03-06 19:32:28 +04:00
Dragos Oancea e6c52efe64 [core] scan-build: Value stored to 'timer_name' is never read - switch_core_media_activate_rtp() 2020-03-06 19:29:52 +04:00
Dragos Oancea c7eee4ba76 [core] scan-build: Value stored to 'ptime' is never read 2020-03-06 19:28:09 +04:00
Dragos Oancea e2e6d13cd8 [mod_amrwb] fix memory leak at load time (xml) 2020-03-06 15:08:29 +00:00
Dragos Oancea d0502b405e [mod_amr] fix memory leak at load time (xml) 2020-03-06 15:00:33 +00:00
lazedo 592689c253
[mod_kazoo] add checks, fixes & defaults
* [mod_kazoo] set default on expand headers

* [mod_kazoo] use simple var reference in default config

* [mod_kazoo] fix kz_expand

* [mod_kazoo] check if profile for agent is valid

* [mod_kazoo] reorder code in kazoo endpoint
2020-03-06 17:56:07 +04:00
Dragos Oancea 0b5c7307a7 [mod_portaudio] scan-build: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'previous').
Value stored to 'codec_ms' is never read.
2020-03-06 13:40:03 +00:00
Dragos Oancea 731d8f027e [mod_erlang_event] scan-build: Function call argument is an uninitialized value 2020-03-06 11:47:16 +00:00
Dragos Oancea 389a917998 [mod_redis] scan-build: Assigned value is garbage or undefined 2020-03-06 11:17:03 +00:00
Dragos Oancea 56e82bd9c0 [mod_verto] scan-build: Value stored to 'cur' is never read 2020-03-06 11:09:29 +00:00
Dragos Oancea 480aff54e4 [mod_unimrcp] scan-build: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'mod_profile') 2020-03-06 11:04:01 +00:00
Dragos Oancea e821be1c18 [mod_skinny] scan-build: Dead assignments 2020-03-05 23:54:19 +00: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 4dc52cfb4b [Core] Track who calls memory pool destroy. 2020-03-05 23:55:03 +04:00
Chris Rienzo 8e0c0df5b6 [core] Fix switch_vad_process() to properly use result of fvad_process(). Fixes #18 2020-03-05 21:16:33 +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
LarryHemenway 6190fa6242
[Core] switch_rtp: update username to allow size specified in STUN RFC 5389 2020-03-04 02:37:14 +04:00
Dragos Oancea a6d5f46e4a [mod_fifo] scan-build: Function call argument is an uninitialized value, fix dead assignments 2020-02-28 14:55:48 +00:00
Dragos Oancea 3c51052d49 [mod_vlc] scan-build: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'tech_pvt');
Access to field 'pool' results in a dereference of a null pointer (loaded from variable 'acontext')
2020-02-28 14:02:34 +00:00
Dragos Oancea 746d5c3919 [mod_amqp] scan-build: Multiple dereferences of null pointer (loaded from variable 'active') 2020-02-28 13:45:28 +00:00