[Home]

Summary:ASTERISK-26770: res_stasis_device_state: Duplicate subscriptions when multiple received at same time
Reporter:Joshua C. Colp (jcolp)Labels:
Date Opened:2017-02-06 11:34:38.000-0600Date Closed:2017-02-08 09:14:38.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_stasis_device_state
Versions:13.13.1 14.2.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:There is a race condition in the res_stasis_device_state module when adding subscriptions. If two subscription requests for the same device state are received at the same time there is a slim window between checking and adding the subscription where the second subscription will not see the first. This results in two subscriptions being added instead of just one.
Comments:By: Friendly Automation (friendly-automation) 2017-02-08 09:14:40.248-0600

Change 4890 merged by zuul:
res_stasis_device_state: Protect the adding/removing of subscriptions.

[https://gerrit.asterisk.org/4890|https://gerrit.asterisk.org/4890]

By: Friendly Automation (friendly-automation) 2017-02-08 09:14:44.233-0600

Change 4891 merged by zuul:
res_stasis_device_state: Protect the adding/removing of subscriptions.

[https://gerrit.asterisk.org/4891|https://gerrit.asterisk.org/4891]

By: Friendly Automation (friendly-automation) 2017-02-08 09:14:46.604-0600

Change 4892 merged by zuul:
res_stasis_device_state: Protect the adding/removing of subscriptions.

[https://gerrit.asterisk.org/4892|https://gerrit.asterisk.org/4892]