[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:15 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
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:                     feedback
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 ? 

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-24 08:10 pabelanger     Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list