On Fri, May 11, 2018 23:41, Christophe Lohr wrote:
Unfortunately there are still (other) errors in the asterisk console:
-- Executing [6000@default:5] JACK("SIP/6007-00000000", "") in
new
stack [May 11 20:30:00] WARNING[30222][C-00000000]: app_jack.c:600
queue_voice_frame: Tried to write 3844 bytes to the ringbuffer, but only
wrote 1679 [May 11 20:30:00] WARNING[30222][C-00000000]: app_jack.c:600
queue_voice_frame: Tried to write 3844 bytes to the ringbuffer, but only
wrote 0 [May 11 20:30:00] WARNING[30222][C-00000000]: app_jack.c:600
queue_voice_frame: Tried to write 3844 bytes to the ringbuffer, but only
wrote 0 ../..
[May 11 20:30:10] WARNING[30222][C-00000000]: app_jack.c:600
queue_voice_frame: Tried to write 3844 bytes to the ringbuffer, but only
wrote 0 -- Unregistered SIP '6007'
This is just a warning. If you'd check the available size before writing
the result would be the same.
Why the ringbuffer has not enough write space can have several reasons
from logic errors to random other reasons.
However you could simply enlarge the ringbuffer capacity and see if the
warning still appears.
in app_jack.c:
/* The number of frames the ringbuffers can store. The actual size is
RINGBUFFER_FRAME_CAPACITY * jack_data->frame_datalen */
#define RINGBUFFER_FRAME_CAPACITY 100
set this to 1000 just for a test and re-compile.
Greetings
Thomas