[asterisk-bugs] [Asterisk 0018198]: Jabber service unable to connect to Zimbra XMPP server

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 24 08:10:09 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18198 
====================================================================== 
Reported By:                uxbod
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18198
Category:                   Resources/res_jabber
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-23 08:42 CDT
Last Modified:              2010-10-24 08:10 CDT
====================================================================== 
Summary:                    Jabber service unable to connect to Zimbra XMPP
server
Description: 
Attempting to configure the Asterisk Jabber integration with a Zimbra
Version 6 XMPP server and always failing. What I see when I enable
debugging, in Asterisk, is the following:

voip*CLI> jabber set debug on
Jabber Debugging Enabled.

JABBER: asterisk INCOMING: <?xml version='1.0'
encoding='UTF-8'?><stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
from="domain.net" id="154c29e6" xml:lang="en"
version="1.0"><stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><compression
xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth
xmlns="http://jabber.org/features/iq-auth"/></stream:features>

JABBER: asterisk OUTGOING: <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>

JABBER: asterisk INCOMING: <proceed
xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='domain.net' version='1.0'>

JABBER: asterisk INCOMING: </stream:stream>
[Oct 23 14:37:43] ERROR[26883]: res_jabber.c:1576 aji_act_hook:
aji_act_hook was called with out a packet
[Oct 23 14:37:43] WARNING[26883]: res_jabber.c:1391 aji_recv: Parsing
failure: Hook returned an error.
[Oct 23 14:37:43] WARNING[26883]: res_jabber.c:2742 aji_recv_loop: JABBER:
Got hook event.
[Oct 23 14:37:43] WARNING[26883]: res_jabber.c:2753 aji_recv_loop: JABBER:
socket read error

and from the Zimbra side:

2010-10-23 14:03:22,983 WARN  [AnonymousIoService-15] [] im - Stream error
detected
java.lang.IllegalArgumentException: Illegal JID:
asterisk at domain.net/d20d13a7
	at org.xmpp.packet.JID.init(JID.java:401)

If I connect to the same Zimbra service using Pidgin I am prompted to
accept a self signed SSL cert and then it works fine.

Any ideas ? 

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

---------------------------------------------------------------------- 
 (0128367) pabelanger (manager) - 2010-10-24 08:10
 https://issues.asterisk.org/view.php?id=18198#c128367 
---------------------------------------------------------------------- 
Please attach a complete debug log (see below).
---
We require a complete debug log to help triage the issue.

This document will provide instructions on how to collect debugging logs
from an Asterisk machine for the purpose of helping bug marshals
troubleshoot an issue:

http://svn.digium.com/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-24 08:10 pabelanger     Note Added: 0128367                          
======================================================================




More information about the asterisk-bugs mailing list