[asterisk-bugs] [Asterisk 0017033]: Jabber Module, crash and/or no authentication

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 15 14:59:28 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17033 
====================================================================== 
Reported By:                jquinn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17033
Category:                   Resources/res_jabber
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 16449 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-15 13:13 CDT
Last Modified:              2010-03-15 14:59 CDT
====================================================================== 
Summary:                    Jabber Module, crash and/or no authentication
Description: 
Before moving from Asterisk 1.4.n to 1.6.2.n, I was using Jabber as a
logging/tracking mechanism for my PBX.
With my previously working settings moved to 1.6.2.n, Asterisk crashes
within minutes.

I tried switching Asterisk to use iChat Server (Jabberd) on a Mac OSX Snow
Leopard server.

Providing a configuration that is identical to a working test client,
Asterisk’s res_jabber is not able to hold a connection open.

Here is my config, with some info redacted :
[general]
debug=yes				                            ;;Turn on debugging by default.
autoprune=no				                        ;;Auto remove users from buddy
list.
autoregister=no			                        ;;Auto register users from buddy
list. 

[fiveone]				                      ;;label
type=client				                          ;;Client or Component connection
serverhost=chat.fiveone.org
username=pbx at fiveone.org						  ;;Username with optional roster.
secret=***************				          ;;Password
port=5222				                            ;;Port to use defaults to 5222
usetls=yes				                          ;;Use tls or not
usesasl=yes				                          ;;Use sasl or not
buddy=xxxxx at fiveone.org		              ;;Manual addition of buddy to
list.
statusmessage=Up and Running		            ;;Have custom status message
for
					                                  ;;Asterisk.
timeout=100				                          ;;Timeout on the message stack.

auth_policy=accept			;;Auto accept users' subscription requests
(default).

====================================================================== 

---------------------------------------------------------------------- 
 (0119414) lmadsen (administrator) - 2010-03-15 14:59
 https://issues.asterisk.org/view.php?id=17033#c119414 
---------------------------------------------------------------------- 
I can confirm this as I saw this the other day when using Asterisk trunk
(and likely comes up in 1.6.2 as well, although I haven't found that
crashing in my 1.6.2 yet).

However, to move this forward, you'll need to provide a backtrace per the
doc/backtrace.txt documentation in your Asterisk source.

Of note is that you'll need to enable DONT_OPTIMIZE in menuselect within
the Compiler Flags section, and the re-compile and install.

More information is in the backtrace.txt document I pointed you at. Once
you've gotten the backtrace file, upload it as a text file attachment to
this issue.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-15 14:59 lmadsen        Note Added: 0119414                          
======================================================================




More information about the asterisk-bugs mailing list