When recieving fax res_rtp_asterisk.c: RTP Read too short

i lately see
res_rtp_asterisk.c: RTP Read too short
when receiving a fax which i think caused fax to fail!

2022-10-27 10:43:16] VERBOSE[31826][C-0003b81d] res_fax.c: Channel 'PJSIP/fs2-0004d3e5' receiving FAX '/tmp/fax-oraclepbx-1666856595.6886133.tif'
[2022-10-27 10:43:19] WARNING[31826][C-0003b81d] res_rtp_asterisk.c: RTP Read too short
[2022-10-27 10:43:19] WARNING[31826][C-0003b81d] res_rtp_asterisk.c: RTP Read too short
[2022-10-27 10:43:19] WARNING[31826][C-0003b81d] res_rtp_asterisk.c: RTP Read too short


[2022-10-27 10:43:54] VERBOSE[31826][C-0003b81d] pbx.c: Executing [h@fromoutside:3] NoOp("PJSIP/fs2-0004d3e5", "minrate: 4800 maxrate: 9600 modem: V17,V27,V29 pages: 0 rate: 9600") in new stack
[2022-10-27 10:43:54] VERBOSE[31826][C-0003b81d] pbx.c: Executing [h@fromoutside:4] NoOp("PJSIP/fs2-0004d3e5", "remotestationid:  resolution: 8031x3850 sessionid: 1133 status: FAILED") in new stack
[2022-10-27 10:43:54] VERBOSE[31826][C-0003b81d] pbx.c: Executing [h@fromoutside:5] NoOp("PJSIP/fs2-0004d3e5", "statusstr: Disconnected after permitted retries t38timeout: 5000") in new stack
[2022-10-27 10:43:54] VERBOSE[31826][C-0003b81d] pbx.c: Executing [h@fromoutside:6] CELGenUserEvent("PJSIP/fs2-0004d3e5", "FAX,yes,0,9600,8031x3850,") in new stack

how would i debug the reason for this ?

You would need to start by looking at a SIP trace (pjsip set logger on) to see what negotiation has happened. A packet capture would also be needed. What version of Asterisk is in use?

And the message itself occurs if a packet is received that is too small to be an RTP packet.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.