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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 4 16:03:47 CST 2009


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
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                        
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:              2009-11-04 16:03 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0113157) kael (reporter) - 2009-11-04 16:03
 https://issues.asterisk.org/view.php?id=15757#c113157 
---------------------------------------------------------------------- 
I haven't tested the XMPP Pubsub support yet but I'd have some suggestions
based on what I've read.

It may be better to use Pubsub-On-Jid as defined by
http://xmpp.org/extensions/xep-0060.html#presence .

This would have two advantages :

- It'd make possible to define pseudo-standard Pubsub nodes that could
hence be automatically discovered by all clients (ideally, defining such
nodes in XEP would be better). Whereas using classic Pubsub doesn't make
easy to automatically discover nodes ;

- Clients could easily subscribe and unsubscribe for events notifications
by using filtered notifications with '+notify' as defined by
http://xmpp.org/extensions/xep-0060.html#filtered-notifications . This
would be a way to temporarily suspend notifications.

There could be for example the following node
'http://asterisk.org/notification/voicemail' and client wishing to receive
notifications for such events would simply have to publish
'http://asterisk.org/notification/voicemail+notify' in their capability
features.

BTW, which format do use in the payload ? Do you use PIDF ? I'd be curious
to know what Pubsub messages look like. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-04 16:03 kael           Note Added: 0113157                          
======================================================================




More information about the asterisk-bugs mailing list