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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 8 20:49:26 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15757 
====================================================================== 
Reported By:                Marquis
Assigned To:                lmadsen
====================================================================== 
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:                        
Regression:                 No 
Reviewboard Link:            
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:              2009-10-08 20:49 CDT
====================================================================== 
Summary:                    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...
====================================================================== 

---------------------------------------------------------------------- 
 (0112095) Marquis (reporter) - 2009-10-08 20:49
 https://issues.asterisk.org/view.php?id=15757#c112095 
---------------------------------------------------------------------- 
The problem there is that you're confined by what's allowed in XEP-0060,
and unfortunately that means modifying affiliations by individual JID (as
opposed to the various subscription access models, which are more
flexible).

See here for details:
http://xmpp.org/extensions/xep-0060.html#owner-affiliations

That's said, I *can* add support for modifying affiliations on the fly via
CLI commands (possibly AMI too if it makes sense).  I hadn't really done
that simply due to the effort involved, which while not monumental is
nontrivial.

But you'll still have to add the individual JIDs in jabber.conf so that on
startup Asterisk has a list of JIDs to add to nodes as they are created and
their affiliations are configured.  I don't really see any way around that.
 But being able to dynamically modify the affiliations would at least save
you from the hassle of having to restart Asterisk and, worse still, delete
all the existing nodes (much more cumbersome when using XEP-0248 mode which
is itself very much preferable if you're using this feature to integrate
with appropriate end-user clients). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-08 20:49 Marquis        Note Added: 0112095                          
======================================================================




More information about the asterisk-bugs mailing list