Commit Graph

35085 Commits

Author SHA1 Message Date
Grzegorz Siehień f046bc0628
[mod_rayo] mod_rayo returns error exec_conference_api
fixes  #704 - mod_rayo returns error on exec_conference_api
2021-08-02 14:55:29 +02:00
Andrey Volk d251a8ccee swigall 2021-07-31 00:49:18 +00:00
dhruvecosmob 432bfc0c45 [mod_sofia] Deprecate the auth-messages profile param by setting it to be enabled by default and introducing the new disable-auth-messages param with a higher priority when set. 2021-07-27 22:25:13 +03:00
Andrey Volk 9376db0aae [Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP. 2021-07-26 10:05:09 +03:00
Andrey Volk 5c6fd51c11
Merge pull request #1246 from xiaobaozidi/master
[mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check
2021-07-24 22:39:16 +03:00
xiaobaozidi bd87b8892c [mod_sofia] Fixed a few Usage-of-uninitialized value bugs which may cause information discolsure and bypass ACL check 2021-07-24 21:04:50 +03:00
Andrey Volk 99c6d587e7
Merge pull request #1253 from MarioG-X/libvpx/macos-release-independence
[libvpx] configure: macos release independence for sse
2021-07-24 20:54:55 +03:00
Mario G 73571bf9c6 [libvpx] configure: macos release independence for sse 2021-07-24 19:44:39 +03:00
tomeeo dd1e0c1605
[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3 2021-07-24 00:04:59 +03:00
Andrey Volk 08c2bf94a7
Merge pull request #1208 from signalwire/sofiadrone
[Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports.
2021-07-23 21:51:14 +03:00
Andrey Volk f631ac800c [Unit-tests] Build sofia-sip on the fly on Drone CI so backtraces are more informative in ASAN reports. 2021-07-23 17:11:19 +03:00
Andrey Volk 4c04914003
Merge pull request #1274 from signalwire/signalwiregatewaydown
[mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG.
2021-07-20 21:10:05 +03:00
Andrey Volk 1311a84ee2 [mod_signalwire] When SignalWire SIP Gateway is in unregistered state it's DOWN and can not be NOREG. 2021-07-20 20:41:08 +03:00
nrensen ba8aff571e
[mod_commands] OpenBSD compat 2021-07-19 18:57:13 +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
Andrey Volk 9aee9b8e24 [Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests. 2021-07-16 17:34:42 +03:00
Andrey Volk f1dd4390c8
Merge pull request #1267 from signalwire/dronesignature
[Testing] Update Drone CI signature.
2021-07-14 19:32:42 +03:00
Andrey Volk a4d09d2635 [Testing] Update Drone CI signature. 2021-07-14 19:06:19 +03:00
Andrey Volk f6f3f38d25 [Core] Fix bridge_early_media 2021-07-09 17:53:30 +03:00
Andrey Volk 33040f2a43
Merge pull request #1243 from signalwire/vs2022
[FreeSwitchConsole] Fix build with Visual Studio 2022
2021-06-25 01:07:52 +03:00
Andrey Volk f275f416b3 [FreeSwitchConsole] Fix build with Visual Studio 2022 2021-06-25 00:26:51 +03:00
Andrey Volk 65d0665a95 [mod_sofia] Calling direct _unref() functions in sofia_event_callback() is unsafe. 2021-06-17 03:17:13 +03:00
Andrey Volk 9b91e82fa8 Bump sofia-sip library requirement to version 1.13.4 2021-06-16 00:30:44 +03:00
Andrey Volk 81fff857c5 [mod_sofia] sofia_process_dispatch_event() should unref all handles via sofia stack 2021-06-14 19:46:28 +03:00
Andrey Volk c985c90cbb
Merge pull request #1213 from signalwire/nsig
[apr] error: use of undeclared identifier 'NSIG'
2021-06-09 22:25:53 +03:00
Andrey Volk 189f6f8db2 [apr] error: use of undeclared identifier 'NSIG' 2021-06-03 01:19:39 +03:00
Andrey Volk 7f86d25c6c
Merge pull request #1199 from signalwire/fix-compile-error
[core] Fix read of uninitialized buffer in switch_simple_email().
2021-05-17 16:54:06 +03:00
Chris Rienzo 5a9eabca8e [core] Fix read of uninitialized buffer in switch_simple_email(). 2021-05-16 23:12:54 +00:00
Dragos Oancea a562db760c
[mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
* [mod_opus] add cfg setting to overwrite the fmtp stereo param coming from remote. Eg: incoming SDP has stereo=1 but we want a mono call so we answer with stereo=0.
sprop-stereo will be set to 0 too.

* [core] opus: use switch_core_max_audio_channels() with remote fmtp stereo=1 to allow disabling of stereo.
2021-05-14 18:36:30 +03:00
Andrey Volk 53a52e1571
Merge pull request #1190 from dragos-oancea/amrwb-cfg-mode-set
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
2021-05-14 18:34:17 +03:00
Andrey Volk 4d47a0988b
Merge pull request #1192 from signalwire/curl_cert
[mod_curl] look for cacert in certs dir
2021-05-11 01:54:24 +03:00
Anthony Minessale 21c113ba2c [mod_curl] look for cacert in certs dir 2021-05-11 01:23:20 +03:00
Aron Podrigal 954056c009
[mod_curl] Added PATCH method, add insecure and secure options to verify SSL certs, add proxy option.
* mod_curl: hanlde PATCH method

* mod_curl: verify ssl with an option `insecure` to not verify

* mod_curl: added option to use proxy

* mod_curl: use assert(options)

* [mod_curl] default certificate validation secure/insecure controlled by `validate-certs` config option.

* [mod_curl] Added option secure to force https certs validation
2021-05-10 22:32:48 +03:00
Andrey Volk 2243d34d94
Merge pull request #1178 from azzbcc/mod_sofia_nat_mapping
[mod_sofia] release nat mapping when nua create failed
2021-05-10 22:29:46 +03:00
Andrey Volk e53f782456
Merge pull request #1099 from dragos-oancea/mod_tts_commandline_fix_system
[mod_tts_commandline] check return of switch_system() against 127 too
2021-05-07 19:03:37 +03:00
Dragos Oancea 2915d3aba8 [mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs. 2021-05-07 14:29:33 +00:00
sergey-safarov fc054360b7
[Build-System] Rename package format-mod-opusfile to format-opusfile on CentOS 2021-05-06 20:51:54 +03:00
Clarence 583443e384 [mod_sofia] release nat mapping when nua create failed 2021-04-28 20:10:35 +08:00
Chris Rienzo 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
sergey-safarov b7316ba557
[Build-System] Use a fresher gcc on RHEL based dists 2021-04-26 17:46:26 +03:00
Norm Brandinger 0877bd5770
[Core] switch_rtp: fix switch_rtp_set_max_missed_packets logging
Warning message about missed packets is misleading.
Message indicates greater (>) however, the conditional is greater than or equals (>=).
The message prints the value of rtp_sesstion->missed_count twice instead of printing the value of rtp_session->max_missed_packets.
2021-04-16 17:24:51 +03:00
Dragos Oancea 7fc5d9a7c3 [core] RTP: handle flush for incoming stream with DTX or packet loss. 2021-04-15 16:37:08 +03:00
Dragos Oancea 73569bb1f7 [mod_sofia] rfc8760: reorder hash algorithms by priority (strength), no matter the order provided in the cfg 2021-04-13 20:24:17 +03:00
Andrey Volk e6b6aea6ff [mod_sofia] Add basic INVITE test 2021-04-13 04:21:42 +00:00
Dragos Oancea 833235b941 [mod_sofia] Add RFC8760 (sha-256, sha-512)
enable on the sip profile, eg:
<param name="rfc8760-auth-algorithms" value="sha-256,md5"/>
2021-04-12 09:57:56 -04:00
Andrey Volk fd27504a7d [Core] Add switch_digest(), switch_digest_string() APIs. Add unit-tests. 2021-04-12 01:03:15 +03:00
figaro2015 ec1a0215fe
[Core, mod_conference] Fixed oscillation in conference AGC processing. Especially during volume reduction processing (#1064)
* Fixed oscillation in conference AGC processing. Especially during volume reduction processing

* Re-scaled granular volume to +/- 50 dB level change. 10 = double loudness, -10 = half loudness, 0 = no change

Co-authored-by: Chris Rienzo <chris@signalwire.com>
2021-04-02 22:18:16 +03:00
Andrey Volk 67cec5c3e8 version bump 2021-03-25 18:52:56 +03:00
Andrey Volk e2cba43533
Merge pull request #126 from micmac1/gentlscert-md
[gentls_cert] Update message digest
2021-03-24 21:08:57 +03:00
Christian Glombek 513b0fbf00
[mod_avmd, esl/python] Two build fixups (#611) 2021-03-24 19:30:52 +03:00