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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 22 15:49:25 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-22 15:49 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).

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016760 [patch] Adding manager event JabberStatus
====================================================================== 

---------------------------------------------------------------------- 
 (0119679) phsultan (manager) - 2010-03-22 15:49
 https://issues.asterisk.org/view.php?id=17033#c119679 
---------------------------------------------------------------------- 
Several threads seem to report a similar issue, apparently caused by the
client sending packets too fast to the server :
http://osdir.com/ml/network.jabber.jabberd/2006-04/msg00011.html
http://trac.adium.im/ticket/3798

Could you have Asterisk connect to an XMPP server installed on a remote
computer?

On my side, I can connect Asterisk to the jabberd2 server (2.1.14) we're
running here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-22 15:49 phsultan       Note Added: 0119679                          
======================================================================




More information about the asterisk-bugs mailing list