100 Commits
Author SHA1 Message Date
Chris Rienzo d4291b8113 Create SECURITY.md 2023-02-17 15:24:03 -05:00
Chris Rienzo 85d25e269b [core] use fspr prefixed symbols instead of apr 2022-08-29 20:17:10 +03:00
Chris Rienzo 5c2726f413 [core] rename lib apr symbols to fspr 2022-08-29 20:17:08 +03:00
Chris Rienzo 3c7e8ff989 [core] remove unimrcp from tree 2022-08-29 20:17:06 +03:00
Chris Rienzo 01c1e74f36 [core] remove libdingaling from tree 2022-08-29 20:17:04 +03:00
Chris Rienzo 9468ff746a [core] remove apr-util from tree 2022-08-29 20:17:02 +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
Chris Rienzo c4bc0bfbb4 [mod_avmd] fix formatting to match coding standards 2021-11-06 00:11:32 +00: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
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
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
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
Chris Rienzo 7bfc9a514f [build] remove generated libs/srtp/config_in.h file and add some git ignores 2021-10-23 22:00:56 +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
Chris Rienzo 326edd6b6c [mod_ssml] replace strncpy() with snprintf() to fix errors reported by newer compilers. 2021-10-23 22:00:47 +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
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
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
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
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
Chris Rienzo d1d777df6c [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 21:59:56 +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
Chris Rienzo 7770359e8a [mod_av] Don't require .ext for streaming rtmp:// and rtsp:// formats 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
Chris Rienzo 205bf55c8f [mod_spandsp] Use single log for fax negotiation and page reports. 2021-10-23 21:59:50 +03:00
Chris Rienzo 6827c66373 [mod_verto] Handle short read from websocket. This fixes an interop problem with iOS 15. 2021-09-14 21:24:42 +03:00
Chris Rienzo 311e932df5 [core, mod_commands] Execute command under shell when using spawn in switch_system(). 2021-07-16 17:34:53 +03:00
Chris Rienzo 5a9eabca8e [core] Fix read of uninitialized buffer in switch_simple_email(). 2021-05-16 23:12:54 +00:00
Chris RienzoandAndrey Volk deecaae870 STIR/SHAKEN (#1160)
* [core] Add SWITCH_CAUSEs for STIR/SHAKEN.
[mod_sofia] Add sofia_verify_identity dialplan APP as a STIR/SHAKEN verification service.  Set sip_hangup_on_verify_identity_fail=true to end calls that fail verification, otherwise check sip_verstat and sip_verstat_detailed channel variables for verification result.

* [mod_sofia] Fix stir shaken implementation issues on fail.

* fix build

* Fix given comments

* stir_shaken_passport_get_grant return does not require to be freed.

* reworked things

* [core] add switch_rfc822_datetime_to_epoch()

* [mod_sofia] fix test return code

* [mod_sofia] Add Date header when signing Identity

* [mod_sofia] Check Date - WIP doesn't work

* [mod_sofia] STIR/SHAKEN check SIP Date header

* Try to give time for sofia to clean up calls

Co-authored-by: Andrey Volk <andywolk@gmail.com>
2021-04-27 13:54:32 -06:00
Chris Rienzo e3a6ec86f8 [core] Update switch_ivr_enterprise_originate() to accept optional switch_dial_handle_list_t instead of dialstring. 2021-03-23 20:23:28 +03:00
Chris Rienzo c63f9524ee [core] Remove unused buffers and mutexes in switch_core_session. Remove destruction of resamplers that will already be destroyed by switch_core_session_reset(). 2021-03-22 18:46:03 +03:00
Chris Rienzo 9e49a4176b [test] Fix fst_session_park() to wait for CF_PARK instead of CS_PARK. CF_PARK will be set when the channel has actually parked. 2021-03-17 19:46:18 +03:00
Chris Rienzo 7d0909d4a9 Merge pull request #509 from talmakion/dev-xmlcurl-cfg
[mod_xml_curl] Allow XML_CURL_MAX_BYTES to be configured at runtime
2021-02-13 13:01:20 -05:00
Chris Rienzo 6a19627dcd Merge pull request #684 from dragos-oancea/amrwb-oa-cfg
[mod_amrwb] add cfg setting to switch between OA/BE when originating
2021-02-13 12:54:53 -05:00
Chris Rienzo 780e34b7ad Merge pull request #939 from netaudio/master
fix issue #935 prosody-rate paramter can not be set negative integer …
2021-02-13 12:45:52 -05:00
Chris Rienzo 69c1de9deb Merge pull request #976 from dragos-oancea/amrwb-log-session
[mod_amrwb] show the session in debug logs.
2021-02-13 12:06:49 -05:00
Chris Rienzo 806c0583d5 Merge pull request #995 from seven1240/final-chat
[mod_sms] add final chat function
2021-02-13 11:40:18 -05:00
Chris Rienzo f45bb80955 Merge pull request #1030 from signalwire/osx-fixes
osx build fixes
2021-02-13 11:39:32 -05:00
Chris Rienzo 376518c9ec Merge pull request #1073 from italorossi/master
[core] Exclude RFC-6598 CGNAT private space from wan.auto acl
2021-02-13 11:35:12 -05:00
Chris Rienzo caca7a66d6 [core] fix documentation error for switch_core_media_bug_read() 2021-01-15 14:27:33 +00:00
Chris Rienzo 243421c8fe [mod_http_cache] Set binary mode when downloading files in Windows 2020-12-17 09:46:13 -05:00
Chris RienzoandMiguel Gonzalez 0f7ba14333 [mod_http_cache] Crash on HTTP GET with generated AWS v4 signature
Co-authored-by: Miguel Gonzalez <maggonzz@gmail.com>
2020-11-09 23:08:05 +04:00
Chris Rienzo fbd242b7ed [verto-client] move verto client to github.com/freeswitch/verto-client 2020-08-13 11:00:21 -04:00
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 Rienzoandbaonq-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