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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 18 09:48:43 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:                     feedback
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-18 09:48 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).

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

---------------------------------------------------------------------- 
 (0119541) jquinn (reporter) - 2010-03-18 09:48
 https://issues.asterisk.org/view.php?id=17033#c119541 
---------------------------------------------------------------------- 
I tried what you suggested but could no longer reproduce the problem.
Asterisk would no longer crash (quickly) compiled with or without the
compile optimisation setting in make menuselect.
The res_jabber module is happily talking to Google Talk.
No resolution to the problems talking to MacOSX iChat server yet. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-18 09:48 jquinn         Note Added: 0119541                          
======================================================================




More information about the asterisk-bugs mailing list