[asterisk-bugs] [JIRA] (ASTERISK-21164) Need clarification on distributed device state behavior and whether this behavior is a possible regression

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Feb 25 17:09:18 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-21164:
------------------------------------

    Description: 
How should distributed device state work on a cluster of only two systems? I haven't found documentation that describes this specifically. If it doesn't exist, then it should be documented to help admins understand how to use the feature.

I've provided attached documents to show where behavior differences between an older version of 11(11.1.0 chosen because JColp though ASTERISK-20175 may be responsible from some of the behavior differences) and a newer SVN version of 11 might indicate a regression. Or, it may just indicate behavior that was broken before and is now fixed..

The problem:

On pbx1 I don't see any reflection of device state for "Custom:mystate" when pbx2 changes the state of that device.

If pbx1 changes device state first, then on pbx2 you can see new values for device state of "Custom:mystate" by using DEVICE_STATE or looking at the associated hint. However "devstate list" doesn't show a change.

Which behavior is correct? 

* see attached config.txt for xmpp.conf of the systems
* see attached state_changes.txt for a layout of the device states when either system is receiving the pubsub events.
* see attached pbx1_debug.txt for debug when pbx1 receives changes from pbx2.
* see attached pbx2_debug.txt for debug when pbx2 receive changes from pbx1




  was:
How should distributed device state work on a cluster of only two systems? I haven't found documentation that describes this specifically. If it doesn't exist, then it should be documented to help admins understand how to use the feature.

I've provided attached documents to show where behavior differences between an older version of 11(11.1.0) and a newer SVN version of 11 might indicate a regression. Or, it may just indicate behavior that was broken before and is now fixed..

The problem:

On pbx1 I don't see any reflection of device state for "Custom:mystate" when pbx2 changes the state of that device.

If pbx1 changes device state first, then on pbx2 you can see new values for device state of "Custom:mystate" by using DEVICE_STATE or looking at the associated hint. However "devstate list" doesn't show a change.

Which behavior is correct? 

* see attached config.txt for xmpp.conf of the systems
* see attached state_changes.txt for a layout of the device states when either system is receiving the pubsub events.
* see attached pbx1_debug.txt for debug when pbx1 receives changes from pbx2.
* see attached pbx2_debug.txt for debug when pbx2 receive changes from pbx1




    
> Need clarification on distributed device state behavior and whether this behavior is a possible regression
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21164
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21164
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>         Environment: pbx1: SVN 11 r381835,  pbx2: 11.1.0, connected to OpenFire XMPP pubsub via res_xmpp
>            Reporter: Rusty Newton
>         Attachments: config.txt, pbx1_debug.txt, pbx2_debug.txt, state_changes.txt
>
>
> How should distributed device state work on a cluster of only two systems? I haven't found documentation that describes this specifically. If it doesn't exist, then it should be documented to help admins understand how to use the feature.
> I've provided attached documents to show where behavior differences between an older version of 11(11.1.0 chosen because JColp though ASTERISK-20175 may be responsible from some of the behavior differences) and a newer SVN version of 11 might indicate a regression. Or, it may just indicate behavior that was broken before and is now fixed..
> The problem:
> On pbx1 I don't see any reflection of device state for "Custom:mystate" when pbx2 changes the state of that device.
> If pbx1 changes device state first, then on pbx2 you can see new values for device state of "Custom:mystate" by using DEVICE_STATE or looking at the associated hint. However "devstate list" doesn't show a change.
> Which behavior is correct? 
> * see attached config.txt for xmpp.conf of the systems
> * see attached state_changes.txt for a layout of the device states when either system is receiving the pubsub events.
> * see attached pbx1_debug.txt for debug when pbx1 receives changes from pbx2.
> * see attached pbx2_debug.txt for debug when pbx2 receive changes from pbx1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list