[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:32 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13411 
====================================================================== 
Reported By:                caio1982
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   13411
Category:                   Resources/res_jabber
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
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 :-(
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-09 16:59 svnbot         Status                   new => assigned     
2008-09-09 16:59 svnbot         Assigned To               => phsultan        
======================================================================




More information about the asterisk-bugs mailing list