[asterisk-dev] Out-of-order events from AMI interface - to be expected, or a bug?

Tilghman Lesher tlesher at digium.com
Tue Jan 12 17:44:27 CST 2010


On Tuesday 12 January 2010 15:06:24 Alex Villací­s Lasso wrote:
> So, I have the following questions:
> Is there any guarantee on the order of events associated with a
> generated call?

No, there is no guarantee to order.  Events are independent of one another,
and they may occur in any order.  They may typically appear in one order or
another, but there is nothing to say that it won't change in the future.

> Is it correct for a external AMI client to depend on a particular event
> order?

That depends upon what you mean by 'correct'.  You're certainly welcome to
react to particular orderings in any way that you like.  However, you reacting
to a particular order does not mean that events that happen in a different
order are somehow wrong.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list