[asterisk-dev] [Code Review] 4496: res_xmpp: Buddies are always auto-registered when processing the roster

Matt Jordan reviewboard at asterisk.org
Wed Mar 25 10:30:59 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4496/
-----------------------------------------------------------

(Updated March 25, 2015, 10:30 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Joshua Colp.


Changes
-------

Committed in revision 433396


Bugs: ASTERISK-24780
    https://issues.asterisk.org/jira/browse/ASTERISK-24780


Repository: Asterisk


Description
-------

>From the issue:

{quote}
In both xmpp_roster_hook and xmpp_client_create_buddy, it ignores the XMPP_AUTOREGISTER setting and sets "buddy->subscribe = 1" if there is no subscription.

This is a regression as it was already fixed in ASTERISK-14233. It is extremely inconvenient to have Asterisk send "Greetings! I am the Asterisk Open Source PBX and I want to subscribe to your presence" to everyone in your contact list.

I am sharing my own XMPP account with Asterisk (at a negative priority) and this needs to be a recognised use case where Asterisk should not do inappropriate things.
{quote}

We are indeed ignoring the XMPP_AUTOREGISTER setting. This is due to not properly copying over the global settings to the client settings. Thanks to Simon Arlott for providing the patch for this.


Diffs
-----

  /branches/11/res/res_xmpp.c 432991 

Diff: https://reviewboard.asterisk.org/r/4496/diff/


Testing
-------


Thanks,

Matt Jordan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150325/5b0b8834/attachment.html>


More information about the asterisk-dev mailing list