<div dir="ltr">Hi,<div>I'm trying to debug a segfault in <font face="monospace">ast_frdup</font> which happened because of the negative <font face="monospace">datalen</font> of the <font face="monospace">ast_frame </font><font face="arial, sans-serif">for frame type</font><font face="monospace"> AST_FRAME_TEXT</font>.</div><div><br><div>My question is that how an RTP frame in categorized as of type TEXT because I can only see two types of RTP payload in network capture (not of the time of segfault)</div></div><div>one is <font face="monospace">G-711 ulaw</font> and the other is <font face="monospace">Payload Type 106</font> (not defined in SDP).</div><div>This Payload 106 is receivedĀ at the start of the RTP stream and is received only once in an RTP stream.</div><div><br></div><div>My other question is how the <font face="monospace">datalen</font> gets calculated for an RTP frame and what could be the possible reason for this to come out negative for it should never be negative as confirmed by Joshua on Asterisk Community Forum.</div><div><br></div><div>It would be a great help if anybody could help me figure this out.</div><div><br></div><div>Thanks,</div><div>Mohit</div></div>