Commit Graph
100 Commits
Author SHA1 Message Date
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
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