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

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

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

Postby polskie1029 » Thu Apr 28, 2022 7:15 am

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
polskie1029
 
Posts: 4
Joined: Fri Jan 29, 2021 2:30 am

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

Postby carpenox » Sat Apr 30, 2022 1:32 am

chmod -R 777 /var/spool/asterisk
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

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

Postby rdipen » Wed Apr 17, 2024 8:26 am

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
rdipen
 
Posts: 17
Joined: Tue May 09, 2023 3:18 pm

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

Postby carpenox » Wed Apr 17, 2024 5:06 pm

try what i put, its the fix
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

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

Postby rdipen » Thu Apr 18, 2024 8:21 am

carpenox wrote:try what i put, its the fix

Already tried but no luck.
rdipen
 
Posts: 17
Joined: Tue May 09, 2023 3:18 pm

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

Postby ambiorixg12 » Fri Apr 19, 2024 8:33 am

check disk space df -h
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

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

Postby rdipen » Fri Apr 19, 2024 9:04 am

ambiorixg12 wrote:check disk space df -h


That is usually first thing I check but we have 64% left.
rdipen
 
Posts: 17
Joined: Tue May 09, 2023 3:18 pm

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

Postby carpenox » Tue Apr 23, 2024 6:47 am

give it chown properties for asterisk or apache
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

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

Postby williamconley » Thu Jul 25, 2024 2:37 pm

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/"
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 79 guests