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.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2247
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: 16
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.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2247
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: 16
Joined: Tue May 09, 2023 3:18 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 52 guests