[asterisk-bugs] [Asterisk 0013411]: [patch] undesired autoprune behavior might delete all your contacts

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 9 16:59:31 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13411 
====================================================================== 
Reported By:                caio1982
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13411
Category:                   Resources/res_jabber
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 140553 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-01 14:35 CDT
Last Modified:              2008-09-09 16:59 CDT
====================================================================== 
Summary:                    [patch] undesired autoprune behavior might delete
all your contacts
Description: 
I've tested the following scenario and, IMHO, the default autoprune should
not be set on. It's too dangerous for the regular user or admin to be
enabled for new installations. I don't see any clear reason to have it on,
bear with me if it's really required (I'm not familiar with the Jabber
spec).

I log in with my FOO account on Gmail/Gtalk and add 150 friends to my
Jabber-based client, online. Then I register this very same account with
res_jabber so I can make sure it's fully working and stuff. As soon
Asterisk loads it up it sets a global AJI_AUTOPRUNE to true. Suddenly ALL
my 150 contacts are gone on my Gtalk list. The only way to restore the list
is to re-add them all (which is a PITA for my friends, not for me).

I've lost my all contacts when testing res_jabber due this, I hope
autoprune is disabled by default in the next releases :-(
====================================================================== 

---------------------------------------------------------------------- 
 (0092281) svnbot (reporter) - 2008-09-09 16:59
 http://bugs.digium.com/view.php?id=13411#c92281 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 142280

U   trunk/CHANGES
U   trunk/configs/jabber.conf.sample
U   trunk/res/res_jabber.c

------------------------------------------------------------------------
r142280 | phsultan | 2008-09-09 16:59:29 -0500 (Tue, 09 Sep 2008) | 6
lines

Disable autoprune by default.
(closes issue http://bugs.digium.com/view.php?id=13411)
Reported by: caio1982
Patches:
      res_jabber_autoprune1.diff uploaded by caio1982 (license 22)
Tested by: caio1982
------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=142280 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-09 16:59 svnbot         Checkin                                      
2008-09-09 16:59 svnbot         Note Added: 0092281                          
======================================================================




More information about the asterisk-bugs mailing list