[asterisk-bugs] [JIRA] (ASTERISK-24937) res_pjsip_messaging: Messages may be sent out of order

Mark Michelson (JIRA) noreply at issues.asterisk.org
Fri Apr 3 11:34:32 CDT 2015


Mark Michelson created ASTERISK-24937:
-----------------------------------------

             Summary: res_pjsip_messaging: Messages may be sent out of order
                 Key: ASTERISK-24937
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24937
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
            Reporter: Mark Michelson


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list