[asterisk-dev] [Code Review] 4496: res_xmpp: Buddies are always auto-registered when processing the roster
Matt Jordan
reviewboard at asterisk.org
Sat Mar 14 10:21:20 CDT 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4496/
-----------------------------------------------------------
Review request for Asterisk Developers and Joshua Colp.
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/20150314/c4b295d3/attachment.html>
More information about the asterisk-dev
mailing list