Commit Graph

21482 Commits

Author SHA1 Message Date
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
Andrey Volk dfb9541b08 [mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3 2021-03-22 18:43:19 +03:00
Andrey Volk af272f5179 [mod_conference] Bridged conference did not wait it's last member before destroy and crashed. 2021-03-19 23:31:46 +03:00
Andrey Volk 40fb80b019
Merge pull request #905 from traud/patch-4
[core] Allow other (D)TLS Curves/Groups beside P-256
2021-03-19 01:21:23 +03:00
Aron Podrigal fddc6adf8d
[mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING. 2021-03-19 01:13:01 +03:00
Alexander Traud 48c4db71c2 [core] Allow other (D)TLS Curves/Groups beside P-256
Five years ago, commit 8e1b2ea enabled ECDHE for the DTLS server by hard-coding P-256. Released before that, OpenSSL 1.0.2, allows auto selection of the curve (P-256, P-384, and P-512). OpenSSL 1.1.x has this enabled on default, which adds groups/curves like X25519 and X448 automatically. This change here allows DTLS clients with a demand for Security Level 4 (192 bit) and 5 (256 bit) connecting to the DTLS server.
2021-03-19 01:00:56 +03:00
Andrey Volk 0059f0cc1b [mod_sofia] Gateways DOWN state introduced a regression: REG gateways in DOWN state could not be killed. NOREG gateways could change state in some conditions. Register and Unregister commands will now error if a gateway is NOREG. 2021-03-18 03:07:49 +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
Andrey Volk 8e2234a205 [Core] Fix race between switch_ivr_park_session() and the state machine. switch_core_session_run() wants to clear the CF_TRANSFER flag on state change while parking sets the flag. 2021-03-17 19:45:08 +03:00
Andrey Volk 2ca0d02531 [Core] Fix leaking codec, timer and abuf in switch_ivr_play_file() in the case of failing switch_ivr_phrase_macro() or switch_ivr_speak_text() 2021-03-17 19:43:14 +03:00
Andrey Volk e6e227d1f4 [Core] Fix leaking stream in switch_channel_expand_variables_check() 2021-03-17 19:39:17 +03:00
Andrey Volk 3134c9aa57 [mod_callcenter] Fix use of uninitialized res variable in cc_agent_update() 2021-03-17 19:38:10 +03:00
Andrey Volk f348ab9d38 [mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite() 2021-03-17 19:37:06 +03:00
Andrey Volk cfdd1d9be8 [mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic. 2021-03-17 19:35:37 +03:00
Andrey Volk 4aa1c1736f [mod_sofia] scan-build in sofia_glue_do_invite(): Null pointer passed as an argument to a 'nonnull' parameter 2021-03-17 19:34:12 +03:00
Andrey Volk 97930570dc [Core] Fix possible memory leak of switch_core_session_message_t in switch_core_session_queue_indication() 2021-03-17 19:30:39 +03:00
Andrey Volk d127eeeecc [mod_snom, mod_snmp] Replace strncpy with snprintf 2021-03-17 19:25:46 +03:00
Andrey Volk 2a8804af97 [Core] Fix leak of switch_event_header_t in switch_event_base_add_header(). Code cleanup. 2021-03-17 19:23:30 +03:00
Andrey Volk 91066f56fa [Core] Fix leaking stream in switch_event_expand_headers_check() 2021-03-17 19:21:49 +03:00
Andrey Volk be6b40b024 [mod_lcr] Fix order_by and sql_stream streams leaking in the case of a DB error in lcr_load_config() 2021-03-17 19:20:41 +03:00
Andrey Volk c282386fdb [mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed() 2021-03-17 19:19:39 +03:00
Andrey Volk e614f08c93 [mod_httapi] Fix memory leak of dup_creds in httapi_sync() 2021-03-17 19:18:33 +03:00
Andrey Volk 3e7ba04cbe [mod_curl] Avoid passing null pointer value via data parameter of do_lookup_url() 2021-03-17 18:55:40 +03:00
Andrey Volk c8e7a57b4c [Unit-Tests] Fix leak of arg in the case of an error in fct_clp__parse() 2021-03-17 18:54:36 +03:00
Andrey Volk 29b5043904 [mod_shout] Fix memory leak in do_telecast 2021-03-17 18:49:14 +03:00
Andrey Volk 82b6f01b69 [Core] Fix codec ready checks in switch_core_session_read_frame() 2021-03-17 18:46:23 +03:00
Andrey Volk f6e076507e [mod_loopback] Fix new_session leak in the case of a hangup_cause. 2021-03-17 18:34:21 +03:00
Andrey Volk e3e0c7c259 [mod_sofia] Protect insertion into profile->reg_nh_hash with a mutex. 2021-03-17 18:33:12 +03:00
Andrey Volk b78c9a115e [mod_sofia] Properly handle nua events came without nua handles. 2021-03-17 18:31:42 +03:00
Andrey Volk 90c35685c3 [mod_mongo, mod_redis, mod_voicemail] Fix leaking hash iterators. 2021-03-17 18:29:20 +03:00
Andrey Volk 9608a56873 [Core] Fix leaks in switch_ivr_park when initially no rate. 2021-03-17 18:27:00 +03:00
Mike Jerris 81aa6fa9d0 [Core] ODBC: Fix large column logic and improve error handling. 2021-03-17 18:25:57 +03:00
Mike Jerris 7539921eca [core] improve logging on oversized fields in odbc 2021-03-17 18:24:40 +03:00
Andrey Volk 96e139854e [mod_sofia] Prevent crash in sofia_handle_sip_i_state on switch_channel_set_state() when PFLAG_3PCC_PROXY flag is set. 2021-03-17 18:21:49 +03:00
Andrey Volk a746d12f6c [mod_sofia] Keep noreg gateways as NOREG, mark unregistered gateways as DOWN.
Co-authored-by: Mike Jerris <mike@signalwire.com>
2021-03-17 18:20:32 +03:00
Andrey Volk 5ed17dd19c [Core] Scheduler: Fix race between switch_scheduler_add_task() and task_thread_loop(). Add new switch_scheduler_add_task_ex() method. 2021-03-17 01:01:01 +03:00
Andrey Volk 3065cb9168 [mod_sofia] Fix memory leaks caused by improper profile destroy. Add a unit-test. 2021-03-17 00:58:29 +03:00
Andrey Volk dcb75a79e3 [mod_sofia] Fix multiple memory leaks in sofia_presence_handle_sip_i_subscribe() 2021-03-17 00:56:19 +03:00
Mike Jerris 8e4b418ee4 [core] fix leak in http request parser 2021-03-17 00:55:08 +03:00
Andrey Volk 22ae5a1ba1 [Core] Fix memory leak of local_var_event in switch_ivr_originate() when caller_channel is not ready. 2021-03-17 00:53:55 +03:00
surendrasignalwire dbc894d959 [Core] Reuse caller profile 2021-03-17 00:52:36 +03:00
Dragos Oancea 5aabb54f68 [core] eavesdrop: init L16 codec at right ptime in certain conditions.
[core] eavesdrop: avoid eavesdropping on itself and return error.

[core] eavesdrop: adjust buffer operations for ptime mismatch and for when ptimes are the same.

[core] eavesdrop: add buffering based on LCM (Least Common Multiple) when ptime mismatch,
and have audio write thread enabled when ptime eavesdropee < ptime eavesdropper.

[unit-tests] add unit-tests for eavesdrop.
2021-03-17 00:47:27 +03:00
Dragos Oancea 3509ae537e [core] native tap fix (pass the copy of the frame to switch_core_session_write_frame() so it does not get encoded) 2021-03-17 00:29:17 +03:00
surendrasignalwire 7b8a36c2a9 [mod_sofia] Fix recovery reinvite issue 2021-03-17 00:16:32 +03:00
Andrey Volk 1fee1fc6ad [Core] Fix SDP parsing causing segfault. 2021-03-17 00:14:48 +03:00
Andrey Volk 785d92a5f5 [mod_pgsql] Prevent a stall of PQconsumeInput(). 2021-03-16 23:22:11 +03:00
Andrey Volk 4fe8aecbfb [Core] Make switch_core_media_set_codec() and switch_core_media_set_video_codec() thread-safe so there is no race when a session's codec is initiated by different threads simultaneously. 2021-03-16 23:15:54 +03:00
Andrey Volk f09ed875b9 [Core] Fix buffer race in switch_ivr_eavesdrop_session() 2021-03-16 23:14:49 +03:00
surendrasignalwire b220a05010 [Core] Fixed issue while setting mode on reinvite or outbound direction 2021-03-16 23:13:49 +03:00
Andrey Volk 167ab11006 [mod_sofia] Fix potential leak of uuid in sofia_event_callback(). 2021-03-16 22:50:02 +03:00
Andrey Volk 23321373ed [Core] Fix double close of a socket in switch_rtp 2021-03-16 22:15:33 +03:00
surendrasignalwire cffc29927b [Core] Fix crash while writing text_frame in conference 2021-03-16 22:12:33 +03:00
Andrey Volk 034a7eea5e [mod_pgsql] Fix potential hang when calling PQconsumeInput() while checking if db_is_up(). 2021-03-16 20:49:22 +03:00
Seven Du b5459fb5f5 [mod_av] remove extra space 2021-03-16 20:44:31 +03:00
surendrasignalwire 7e2c9393dc [core] Fix ODBC column size performance issue 2021-03-16 20:41:32 +03:00
Andrey Volk 2dfda2f409 [Core] Fix reference counter lock order when protect/unprotect interface. 2021-03-16 20:34:47 +03:00
Andrey Volk a931220af6 [Core] Fix wrong switch_assert expressions in switch_core_session_write_frame() 2021-03-16 20:33:18 +03:00
Andrey Volk 09d4ec6433 [Core] Fix multiple missing session unlocks in switch_core_media.c 2021-03-16 20:30:39 +03:00
Seven Du bb6ec01d1e [mod_sofia] fix session log 2021-03-16 20:29:04 +03:00
Dragos Oancea b774c5e23f [core] eavesdrop: reduce lock contention, fix error condition + enable eavesdrop stereo 2021-03-16 20:26:56 +03:00
Seven Du 561a31d723 [mod_sndfile] fix read sndfiles with float data 2021-03-16 20:22:34 +03:00
Seven Du 9875e190aa [mod_av] enable resampler when sample rate mismatch (#153) 2021-03-16 20:21:10 +03:00
phonecomwire 3c5773719e [Core] Adding fix for switch_ivr_originate to not copy group_confirm variables to the channel 2021-03-16 20:19:39 +03:00
Seven Du 21a536e774 [mod_video_filter] Disable waiting video ready which blocks the channel 10 seconds in early media 2021-03-16 20:16:06 +03:00
surendrasignalwire 16ee826e2b [mod_sofia] Url encode the sip_to_user before using in 200 ok contact 2021-03-16 20:13:39 +03:00
surendrasignalwire e8fa2d37b2 [Core] execute_on_audio_change on codec change 2021-03-16 20:11:56 +03:00
Dragos Oancea b775c1f91a [mod_enum] fix mem leak - ldns_resolver_new() - vanilla cfg. 2021-03-16 14:46:39 +00:00
Andrey Volk 2c2f2f9606
Merge pull request #1103 from dragos-oancea/amr_sync_changes_from_amrwb
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs
2021-03-10 23:34:36 +03:00
Dragos Oancea 4734904d2d [mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs. 2021-03-10 15:49:10 +02:00
Andrey Volk a94adbf287
Merge pull request #1098 from dragos-oancea/amr_wb_frame_types_fix
[mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test.
2021-03-09 22:19:58 +03:00
Paul Mateer 5d80d53c97
[Core] Capture return value of 2nd call to LoadLibraryEx and add a third call to widen the search to the module in switch_dso_open(). 2021-03-08 14:28:27 +03:00
Dragos Oancea 9da3408d2d [mod_tts_commandline] check return of switch_system() against 127 too 2021-03-05 11:57:25 +02:00
Dragos Oancea 1d07634d7d [mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test. 2021-03-05 11:30:52 +02:00
Dragos Oancea 752e1c3386 [mod_amr] handle frame type NO_DATA and add unit test. 2021-03-03 19:51:24 +02:00
Stefan Weil 6609ce9510 Fix some typos (most found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-02-24 13:59:11 +01:00
s3rj1k 91f12b5920
[Unit-tests] Fix previously defined AM_* in tests. 2021-02-23 20:59:26 +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
Seven Du a6a5784871
[mod_callcenter] fix leak (#1050)
[mod_callcenter] Fix small leak in cc-instance-id configuration parameter.
2021-02-13 12:34:54 -05:00
voipke 7942cb9363 [mod_unimrcp] Allow prosody-rate to be negative 2021-02-13 17:16:15 +00: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
figaro2015 d27cd90155
Verification of the wss.pem certificate in mod_sofia application code. Display correct reason why sofia profile failed to create (#1067)
[mod_sofia] Verification of the wss.pem certificate in mod_sofia application code. Display correct reason why sofia profile failed to create.
2021-02-13 11:37:01 -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
Taner Mansur f5388e444c
[mod_http_cache] Generic HTTP API Authorization header support (#1048)
[mod_http_cache] Generic HTTP API Authorization header support
2021-02-13 11:32:43 -05:00
Ítalo Rossi 7078e0bfcf [core] Exclude RFC-6598 CGNAT private space from wan.auto acl 2021-02-11 15:53:08 -03:00
Dragos Oancea d2959010c1 [mod_amrwb] show the session in debug logs. 2021-02-05 14:38:32 +00:00
sunlin bc8e3da74c
[mod_python] Fix PyObject leaks in eval_some_python function 2021-02-05 13:36:45 +03:00
Andrey Volk 212c1ec8d5
Merge pull request #1034 from seven1240/add-call-id-to-log
[mod_sofia] add call-id to log line to link with session uuid
2021-02-05 13:27:53 +03:00
Seven Du 831a52319a [core] jira moved to github 2021-01-26 23:28:53 +08:00
Seven Du 9bb76b94dc [mod_sofia] add call-id to log line to link with session uuid 2021-01-19 11:09:19 +08:00
Andrey Volk 6188337600
Merge pull request #630 from swk/shaken-stir-identity-header
[mod_sofia] Add preliminary handing for SHAKEN/STIR via SIP Identity …
2021-01-15 17:48:28 +03:00
Chris Rienzo caca7a66d6 [core] fix documentation error for switch_core_media_bug_read() 2021-01-15 14:27:33 +00:00
Ken Rice 69e9e2ec14 [mod_sofia] Add preliminary handing for SHAKEN/STIR via SIP Identity Header 2021-01-15 16:44:58 +03:00
Mike Jerris 56478e0248 [core] fix build when undefined APR_INET6 2021-01-11 17:57:36 -07:00
Troy Denton ac5775b6e0
[mod_sofia] Remove 'precondition' from 'Supported:' w/ 100rel 2021-01-08 19:55:59 +03:00
willie zhang 62970aa998
[Core] fix asr resample out data len 2020-12-23 21:45:26 +04:00
mangshe0 fb0c46e5af [mod_av] fix record crash bug 2020-12-23 20:15:41 +04:00
Andrey Volk 940d82ef9b [Build-System] Fix build with MSBuild. 2020-12-23 00:11:37 +04:00
rucc 7a3a8c4b70
[FreeSwitchConsole] -version option enabled in windows + read git revision 2020-12-22 20:50:27 +04:00
Andrey Volk 7345c77f96
Merge pull request #985 from seven1240/mock-tts
[mod_test] add tts mock
2020-12-17 21:54:16 +04:00
Andrey Volk 6b020ef17a
Merge pull request #1000 from signalwire/http-cache-windows-binary
[mod_http_cache] Set binary mode when downloading files in Windows
2020-12-17 21:51:44 +04:00
Andrey Volk 3c783ee8fd
Merge pull request #994 from seven1240/debug-sendto
[core] debug socket sendto
2020-12-17 21:49:04 +04:00
Andrey Volk 3a6d1210d7
Merge pull request #996 from seven1240/event-merge
[core] add event::merge
2020-12-17 21:28:32 +04:00
Andrey Volk 9368ed0d1f
Merge pull request #997 from seven1240/answer-decode-debug-video
[mod_dptools] early video decode and debug
2020-12-17 21:26:45 +04:00
Andrey Volk 15e7733089
Merge pull request #1001 from seven1240/remove-duplicated-code
[mod_dptools] remove duplicated code
2020-12-17 21:23:45 +04:00
Andrey Volk 86cd31c5d9
Merge pull request #790 from sunlin7/fix-possible-memory-leak
[mod_say_*] fix possible memory-leak in say_ip()
2020-12-17 21:21:45 +04:00
Andrey Volk 913551315b [Core] switch_core_port_allocator: Replace getaddrinfo() (may get stuck) with switch_sockaddr_new() and fix IPv6. 2020-12-17 21:15:14 +04:00
Seven Du 25edcd6ccd [mod_dptools] remove duplicated code 2020-12-17 22:54:25 +08:00
Chris Rienzo 243421c8fe [mod_http_cache] Set binary mode when downloading files in Windows 2020-12-17 09:46:13 -05:00
Alexander Udovichenko 040416b8db
[mod_httpapi] Fix abs-file-cache-ttl typo 2020-12-17 15:52:24 +04:00
Norm Brandinger 7b841c048a
[mod_v8] Fix C++ compile warning 2020-12-17 00:48:03 +04:00
Andrey Volk 39fc5d4123
Merge pull request #982 from italorossi/bugfix/opus-donot-drop-call-corrupted-stream
[mod_opus] Do not hangup call on decode error - fix 86a5ee3509
2020-12-16 22:54:04 +04:00
Seven Du 55d8edf846 [core] support convert to ARGB_LE video format 2020-12-16 23:14:42 +08:00
Seven Du c1837909b1 [mod_dptools] early video decode and debug 2020-12-16 23:10:52 +08:00
Seven Du 6cf606f2a0 [core] add event::merge 2020-12-16 23:05:16 +08:00
Seven Du 97676a9b50 [mod_sms] add final chat function 2020-12-16 23:03:03 +08:00
Seven Du 409b21b3e6 [core] debug socket sendto 2020-12-16 22:59:43 +08:00
Timothy Vanderaerden aae2e08cca
[Core] Databases: Fix duplicate key name 'recovery3'
Fixes: (create index recovery3 on recovery(runtime_uuid)) to database: Duplicate key name 'recovery3'
2020-12-16 18:31:47 +04:00
Martin Paterson d28dbd1cd6
[mod_voicemail] Fix error-case return in vm_fsdb_pref_greeting_set_function 2020-12-16 18:22:46 +04:00
ovadbar 855d8bd3e4
[mod_http_cache] Remove duplicate include statements 2020-12-16 18:19:49 +04:00
Rosen Penev aa71d87528
[build] fix compilation under musl 1.2
musl 1.2 defaults to 64-bit time_t, causing a compile failure under 32-bit platforms.
2020-12-16 18:17:24 +04:00
Andrey Volk 2ec89f19d9
Merge pull request #874 from traud/patch-1
[mod_spandsp] Fix two white-space errors
2020-12-16 18:15:06 +04:00
Andrey Volk e43b192f70
Merge pull request #877 from traud/patch-3
[mod_av] Update error message
2020-12-16 18:12:51 +04:00
Seven Du 70571a440a [mod_test] add tts mock 2020-12-14 13:24:26 +08:00
Ítalo Rossi 6ddb61fd4e [mod_opus] Do not hangup call on decode error - fix 86a5ee3509 2020-12-11 14:44:02 -03:00
Andrey Volk 8045c96458 [mod_gsmopen] Fix build on Visual Studio 2019 2020-11-20 18:29:52 +04:00
Norm Brandinger 68855f6acc
[Core] Fix XML generation 2020-11-17 22:23:21 +04:00
ajay-sabat 73d6da1342
[Core] switch_core_media: Correct srtp_remote_audio_crypto_key variable 2020-11-12 01:29:48 +04:00
Chris Rienzo 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
agree b7b83db66d
[mod_conference] Fix conference api saymember wrong output message 2020-11-06 00:35:45 +04:00
Andrey Volk 1010c6c55c
Merge pull request #875 from traud/patch-2
[core] Fix ICE candidate priorities
2020-10-08 20:25:54 +04:00
Andrey Volk 6c24133ea7
Merge pull request #802 from signalwire/recording_follow_transfer
[Core] Fix hangup race in recording_follow_transfer.
2020-10-05 20:32:29 +04:00
Alexander Traud 828811501c
[mod_av] Update error message
Five years ago, commit b29174e added the scale/conversion library of
FFmpeg. However, that library is not part of libavformat-dev and added
an additional requirement. That was not reflected in the error message,
when FFmpeg libraries are missing.
2020-09-29 10:30:56 +02:00
Alexander Traud ac8ef6ba1e
[core] Fix ICE candidate priorities
Seven years ago, commit cb076e6 used xor as pow. The compiler Clang 10
errors about this copy-paste-error from RFC 5245 section 4.1.2.1. Now,
Clang compiles successfully.
2020-09-27 13:04:31 +02:00
Alexander Traud 5aaf2eb3df
[mod_spandsp] Fix two white-space errors
Seven years ago, commit eee96c6 introduced two white-space errors. The
compiler Clang 10 errors: misleading indentation; statement is not
part of the previous 'if'. Now, Clang compiles successfully.
2020-09-27 11:45:17 +02:00
FredWemyss e10126942e
[mod_sofia] Add back sip Identity header into sip_i_identity variables in sofia_parse_all_invite_headers 2020-09-23 21:58:36 +04:00
Mike Jerris 28c170fda1 [Unit-Tests] Tweak test framework, fail loading unit test when out of memory. 2020-09-22 22:56:54 +04:00
Andrey Volk 89c7f88656
Merge pull request #856 from lazedo/patch-5
[mod_kazoo] add kz_contact api
2020-09-16 18:15:27 +04:00
lazedo da4fa9bac7
[mod_expr] log errors 2020-09-16 02:13:52 +01:00
lazedo 43e0d21534
[mod_kazoo] add kz_contact api 2020-09-16 02:11:09 +01:00
Andrey Volk 7c0062938f [mod_signalwire] Fix build with newer signalwire-c v2.0 2020-09-15 19:14:48 +04:00
Ciprian 5ce4855a1e
[core] Enable MSRP over IPv6
* [core] Enable MSRP over IPv6
* [core] SWITCH_SO_IPV6_V6ONLY socket option
2020-09-15 13:42:22 +04:00
Ciprian 60073ad431
[core] DTLS PEM validation/creation tweaks and fix leaks in fixed pem path. 2020-09-10 21:56:25 +04:00
Philipp Hancke 7bd59f6440
[Core] Create x509v3 certificates 2020-09-08 23:42:38 +04:00
Andrey Volk be5757d93b
Merge pull request #812 from micmac1/spandsp3-fixes
[mod_spandsp, mod_gsmopen] Fix typo and build with external spandsp
2020-09-01 21:13:32 +04:00
windy-wang 1d2a1057f8
[Core] Fix the null char in truncated value returned by switch_b64_decode 2020-09-01 21:04:49 +04:00
Ciprian 9c01bd4c78
[mod_rayo] Enable -fno-common compilation 2020-09-01 20:13:28 +04:00
Andrey Volk 850b10a864
Merge pull request #749 from signalwire/mod_signalwire_upgrade
[mod_signalwire] Upgrade code to be able to work on newer libks and signalwire-c v2.0 when released
2020-08-25 22:17:29 +04:00
Sebastian Kemper 51fba83ed3 [mod_gsmopen] Fix build with external spandsp
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:26:04 +02:00
Sebastian Kemper 61368b24c1 [mod_spandsp] Fix typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:25:01 +02:00
Norm Brandinger 8beac6c39b
[Documentation] Fix parameter definitions in switch_core_media_bug_add() 2020-08-18 19:52:19 +04:00
Lin.Sun 2f84eced53 [mod_say_*] fix possible memory-leak in say_ip() 2020-08-18 14:53:02 +08:00
Andrey Volk 2b8fa12baa [Core] Fix hangup race in recording_follow_transfer. 2020-08-17 21:07:11 +04:00
Mike Jerris cdb4810f8a [Build-System] Remove mod_freetdm from spec file, fix compile errors on CentOS 2020-08-14 18:49:39 +04:00
LordPinna 145377dd8e
[mod_verto] Fix modify attended transfer response 2020-08-12 21:08:07 +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
Andrey Volk 242ab078f0 swigall 2020-08-05 08:16:54 +00:00
jelmd 466a455286
[mod_opusfile] Fix compiling write file support 2020-08-05 03:29:04 +04:00
Andrey Volk 231d5e6494 [Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead. 2020-08-04 19:15:28 -04:00
Andrey Volk 5211c9bb43
Merge pull request #759 from signalwire/sofia
[Build-System] Remove Sofia-Sip library from the FreeSWITCH tree and use packages instead.
2020-08-04 02:34:25 +04:00
Andrey Volk 2fc0e3b80a [Build-System] Remove Sofia-Sip library from the FreeSWITCH tree and use packages instead. 2020-08-03 23:46:45 +04:00
Mike Jerris 546bebbe5e [core] fix build with newer build tools against openssl 1.1 2020-08-03 15:29:35 -04:00
Andrey Volk b06036e30f [mod_sofia] Cleanup usage of sofia-sip headers. 2020-08-03 22:15:19 +04:00
Andrey Volk 3d74cf1379 [mod_signalwire] Upgrade code to be able to work on newer libks and signalwire-c v2.0 when released 2020-07-22 20:47:53 +04:00
Andrey Volk 64646a3448 [mod_http_cache] Fix Windows build 2020-07-21 01:51:47 +04:00
Chris Rienzo 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
MikhailKalashnikov 90fb233ac6
[mod_sofia] Fix crash when proxy INFO without body 2020-07-17 17:58:35 +04:00
Lin.Sun 715ee3d2a2 [mod_silk] switch_silk_decode: Fix invalid condition for return code from switch_jb_peek_frame(). 2020-07-10 13:40:36 +04:00
Andrey Volk 1c0e7070bc [Core] Fix leak of BIO_METHOD *dtls_bio_filter_methods in switch_rtp_add_dtls() 2020-07-09 21:51:06 +04:00
lazedo 00113c480d
[mod_sofia] Verify that replaces header params exist 2020-06-29 22:46:18 +04:00
Andrew Cassidy 3130a51182 [Core] Add AEAD_AES_128_GCM and AEAD_AES_256_GCM ciphers support. 2020-06-22 16:26:22 +04:00
Andrey Volk 27c491dd0c [Core] Fix size overflow in pool_stats (when configured with --enable-pool-debug) 2020-06-12 19:35:03 +04:00
Dragos Oancea 0b9c7c678b [mod_amrwb] add cfg setting to switch between OA/BE when originating 2020-06-10 12:20:45 +00:00
Mike Jerris 6b9c836286 [build] properly prepend PKG_CONFIG_PATHS on out of tree modules 2020-06-04 22:42:07 +04:00
Andrey Volk 7f1a8a69b0 [Build-System] Allow full path or git clone url (with arguments) in modules.conf to build out of tree modules.
--- modules.conf ---
/full/path/to/out-of-tree/mod_tobuild
mod_somewherethere|https://github.com/your_account/your_mod_repo.git -b branch
2020-06-04 22:41:55 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk 91f54340ed
Merge pull request #636 from signalwire/listener-hangup-race
[mod_event_socket] Fix hangup race with listener_thread of socket application in async mode
2020-05-18 21:22:05 +04:00
Chris Rienzo bd46061a10 [test] Disable logs when loading and shutting down FS core 2020-05-18 21:20:06 +04:00
Mike Jerris 838f62a743 [mod_event_socket] Fix hangup race with listener_thread of socket application in async mode 2020-05-15 15:18:41 -06:00
Andrey Volk 55ddecd750
Merge pull request #222 from paxc/master
[mod_openh264] Fix stap-a size issue and add unit test.
2020-05-15 21:04:25 +04:00
paxc 9bec823f22 [mod_openh264] Fix stap-a size issue and add unit test. 2020-05-15 20:35:58 +04:00
Andrey Volk eba009868e
Merge pull request #474 from dragos-oancea/mod_cv-nullptr-passed
[mod_cv] scan-build: Null pointer passed as an argument to a 'nonnull' parameter.
2020-05-15 20:28:51 +04:00
windy-wang 120132b190
[mod_av] Break packets evenly 2020-05-14 01:45:48 +04:00
Andrey Volk 50b7dedf82 swigall 2020-05-11 09:50:33 +00:00
Andrey Volk a2c657c7bb [mod_amr] scan-build: fix dead increment of fmtptmp_pos in switch_amr_init() 2020-05-08 02:56:37 +04:00
Andrey Volk 5b1088d39f
Merge pull request #133 from jay98237438/master
[mod_amr, mod_amrwb] RFC4867 mode-set compliancy
2020-05-08 01:55:50 +04:00
sunlin 43b35ae4f2
[mod_silk] Fix mod_silk always init with maxaveragebitrate=20000 2020-05-08 01:52:39 +04:00
Anthony Minessale 6b35e576fc [core] Transfer with rtp_pass_codecs_on_stream_change one way audio 2020-05-08 01:40:21 +04:00
Anthony Minessale eaca798979 [core] add orig session check 2020-05-08 01:28:10 +04:00
Andrey Volk 0072806df1 [mod_loopback] Split null_auto_answer into two variables null_enable_auto_answer and null_auto_answer_delay. Default auto_answer_delay is 0 instead of 1 ms. Auto answer is enabled by default if null_enable_auto_answer is not set. More carefully compute the delay in ms to not block channel longer than needed. 2020-05-08 01:22:48 +04:00
Andrey Volk 661f653956 [Core] Fix OSX build in switch_ivr_originate.c 2020-05-08 01:21:24 +04:00
Seven Du 0cafcf8a9b [core] Add global/leg variable to originate: group_confirm_timeout
group_confirm_timeout is a value in seconds for the maximum time to wait for group confirmation to finish.  This variable replaces group_confirm_cancel_timeout which has been deprecated.  Set group_confirm_timeout=0 to disable leg_timeout during group confirm.
2020-05-08 01:17:22 +04:00
Seven Du 2a54e08019 [core, mod_loopback] Add test case for group confirm over loopback endpoints 2020-05-08 01:12:17 +04:00
lazedo 7264426386 [mod_loopback] clear confirm properties from a-leg 2020-05-08 01:11:52 +04:00
Seven Du fcda4c6a06 [core] add support to set group confirm on each leg 2020-05-08 01:11:44 +04:00
Mike Jerris bfd02beef8 [core] refactor originate internals (oglobals) 2020-05-08 00:28:57 +04:00
Mike Jerris 598d52d5fb [mod_sofia] remove blank display name that can show up in from uri 2020-05-07 03:18:16 +04:00