[Home]

Summary:ASTERISK-20988: Handling of fragmented skinny packets
Reporter:Damien Wedhorn (wedhorn)Labels:
Date Opened:2013-01-25 15:58:45.000-0600Date Closed:2013-12-18 21:14:07.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_skinny
Versions:SVN 12 11.3.0 Frequency of
Occurrence
Occasional
Related
Issues:
Environment:Attachments:( 0) skinny-fragment01.diff
( 1) skinny-fragment02.diff
Description:It seems that just after registering, some devices send a large packet that become fragmented. Current code occassionally closes the session as it doesn't receive enough data.

This is all speculative as I can't reproduce the problem, but with some extra debugging info from snuff, It looks like under certain circumstances the read only gets the info in the first packet (was something like 1452 read from 1800 sent). This patch keeps on reading until it gets sufficient data.
Comments:By: Damien Wedhorn (wedhorn) 2013-01-26 14:45:37.108-0600

New patch as I forgot to unlock the sessions in the original.

By: snuffy (snuffy) 2013-02-05 20:49:28.406-0600

added patch to my machine.. awaiting large packets

By: Damien Wedhorn (wedhorn) 2013-12-18 21:14:07.332-0600

Fragmented packets are handled correctly in 12 and SVN. Noticed several in my logs and they're being handled properly. As such, closing this as resolved.