2683 Commits

Author SHA1 Message Date
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
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
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
Anthony Minessale
d3ca238b05 [core] some mods for file playback to get proper bitrate and timing 2021-10-23 22:00:31 +03:00
Anthony Minessale
d2ccb93f3e [mod_sofia] don't auto unhold via media format for non-sip 2021-10-23 22:00:31 +03:00
Anthony Minessale
badd59d609 [core, mod_verto] remove CF_VIDEO_ONLY and pay attention to the streams instead and add CF_NO_RECOVER flag for verto 2021-10-23 22:00:28 +03:00
Anthony Minessale
2bdefa3532 [core] add a flag to tell when video media bugs that touch the write stream are active 2021-10-23 22:00:28 +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
Anthony Minessale
fb2250df8e [mod_verto] indicate video fps and size of current layer to client 2021-10-23 22:00:20 +03:00
Anthony Minessale
2d5df53009 [mod_verto] new changes for verto video features 2021-10-23 22:00:18 +03:00
Anthony Minessale
dc4bef79ec [core]speed up call setup 2021-10-23 22:00:18 +03:00
Anthony Minessale
f74e2a962c [core] add switch_filecmp 2021-10-23 22:00:10 +03:00
Anthony Minessale
761d5310fd [core] make auto mean cpu * 3 / 2 2021-10-23 22:00:10 +03:00
Anthony Minessale
bb02989f42 [core] use the more efficient mult-byte tolower/toupper in the helper func 2021-10-23 22:00:09 +03:00
Andrey Volk
07884e20a2 [Build-System] Fix switch_packetizer headers and add it to the build. 2021-10-23 22:00:08 +03:00
Seven Du
5243fbd3c5 [core, mod_av] move switch_packetizer to core 2021-10-23 22:00:06 +03:00
Seven Du
2448d32c0f [core] add jpg data_url support with stb_image 2021-10-23 22:00:03 +03:00
Seven Du
2a87e7b98c [core] add stb_image_write supported image write 2021-10-23 22:00:03 +03:00
Seven Du
58d5442dc5 [core] add stb_image to read more supported picture formats 2021-10-23 22:00:03 +03:00
Seven Du
96562bcc48 [core] add switch_img_read_png_from_memory 2021-10-23 22:00:00 +03:00
Anthony Minessale
b18ea498df [core] add new prompt functionality to ask for pin over dialogbox 2021-10-23 22:00:00 +03:00
Anthony Minessale
ffbe8500ec [core] add new function to theorize the dimensions of an image if it were to be resizedto fit inside another image 2021-10-23 21:59:59 +03:00
Anthony Minessale
efff71f2f0 [core] add switch_thread_pool_wait 2021-10-23 21:59:59 +03:00
Anthony Minessale
2c7f97a606 [mod_verto] allow vars from dp to pass to verto dialog 2021-10-23 21:59:59 +03:00
Chris Rienzo
d1d777df6c [core] add SCSC_SHUTDOWN_CAUSE 2021-10-23 21:59:56 +03:00
Michael Jerris
53b459a687 [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 21:59:54 +03:00
Liyang
b1714199ce FS-11855: [Core] Offer all negotiated codecs in 200 OK when receiving re-INVITE without SDP 2021-10-23 21:59:48 +03:00
Andrey Volk
b8be418fb8 [Core, mod_commands] Implement memory allocation statistics by adding the "memory" API command. 2021-10-20 17:53:18 +03:00
Andrey Volk
c58b659f3f [Core] Add new switch_channel_set_variable_strip_quotes API, cleanup mod_sofia. 2021-10-19 20:45:07 +03:00
Andrey Volk
58abf91d1d [Core] Add new switch_core_hash_insert_dup_auto_free() API 2021-10-19 20:39:36 +03:00
Andrey Volk
bd7b76bacf [Core] Add new switch_core_hash_insert_pointer(switch_hash_t *hash, const void *data) API to be able to insert data into a hash with an auto-generated key based on the data pointer. Cleanup switch_loadable_module_process() to not generate hash keys for stored events itself. Add unit-test. 2021-10-19 20:35:12 +03:00