Page 1 of 1

Warning channel.c:5582 ast_write: Failed to write data to ch

PostPosted: Thu Apr 28, 2022 7:15 am
by polskie1029
Hi,

Need advice, see lot of warning message once call is connected.


ViciBox v.10.0.0 210901

VERSION: 2.14-853a
BUILD: 220328-1420

edit this on my sip.conf
externip = x.x.x.x (myextern public IP)
localnet=x.x.x.x(myserver localIP)/255.255.255.0
nat=force_rport,comedia

Account Entry
[520]
host=x.x.x.x
fromdomain=x.x.x.x
type=friend
allow=all
qualify=yes
insecure=port,invite
dtmfmode=rfc2833
nat=force_rport,comedia
context=trunkinbound



[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: chan_sip.c:7588 sip_write: Can't send 10 type frames with SIP write
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: file.c:259 ast_writestream: Translated frame write failed
[2022-04-28 20:12:31] WARNING[19661][C-0000012e]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Sat Apr 30, 2022 1:32 am
by carpenox
chmod -R 777 /var/spool/asterisk

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Wed Apr 17, 2024 8:26 am
by rdipen
Anyone found solution to above problem as we are getting same warnings and it is constant it used to be 4-5 warnings every couple minutes but lately it is constant.


____________________________________________________________
WARNING[31964][C-00001c3b]: file.c:259 ast_writestream: Translated frame write failed
[Apr 17 09:36:08] WARNING[31964][C-00001c3b]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
[Apr 17 09:36:08] == Everyone is busy/congested at this time (1:0/0/1)
[Apr 17 09:36:08] -- Executing [17099453911@default:4] Dial("Local/17099453911@default-00000e84;2", "SIP/17099453911@modulis-outbound,,To") in new stack
[Apr 17 09:36:08] == Using SIP RTP CoS mark 5
[Apr 17 09:36:08] -- Called SIP/17099453911@modulis-outbound
[Apr 17 09:36:08] WARNING[31964][C-00001c3b]: file.c:259 ast_writestream: Translated frame write failed
[Apr 17 09:36:08] WARNING[31964][C-00001c3b]: channel.c:5582 ast_write: Failed to write data to channel monitor write stream
____________________________________________________________

We use ViciBox V.10.0.0 210901
VICIDial version: 2.14b0.5
Asterisk #: 13.38.2
SVN: 3793
On physical computer Dell precision T1650 Intel i5, 16G RAM, 1 TB HDD

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Wed Apr 17, 2024 5:06 pm
by carpenox
try what i put, its the fix

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Thu Apr 18, 2024 8:21 am
by rdipen
carpenox wrote:try what i put, its the fix

Already tried but no luck.

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Fri Apr 19, 2024 8:33 am
by ambiorixg12
check disk space df -h

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Fri Apr 19, 2024 9:04 am
by rdipen
ambiorixg12 wrote:check disk space df -h


That is usually first thing I check but we have 64% left.

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Tue Apr 23, 2024 6:47 am
by carpenox
give it chown properties for asterisk or apache

Re: Warning channel.c:5582 ast_write: Failed to write data t

PostPosted: Thu Jul 25, 2024 2:37 pm
by williamconley
rdipen wrote:
ambiorixg12 wrote:check disk space df -h


That is usually first thing I check but we have 64% left.


64% on which drive? Often during configuration some will set up a "memory drive" for this folder and that folder filling up would not reflect on "/". Posting the results of df -h would be more convincing. ;) Same with posting the results of "ll /var/spool/"