[asterisk-bugs] [Asterisk 0015757]: [branch] Add support for distributing device state and MWI via XMPP PubSub

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 21 18:09:30 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15757 
====================================================================== 
Reported By:                Marquis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15757
Category:                   Resources/res_jabber/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-763 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/351/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 213622 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-21 15:42 CDT
Last Modified:              2010-01-21 18:09 CST
====================================================================== 
Summary:                    [branch] Add support for distributing device state
and MWI via XMPP PubSub
Description: 
Distributing device state in this way opens up the possibility of having
geographically distributed clusters, as well as having integration with
XMPP clients and other components that are PubSub-aware.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
parent of           0015753 [patch] Custom devices do not interoper...
====================================================================== 

---------------------------------------------------------------------- 
 (0117047) Marquis (reporter) - 2010-01-21 18:09
 https://issues.asterisk.org/view.php?id=15757#c117047 
---------------------------------------------------------------------- 
At this point, the easiest way by far is to temporarily shut down the
existing hosts, delete the PubSub nodes, and bring it back up with the new
member system in place.

You *could* manually make the necessary changes, but depending on the
number of mailboxes and/or devices that might well take a very long time
and would unquestionably be tedious.  It's the very kind of repetition for
which computers are uniquely suited. :)

Even deleting the nodes if you're using XEP-0060 mode rather than XEP-0248
would take a while on a large system if you use the built-in commands.  If
you're storing your PubSub nodes in a database then a
not-particularly-clever DELETE FROM will solve all that ails you in that
regard.

Unfortunately, I don't have any spare cycles at the moment to make this
happen.  So it might need to wait if it's a "must have".

I don't think that it is, personally, but I also use XEP-0248 mode
exclusively and don't regularly add new hosts.  So I'm probably a little
biased.

The code to do it wouldn't be even remotely invasive, so if the policy for
1.8 and features is even a little relaxed then adding the necessary
commands in a 1.8.x is certainly an option. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-21 18:09 Marquis        Note Added: 0117047                          
======================================================================




More information about the asterisk-bugs mailing list