asterisk/channels
Naveen Albert ede67a99be chan_iax2: Fix jitterbuffer regression prior to receiving audio.
ASTERISK_29392 (a security fix) introduced a regression by
not processing frames when we don't have an audio format.

Currently, chan_iax2 only calls jb_get to read frames from
the jitterbuffer when the voiceformat has been set on the pvt.
However, this only happens when we receive a voice frame, which
means that prior to receiving voice frames, other types of frames
get stalled completely in the jitterbuffer.

To fix this, we now fallback to using the format negotiated during
call setup until we've actually received a voice frame with a format.
This ensures we're always able to read from the jitterbuffer.

ASTERISK-30354 #close
ASTERISK-30162 #close

Change-Id: Ie4fd1e8e088a145ad89e0427c2100a530e964fe9
2023-02-28 07:55:13 -06:00
..
dahdi channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
iax2 general: Fix various typos. 2022-07-12 07:46:03 -05:00
pjsip res_rtp_asterisk: Asterisk Media Experience Score (MES) 2023-01-09 11:40:46 -06:00
sip chan_sip: Fix crash when accessing RURI before initiating outgoing call 2021-12-13 13:39:26 -06:00
Makefile build: Remove obsolete leftover build references. 2022-03-30 17:10:51 -05:00
chan_alsa.c chan_alsa, chan_sip: Add replacement to moduleinfo 2021-08-19 07:58:39 -05:00
chan_audiosocket.c Compiler fixes for GCC with -Og 2020-11-03 17:08:07 -06:00
chan_bridge_media.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_console.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_dahdi.c chan_dahdi: Fix unavailable channels returning busy. 2022-10-26 11:14:25 -05:00
chan_dahdi.h sig_analog: Changes to improve electromechanical signalling compatibility 2021-08-20 12:26:18 -07:00
chan_iax2.c chan_iax2: Fix jitterbuffer regression prior to receiving audio. 2023-02-28 07:55:13 -06:00
chan_mgcp.c utils.c: Remove all usages of ast_gethostbyname() 2022-01-06 09:45:56 -06:00
chan_motif.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_pjsip.c res_pjsip_rfc3326: Add SIP causes support for RFC3326 2023-01-10 13:31:14 -06:00
chan_rtp.c chan_rtp: Make usage of ast_rtp_instance_get_local_address clearer 2022-11-02 08:55:51 -05:00
chan_sip.c GCC12: Fixes for 16+ 2022-05-09 08:21:45 -05:00
chan_skinny.c utils.c: Remove all usages of ast_gethostbyname() 2022-01-06 09:45:56 -06:00
chan_unistim.c utils.c: Remove all usages of ast_gethostbyname() 2022-01-06 09:45:56 -06:00
console_board.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
console_gui.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
console_video.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
console_video.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
sig_analog.c sig_analog: Fix no timeout duration. 2022-12-08 10:13:47 -06:00
sig_analog.h general: Fix various typos. 2022-07-12 07:46:03 -05:00
sig_pri.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_pri.h progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_ss7.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_ss7.h channels: Spelling fixes 2021-11-16 05:35:29 -06:00
vcodecs.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
vgrabbers.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00