[asterisk-dev] socket_read: Packet arrived out of order (expecting2, got 1)

Kris Boutilier Kris.Boutilier at scrd.bc.ca
Tue Mar 7 15:32:44 MST 2006


> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com 
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Maurizio
Marini
> Sent: Tuesday, March 07, 2006 8:41 AM
> To: Asterisk Developers Mailing List
> Subject: [asterisk-dev] socket_read: Packet arrived out of order
(expecting2, got 1)
> 
{clip}
> Mar  7 17:36:34 DEBUG[8703]: chan_iax2.c:6515 socket_read: Received
packet 1, (6, 13) Mar  7 17:36:34 DEBUG[8703]: chan_iax2.c:6557
socket_read: Packet arrived out of order (expecting 2, got 1) (frametype
= 6, subclass = 13)
{clip}
> 
> is this alarming?
> or should i discard this and do not worry at them?

IAX2 is carried on UDP packets and they, by definition, are not required
to arrive in order of transmission (or even arrive at at all) at the
application layer. This differs from TCP packets, who are required to be
presented to the application in order and with no gaps. It follows
therefore that queueing and congestion on a larger network such as the
Internet may cause the IAX frames to go astray. 

If this is happening very frequently or consistently there may be deeper
issues. Otherwise, see
http://en.wikipedia.org/wiki/User_Datagram_Protocol
 for an introduction to the marvels of UDP.

:-)

Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District



More information about the asterisk-dev mailing list