Jakub Karolczyk
b4ebd0936c
[core, mod_sofia] Fix codec set deadlock
2024-10-11 16:16:02 +03:00
Andrey Volk
9f7c64b6fa
[Core] switch_stun.c: Coverity 1468480: Out-of-bounds access (OVERRUN)
2024-07-30 15:23:49 +03:00
Andrey Volk
a99ed5c46f
[Core] Introduce SWITCH_RAND_MAX to switch_rand()
2024-07-29 22:26:27 +03:00
Andrey Volk
c7e793c345
[Core] Add new switch_rand() a compliant random number generator API. Add a unit-test.
...
* [Core] Add new switch_rand() a compliant random number generator API. Add a unit-test.
* Fall back to rand() on unsupported platforms compile time.
2024-06-06 21:14:36 +03:00
Andrey Volk
5b1c2688da
[Core, mod_sofia] Add switch_uint31_t type. Fix CSeq bigger than 2^31-1.
2024-05-09 22:20:14 +03:00
Dragos Oancea
8b7a8c4aea
[core] SDP: replace SIP lingo in SDP offer/answer.
2024-01-26 21:01:32 +03:00
Jakub Karolczyk
104c0b3fec
[core] Fix flopping routes on ICE negotiation
2023-10-12 12:15:46 +00:00
Andrey Volk
9347c96712
[Core] check_ice: sanitize second field of the candidates. Add new switch_is_uint_in_range() API.
2023-08-13 15:49:58 +03:00
Andrey Volk
6b67970bbb
[Core] Add new switch_channel_get_variable_strdup() and switch_channel_get_variable_buf() APIs that avoid allocating channel variables in a session's memory pool.
2023-07-28 22:29:22 +03:00
Andrey Volk
f7e5ae793e
Merge pull request #2175 from signalwire/curl
...
[Core, mod_cidlookup, mod_curl, mod_httapi, mod_http_cache, mod_kazoo, mod_shout] Add new switch_curl_mime APIs replacing switch_curl_process_form_post_params() and make code be compatible with libcurl>=7.87.0
2023-07-25 01:28:57 +03:00
Andrey Volk
5966077030
[Core, mod_cidlookup, mod_curl, mod_httapi, mod_http_cache, mod_kazoo, mod_shout] Add new switch_curl_mime APIs replacing switch_curl_process_form_post_params() and make code be compatible with libcurl>=7.87.0
2023-07-24 23:40:27 +03:00
Andrey Volk
cced3e7f1b
[Unit-tests] Fix possible overflows and an undefined variable in the test framework.
2023-07-24 21:23:53 +03:00
Andrey Volk
0f445e1ddd
[core, mod_opus] more elastic jitterbuffer with Opus codec
...
* [core, mod_opus] more elastic jitterbuffer with Opus codec
* [Core] JB: Fix crash on null channel
* [Core] JB: Fix target_seq race in check_jb_size()
* Code cleanup
---------
Co-authored-by: Julien Chavanton <jchavanton@gmail.com>
2023-07-21 20:03:00 +03:00
Andrey Volk
34f1d974f5
Revert "[core, mod_opus] more elastic jitterbuffer with Opus codec ( #2069 )"
...
This reverts commit 67840823c178153cb013014c4fa780fe233612cb.
2023-07-12 18:18:17 +03:00
Julien Chavanton
67840823c1
[core, mod_opus] more elastic jitterbuffer with Opus codec ( #2069 )
2023-06-23 16:45:31 +03:00
Giacomo Vacca
9c63f03b45
[Core] Add new cause REJECT_ALL
2023-06-22 22:39:46 +03:00
Dragos Oancea
5e914efc8c
[core, mod_opus] bring more fmtp params to core (offer/answer).
2023-06-15 16:26:17 +03:00
Jakub Karolczyk
b0a52eb1fe
[core] Add switch_core_media_get_engine() and switch_core_media_get_codec() functions
2023-06-09 18:25:25 +00:00
Andrey Volk
f377a0ff57
Revert "[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0" ( #2070 )
...
This reverts commit 039823848906b11fd6183ba81f037b7211a29497.
2023-05-01 20:38:51 +03:00
Clarence
0398238489
[Core, mod_curl, mod_httapi, mod_http_cache] Compatible with libcurl>=7.87.0
...
* [core] fix deprecated with libcurl>=7.56.0
* [mod_httpapi] fix deprecated with libcurl>=7.56.0
* [mod_curl] fix deprecated with libcurl>=7.56.0
* [mod_http_cache] fix deprecated with libcurl>=7.12.1
2023-04-27 23:43:32 +03:00
Jakub Karolczyk
49c1c35982
[core] Coverity fixes
...
* [core] Coverity CID 1468218 (Resource leak)
* [core] Coverity CID 1468214 (Resource leak)
* [core] Coverity CID 1294472 (Resource leak)
* [core] Coverity CID 1294470 (Resource leak)
* [core] Coverity CID 1500361 (Resource leak)
* [core] Coverity CID 1500308 (Resource leak)
* [core] Coverity CID 1500278 (Resource leak)
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2023-04-01 00:07:59 +03:00
Andrey Volk
9940623bce
[Core] Fix switch_core_sqldb_destroy() function declaration.
2023-03-31 20:47:56 +03:00
Andrey Volk
17453e0079
[Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup.
2022-11-08 01:48:25 +03:00
Andrey Volk
ffa2207926
[Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API.
2022-11-08 01:17:08 +03:00
Dragos Oancea
8e59603d98
[core][mod_sofia] remove ZRTP (deemed obsolete).
...
[unit-tests][build-system][docs] remove references to ZRTP.
2022-10-28 20:19:42 +03:00
Chris Rienzo
85d25e269b
[core] use fspr prefixed symbols instead of apr
2022-08-29 20:17:10 +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
Andrey Volk
060a65601b
[Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration.
2022-08-26 21:47:45 +03:00
Andrey Volk
a1d2f83104
[Core] ODBC: Add odbc-skip-autocommit-flip switch param.
2022-08-25 20:14:47 +03:00
Ken
3b65b1bedb
[Core] Change values for switch_call_cause_t to avoid SIP causecode collissions
...
Update values for switch_call_cause_t in switch_types.h to avoid
sip cause code collisions that can affect continue_on_fail or
failure_causes channel variables when numeric SIP or ISUP cause codes
are used.
Co-authored-by: Ken Rice <krice@sipnavigator.com>
2022-06-07 21:45:55 +03:00
Andrey Volk
aa161b9e58
[Core] Allow switch_buffer_write() to fill in a buffer with zeros. Add switch_buffer_zero_fill()
2022-05-23 21:51:26 +03:00
Dragos Oancea
df81021a11
[core] make switch_core_media_prepare_codecs() more unit-test friendly.
2022-03-21 13:59:37 +03:00
Andrey Volk
aabce0c3b8
Merge pull request #1423 from azzbcc/fix_error_array_parameter
...
[core] fix compile error with gcc 11.1
2022-03-09 16:21:50 +03:00
Marc Olivier Chouinard
de487b0ada
[core] Add support to phrase play-file to set a volume attribute
2022-01-25 20:07:39 -05:00
Alex Xu (Hello71)
6ece47e17f
[build] skip checking unused execinfo.h
...
since 380fd060ef719b1d8f8781422e84d2a32066351d, execinfo.h is not used
anymore, so there is no need to check for it.
2021-11-26 11:50:48 -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
Andrey Volk
fbf2da44d9
[Core] Fix use of private headers.
2021-11-10 21:46:29 +03:00
Clarence
b4a7cf4059
[core] fix compile error with gcc 11.1
2021-11-02 11:33:29 +08: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
Anthony Minessale
4c8e7d86e3
[core, mod_verto] check for camera change and trigger new constraints
2021-10-23 22:00:58 +03:00
Dragos Oancea
ce9905cdf4
[core] don't hangup call on SRTP errors (new default behaviour)
2021-10-23 22:00:55 +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
Andrey Volk
8a2ad233d6
[Core] Do not generate SDP media Descriptions with RTP/SAVP transport protocol when no crypto attribute.
2021-10-23 22:00:54 +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
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
Seven Du
90db5a9032
[mod_loopback] Add video support to null endpoint
...
* [mod_loopback] add video support to null channel
* [core test] add video session support
* [core] add video channel test case
2021-10-23 22:00:38 +03:00