Summary:ASTERISK-21069: xmpp distributed device states aggregation update fails
Reporter:Marco Paland (mpaland)Labels:
Date Opened:2013-02-12 15:18:57.000-0600Date Closed:2013-04-17 08:59:56
Versions:11.1.2 Frequency of
is caused byASTERISK-20175 Security Vulnerability: denial of service attack through exploitation of device state caching
is related toASTERISK-21164 Need clarification on distributed device state behavior and whether this behavior is a possible regression
is related toASTERISK-21429 Distributed Device State using JABBER/XMPP not working since Secuity Advisory AST-2012-015
Environment:raspbx with Asterisk 11.1.2 on Debian7 / WheezyAttachments:( 0) 21069_desc.txt
Description:I'm having a real hard time and no clue why the following happens.
The custom device stats can't be updated on remote boxes. I file this as a bug.

[Edit - per the issue guidelines, removed excessive inline debug and conf files and attached whole description as a file.  Essentially in a distributed device state setup with res_xmpp, the state of a custom device on one system is set to RINGING, the other system receives the proper XMPP, processes it, and then does not update the device state until the current state is re-set to the current state (NOT_INUSE). At that point the state shows as RINGING. .. ]

Is this a bug or do miss something?
Comments:By: Rusty Newton (rnewton) 2013-02-22 19:47:07.416-0600

I am able to reproduce this. I'll attempt to narrow it down a bit further on Monday.

By: Rusty Newton (rnewton) 2013-02-25 17:10:15.374-0600

I've filed ASTERISK-21164, as I'm unsure what the correct behavior should be, and it's going to take a developer to look through it and verify. I'll acknowledge this as a possible bug, and at least an area where clarification is needed. I'm not sure the behavior I saw in ASTERISK-21164 is exactly the same thing you are seeing, so I'll link the two issues.

By: Rusty Newton (rnewton) 2013-02-25 17:42:34.393-0600

Attaching full description with inline debug and conf files. It was too large and shouldn't have had everything inline. It needs to be a separate file.

By: Marco Paland (mpaland) 2013-02-26 06:44:27.701-0600

Rusty, I'm pretty sure that it's a bug.
I changed to res_corosync for syncing with the same configuration - and distributed device states work fine.

By: Alec Davis (alecdavis) 2013-04-15 16:11:54.466-0500

When using res_xmpp or res_jabber, distrbuted device states became broken since changes related to ASTERISK-20175 were applied.