Chris Rienzo
6b39f3a3e2
[build] add out of tree modules (mod_coreclr, mod_janus, and mod_mosquitto) to modules.conf. Uncomment their line(s) to include them in your build.
2020-08-12 15:26:10 +00:00
Chris Rienzo
53c3850f97
Rename License.txt to LICENSE
2020-08-12 09:20:00 -04:00
Chris Rienzo
6c8546ac62
Add License.txt
2020-08-12 09:18:10 -04:00
Chris Rienzo
e82e68d182
Merge pull request #66 from micmac1/t38-reinv-fix
...
[mod-sofia] Fix reINVITE after T38 is rejected
2020-08-10 11:03:08 -04:00
Chris Rienzo
6b9f3fbb17
Update issue templates
2020-08-07 17:26:52 -04:00
Chris Rienzo
926524a60d
Update issue templates ( #776 )
2020-08-07 17:25:47 -04:00
Chris Rienzo
2009f44942
Update issue templates
2020-08-06 09:54:42 -04:00
Chris Rienzo and baonq-me
17ebce7e3b
Add v4 sig to http cache ( #741 )
...
* FS-9676 [mod_http_cache] Support for AWS Signature version 4 and drop support for version 2
Co-authored-by: baonq-me <quocbao747@gmail.com >
2020-07-20 15:34:55 -04:00
Chris Rienzo
bd46061a10
[test] Disable logs when loading and shutting down FS core
2020-05-18 21:20:06 +04:00
Chris Rienzo
4589a47324
[build/test] git ignore test output
2020-05-07 03:11:50 +04:00
Chris Rienzo
bc9515468e
[test] Fix out of bound buffer read in switch_test
2020-05-07 02:58:30 +04:00
Chris Rienzo
52a17066eb
[mod_sofia] Quiet down error when registration credentials are missing
2020-05-07 02:42:01 +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
Chris Rienzo
9c3f9a9a50
[core] Add SMBF_FIRST flag which forces media bug to front of the list. Add 'f' flag to switch_ivr_displace_session to add displace as first operation on the media stream. ( #76 )
2019-12-31 03:14:31 +04: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
Chris Rienzo
1442186cee
[core] Update switch_ivr_bridge_bleg to skip audio bridge during transfer
2019-10-30 21:08:03 +04:00
Chris Rienzo
9d4f480335
[mod_sofia] Fix some incorrect word contractions.
2019-10-10 09:41:53 -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
Christopher Rienzo
468e2e06d1
Merge pull request #1810 in FS/freeswitch from bugfix/FS-12039-core-fix-memory-leak-on-ssl-shutdown to master
...
* commit 'f00d285b5eef6c697ba8bc3ecfde82fc7c2dba65':
FS-12039: [Core] Fix memory leak on ssl shutdown.
2019-09-06 08:54:54 -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
Christopher Rienzo
a4c5802372
Merge pull request #1791 in FS/freeswitch from bugfix/FS-11991-mod_mariadb-err-when-start-freeswitch to master
...
* commit '9520f8e1115dee31c0221967191079a3b01d02c6':
FS-11991: [Core] Fix bug in the database module interface preventing tables from being created when no drop_sql
2019-08-10 11:43:48 -05:00
Christopher Rienzo
e5b4776218
Merge pull request #1786 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11982 to master
...
* commit '88448ebfba4e8e027d86c66ae0c1872b4babc7c8':
FS-11982 [mod_kazoo] add expand-headers-on-fetch
2019-08-05 10:44:20 -05:00
Christopher Rienzo
54d957f12d
Merge pull request #1784 in FS/freeswitch from ~INFOMIND/freeswitch:feature/FS-11977-mod_signalwire-add-configuration-param-override-context to master
...
* commit '263a83bf7c54481a1da2f09ae27cd5ea3368db68':
FS-11977 [mod_signalwire] add configuration param override-context
2019-08-04 08:30:27 -05:00
Chris Rienzo
c55b989220
FS-11979 [test] Fix error message log in fst_xcheck()
2019-08-02 11:47:03 -04: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
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
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
Chris Rienzo
aa6844ae00
FS-11931 [mod_http_cache] Fix leaks in tests
2019-07-23 00:44:53 +04:00
Chris Rienzo
a33877aace
FS-11931 [mod_http_cache] convert tests to use switch_test
2019-07-23 00:44:33 +04:00
Chris Rienzo
4b337f1117
FS-11878 [core] change log level of dialplan EXECUTE
2019-07-18 00:58:57 +04:00
Chris Rienzo
d61a20ce6a
FS-11867 [sofia] Send siptrace logs in a single log callback.
2019-07-18 00:24:30 +04:00
Chris Rienzo
3588cd5c51
FS-11858 [mod_hiredis] forgot to clear argc when recycling pipelined requests
2019-07-18 00:10:55 +04:00
Chris Rienzo
e73f319aec
FS-11858 [mod_hiredis] allow using single-quote when setting key to a value that has spaces
2019-07-18 00:10:47 +04:00
Chris Rienzo
fb695c528e
FS-11893 [core] add switch_dial_handle_create_json() and switch_dial_handle_serialize_json() for dial handle/json conversions
2019-07-18 00:09:20 +04:00
Chris Rienzo
6c1948e370
FS-11870 [core] fix divide by zero in previous commit
2019-07-18 00:08:02 +04:00
Chris Rienzo
b06c7b0831
FS-11870 [core, mod_graylog2, mod_console] Added switch_log_node_to_json() and updated mod_graylog2 to use it. This is a unified log node to JSON conversion.
...
Added json log mode in mod_console
2019-07-18 00:07:54 +04:00
Chris Rienzo
ab7c9f6f2e
FS-11820 [core] check read_frame_callback in switch_ivr_sleep()
2019-07-17 23:30:41 +04:00
Chris Rienzo
295982dafa
FS-11810 [mod_httapi] fix compile error
2019-07-17 23:28:51 +04:00
Chris Rienzo
ddc7bda736
FS-11810 [mod_httapi] improve error message for when downloading a URL fails
2019-07-17 23:28:41 +04:00
Chris Rienzo
613a3340da
FS-11805 [mod_sofia] set default session timeout for outbound calls before overriding it with NAT detection.
2019-07-17 23:11:03 +04:00
Chris Rienzo
12ce8dd34b
FS-11818 [core] fix memory leak when using dial handle in switch_ivr_originate()
2019-07-17 23:04:02 +04:00
Chris Rienzo
6f2466eb35
FS-11801 [core] Update scheduler to allow destruction of running task
2019-07-17 23:02:47 +04:00
Chris Rienzo
8aa07b677d
FS-11807 [mod_commands] uuid_recv_dtmf changed to report OK when well formed request is consumed by dmachine or dtmf hook
2019-07-17 23:00:44 +04:00
Chris Rienzo
bd96911f4f
FS-11816 [Build-System] srtp build issue
2019-07-17 22:08:51 +04:00
Chris Rienzo
4730e70b1a
FS-11816 [Build-System] ignore libsrtp generated files
2019-07-17 22:07:33 +04:00
Chris Rienzo
239bf913f4
FS-11785 [core] fix scan-build issues
2019-07-17 21:51:06 +04:00
Chris Rienzo
bc6fe22a0b
FS-11785 [mod_tone_stream] fix dead assignment
2019-07-17 21:50:56 +04:00
Chris Rienzo
f612fab976
FS-11785 [mod_local_stream] fix dead assignment
2019-07-17 21:50:50 +04:00
Chris Rienzo
7d0523f084
FS-11785 [mod_format_cdr, mod_local_stream] fix dead assignment
2019-07-17 21:50:43 +04:00
Chris Rienzo
91d07accee
FS-11785 [mod_event_socket] fix dead assignment
2019-07-17 21:50:36 +04:00
Chris Rienzo
7ab7e8bee8
FS-11785 [mod_httapi] Fix dead assignment and null pointer false positive
2019-07-17 21:50:29 +04:00
Chris Rienzo
1a90bc20a9
FS-11785 [mod_voicemail] fix a couple other places- unused code
2019-07-17 21:50:14 +04:00
Chris Rienzo
17b88eb688
FS-11785 [mod_opus] move fec_bitrate scope to a better place
2019-07-17 21:50:07 +04:00
Chris Rienzo
681b7e28ab
FS-11785 [mod_sofia] fix scan-build issues
2019-07-17 21:49:50 +04:00
Chris Rienzo
0bd5b557e5
FS-11785 [mod_rtc] fix dead assignment
2019-07-17 21:49:41 +04:00
Chris Rienzo
1f05e5e8be
FS-11785 [mod_opus] fix null dereference and dead assignments
2019-07-17 21:49:35 +04:00
Chris Rienzo
ddfa208177
FS-11785 [mod_voicemail] removed dead assignments and dead code
2019-07-17 21:49:29 +04:00
Chris Rienzo
8ac4ddd5bb
FS-11785 [mod_spandsp] fix dead assignments
2019-07-17 21:49:23 +04:00
Chris Rienzo
517985473a
FS-11785 [mod_expr] fix scan-build false positives
2019-07-17 21:49:12 +04:00
Chris Rienzo
67578abc79
FS-11785 [mod_lua] reswig with patches for scan-build
2019-07-17 21:46:59 +04:00
Chris Rienzo
ffd3778dff
FS-11785 [mod_lua] we want diffs of mod_lua_wrap.cpp
2019-07-17 20:22:59 +04:00
Chris Rienzo
0171a64a76
FS-11785 [mod_dptools] fix dead assignment and potential dereference of null pointer
2019-07-17 20:22:45 +04:00
Chris Rienzo
19b09689c8
FS-11785 [mod_conference] Fix dead assignments. Removed auto-record-canvas-id param which never did anything.
2019-07-17 20:22:37 +04:00
Chris Rienzo
464490ead5
FS-11785 [mod_conference] fix memory leak on realloc failure
...
fix dead assignments in conference_cdr
2019-07-17 20:22:27 +04:00
Chris Rienzo
c6990e7a74
FS-11785 [mod_conference] fix scan-build NULL dereferences
2019-07-17 20:22:20 +04:00
Chris Rienzo
ca8fa0e1ff
FS-11785 [esl] dead assignments in esl_event_serialize
...
null attribute in esl_buffer_read
null attribute in esl_event_base_add_header
null attribute in esl_recv_event
2019-07-17 20:22:11 +04:00
Chris Rienzo
c776680c56
FS-11785 [core, mod_commands] update XML API to fix scan-build false positive memory leaks
2019-07-17 20:21:57 +04:00
Chris Rienzo
3f46ce1da2
FS-11785 [mod_commands] tell scan-build that exten pointer is guaranteed not to be NULL
2019-07-17 20:21:46 +04:00
Chris Rienzo
d77034a304
FS-11785 [mod_commands] fix dead assignments
2019-07-17 20:21:39 +04:00
Chris Rienzo
7e1df77421
FS-11785 [mod_commands] scan-build thinks NULL parameter is being passed to function. Shouldn't actually happen.
2019-07-17 20:21:19 +04:00
Chris Rienzo
12316c8d46
FS-11785 [mod_av] fix dead assignments in test code
2019-07-17 20:21:11 +04:00
Chris Rienzo
2a8e07d6ef
FS-11785 [mod_av] fix a couple dead assignments and inconsistent assumption that mm pointer could be NULL
2019-07-17 20:20:52 +04:00
Chris Rienzo
581ec1287d
FS-11785 [mod_av] remove dead assignment to fps in open_encoder
2019-07-17 20:20:39 +04:00
Chris Rienzo
e09e84b088
FS-11784 [mod_sofia] quiet the codec negotiation error log. It's something that is not necessarily a FS issue.
2019-07-17 20:14:33 +04:00
Chris Rienzo
c796723dd7
FS-11728 [core] add switch_ivr_play_and_collect_input(). This function plays a prompt while looking for DTMF or speech and returns whatever was heard.
2019-07-17 19:58:45 +04:00
Chris Rienzo
892f0a289f
FS-11516 [build-system] Add --enable-pool-sanitizer configure flag. This will make it easier to find memory issues when using address sanitizer. Also added -fstack-protector-strong when using --enable-address-sanitizer.
2019-07-16 23:17:47 +04:00
Chris Rienzo
8534a4b86a
FS-11443 [core] reworked switch_vad.c and added voice_ms and silence_ms as parameters.
2019-07-16 20:20:10 +04:00
Chris Rienzo
8a8253a459
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_fct.h
2019-07-16 01:33:06 +04:00
Chris Rienzo
185fe09912
FS-11903: Fix errors (again) reported by PVS-Studio Static Code Analyzer for switch_apr.c
2019-07-16 01:32:55 +04:00
Chris Rienzo
3c11fa9657
FS-11781 [test] try again with the test fix- need to have pool allocated sooner
2019-07-09 19:27:47 +04:00
Chris Rienzo
d4f1af83e8
FS-11781 [test] Fix memory leak in test
2019-07-09 19:27:39 +04:00
Chris Rienzo
9e57da8dfb
FS-11781 [test] shut down FS core when test finishes
2019-07-09 19:27:32 +04:00
Chris Rienzo
2dcf963318
FS-11781 [test] separate basedirs for tests to allow parallel build
2019-07-09 19:27:22 +04:00
Chris Rienzo
a4ab865f65
FS-11781 [test] log reason for core load failure
2019-07-09 19:27:12 +04:00
Chris Rienzo
bc02888e51
FS-11781 [test] Add more string checks
2019-07-09 19:27:04 +04:00
Chris Rienzo
74eb2feec7
FS-11781 increase test buffer size from 256 to 2048 to prevent test log truncation.
2019-07-09 19:26:54 +04:00
Chris Rienzo
824356cc94
FS-11725 [core,test] Fix switch_core to allow MINIMAL core to load without freeswitch.xml. Fix test framework to exit if FreeSWITCH core fails to load.
2019-07-09 19:25:06 +04:00
Chris Rienzo
e47879604c
FS-11824 [mod_sofia] map SIP 607 to SWITCH_CAUSE_CALL_REJECTED
2019-06-06 11:52:07 -04:00
Chris Rienzo
641300893f
FS-11824 [core] add NOT_ACCEPTABLE string to cause mapping
2019-06-06 11:52:01 -04:00
Chris Rienzo
0a6d87edfe
FS-11824 [sofia-sip,mod_sofia,core] Added cause codes that map to SIP 600,603,604,606,607
2019-06-06 11:51:51 -04:00
Chris Rienzo
1bd9fd1a86
FS-11785 [sofia] fix dead assignment in parse_payload
2019-06-06 11:25:26 -04:00
Chris Rienzo
8925519e02
FS-11785 [libteletone] Fix dead assignment in teletone_dtmf_detect
2019-06-06 11:25:19 -04:00
Chris Rienzo
7187e8ecd2
FS-11785 [libteletone] Fix unlikely divide by zero in teletone_mux_tones
2019-06-06 11:25:13 -04:00
Chris Rienzo
2d231cdff3
FS-11823 [core] clear out event queue when destroying session
2019-06-06 11:20:16 -04:00
Christopher Rienzo
9c131f2755
Merge pull request #1725 in FS/freeswitch from ~NOAHMEHL_REPER.IO/freeswitch:master to master
...
* commit '15c4647c8cf193f2188d1e3548a13a0ad720e710':
FS-11796: [mod_http_cache] Fixed file seek in mod_http_cache.c
2019-05-14 10:50:10 -05:00
Christopher Rienzo
8b1d92a88d
Merge pull request #1724 in FS/freeswitch from FS-11839-update-libks-to-1.3.0-and-signalwire-client-c-to-1.2.0-on-windows to master
...
* commit '2bec2352d77622dcac389a0aa4f3cedcf3e985d1':
FS-11839: Update libks to 1.3.0 and signalwire-client-c to 1.2.0 on Windows
2019-05-13 08:17:25 -05:00
Chris Rienzo
049edaa84d
FS-11731 [mod_rayo] fix compile error
2019-03-27 10:29:03 -06:00
Chris Rienzo
c40af77327
FS-11706 [core] use unique mutex for stack_count
2019-03-19 23:14:47 -04:00
Chris Rienzo
d86c715694
FS-11706 [core] protect session stack count with mutex
2019-03-19 12:12:38 -04:00
Chris Rienzo
1a5ce0ebeb
FS-11706 [core] add some extra information to troubleshoot 'too many stacked extensions'
2019-03-19 12:12:26 -04:00