[Home]

Summary:ASTERISK-24937: [patch]res_pjsip_messaging: Messages may be sent out of order
Reporter:Mark Michelson (mmichelson)Labels:
Date Opened:2015-04-03 11:33:39Date Closed:2015-04-03 16:55:36
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_messaging
Versions:SVN 13.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Because res_pjsip_messaging throws all messages to send into the threadpool, there is no guarantee that consecutive outgoing messages from the same dialplan execution will be sent in the same order.

So for instance, if you had the following dialplan:
{noformat}
exten => hello,1,NoOp()
same => n,SendMessage(hello)
same => n,SendMessage(world)
{noformat}

It would be expected that the "hello" message would be sent before the "world" message. However, it cannot be guaranteed this will happen with the current threadpool usage.
Comments: