[asterisk-bugs] [JIRA] (ASTERISK-22435) [patch] jabber/xmpp MWI distributed pubsub issue where the mailbox and context get swapped at the remote end
Kinsey Moore (JIRA)
noreply at issues.asterisk.org
Fri Sep 6 14:35:05 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210038#comment-210038 ]
Kinsey Moore commented on ASTERISK-22435:
-----------------------------------------
FYI, this should already be fixed in 12 and trunk due to the conversion to the Stasis message bus and the rework that it entailed.
> [patch] jabber/xmpp MWI distributed pubsub issue where the mailbox and context get swapped at the remote end
> ------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-22435
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22435
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_jabber, Resources/res_xmpp
> Affects Versions: SVN, 12, 1.8.23.1, 11.5.1
> Environment: AstLinux 1.1.x
> Reporter: abelbeck
> Assignee: Kinsey Moore
> Attachments: asterisk-11-res_xmpp-xmpp_pubsub_handle_event.patch, asterisk-1.8-res_jabber-aji_handle_pubsub_event.patch
>
>
> While testing Distributed Asterisk Events using XMPP PubSub, MWI did not seem to work as expected.
> Snippet from "event dump cache MWI" at remote end...
> --
> Event: MWI
> Mailbox: default
> Context: 21
> OldMessages: 9
> NewMessages: 1
> EntityID: 00:00:24:xx:xx:xx
> --
> Snippet from "xmpp set debug on" at remote end...
> --
> <items node='message_waiting'>
> <item id='21 at default'><mailbox eid='00:00:24:xx:xx:xx' xmlns='http://asterisk.org'>
> <NEWMSGS>1</NEWMSGS>
> <OLDMSGS>9</OLDMSGS>
> </mailbox>
> --
> Notice the MWI cache has the Mailbox and Context reversed.
> This issue seems to effect all Asterisk versions supporting Distributed Asterisk Events using XMPP PubSub.
> Attached are patches for Asterisk 1.8 and 11. 12 and SVN res_xmpp.c is slightly different, but easily extrapolated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list