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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 22 14:42:16 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-04-22 14:42 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
====================================================================== 

---------------------------------------------------------------------- 
 (0120777) jquinn (reporter) - 2010-04-22 14:42
 https://issues.asterisk.org/view.php?id=17033#c120777 
---------------------------------------------------------------------- 
phsultan > Could you have Asterisk connect to an XMPP server installed on a
remote computer?

Normally I have my Asterisk box connected to GoogleTalk, it works fine, I
doubt that helps.

I had some issues, now hopefully resolved with the authentication system
on my server (MacOSX Server 10.6).
First I checked via a normal client that Asterisk’s credentials worked.
Then I tried to connect my Asterisk box to my local instance of Jabberd
again and got different error conditions depending on different
configurations of ‘usetls’, ‘usesasl’ etc.

If you are interested in seeing them, should I post them here or email
them to you? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-22 14:42 jquinn         Note Added: 0120777                          
======================================================================




More information about the asterisk-bugs mailing list