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
aa91b46d3f
Merge pull request #1121 from signalwire/switch_eavesdrop
...
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
2021-03-17 01:58:19 +03:00
Andrey Volk
eaf5a70246
[Unit-tests] Fix build issues in switch_eavesdrop.c test file.
2021-03-17 01:15:42 +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
Andrey Volk
67791c1925
Merge pull request #1120 from dragos-oancea/mod_enum_fix_leak
...
[mod_enum] fix mem leak - ldns_resolver_new() - vanilla cfg.
2021-03-16 18:12:40 +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
windy-wang
9abcffd874
[core] add log debug socket sendto
2021-03-10 17:06:11 +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
Andrey Volk
e5277a874b
Merge pull request #1096 from signalwire/apr-osx-configure-ipv6
...
[build] fix configure checks for ipv6 on latest osx
2021-03-04 20:22:12 +03:00
Andrey Volk
a9d654adf1
Merge pull request #1083 from dragos-oancea/amr_no_data
...
[mod_amr] handle frame type NO_DATA and add unit test.
2021-03-03 21:21:49 +03:00
Dragos Oancea
752e1c3386
[mod_amr] handle frame type NO_DATA and add unit test.
2021-03-03 19:51:24 +02:00
Mike Jerris
fd2ed2546c
[build] fix configure checks for ipv6 on latest osx
2021-03-03 10:02:29 -07:00
Michael Jerris
a5ca2144ef
Merge pull request #1087 from signalwire/swigall
...
[Build-System] Add src/include/switch_swigable_cpp.h requirement to make swigall
2021-02-26 14:11:38 -07:00
Andrey Volk
0426ffaec7
[Build-System] Add src/include/switch_swigable_cpp.h requirement to make swigall
2021-02-27 00:09:44 +03:00
Evan McGee
861e097a58
Merge pull request #602 from stweil/typos
...
Fix some typos (most found by codespell)
2021-02-25 10:03:47 -08:00