[Home]

Summary:ASTERISK-07074: res_jabber cannot login on jabber server
Reporter:Kai Militzer (kmilitzer)Labels:
Date Opened:2006-06-01 08:46:04Date Closed:2006-06-29 08:43:55
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_jabber
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ast2.xml
( 1) debug.log
( 2) jabber_debug
( 3) jabber.conf
( 4) trace.cap
( 5) with_sasl.log
Description:When res_jabber is loaded it should register itself with an account to an jabber server. It does not do that. It seems that the paket with the credentials is not build correctly, as the Server always returns an 401 Unauthorized.

I will add my jabber.conf, a capture of the jabber packages, the config file from the jabberd for the user and the asterisk debug output.
Comments:By: Jeffrey C. Ollie (jcollie) 2006-06-01 09:20:03

1) What server software are you using? What version?
2) Is your server set up to reject plaintext authentication?  If both TLS and SASL are turned off passwords will be sent in the clear and the server may reject that. Try turning on just SASL on asterisk and see if that helps.

By: Kai Militzer (kmilitzer) 2006-06-02 02:40:33

1) Currently I am using jabber 1.4.3-3 from debian sarge. The same problems occured with tests with 2.0s10-0bpo1 also the debian sarge package.

2) If I turn on sasl even less happens (at least with jabber 1.4). Debug output is added as a file.

I also turned on debugging on jabber and got some more information. It really looks that the hashes calculated for the passwords differ, even if the password are the same.

By: Matt O'Gorman (mogorman) 2006-06-06 12:42:30

sorry for the delay, could you message me mogorman@digium.com so we can resolve this issue, id be very suprised that it does not work with jabberd 1.4 as that is what we run here at digium and I have had it connect successfully several times.

By: Andrey S Pankov (casper) 2006-06-18 13:23:01

Still an issue?

By: Kai Militzer (kmilitzer) 2006-06-19 03:01:38

Yes, still an issue, but getting in touch with mogorman via jabber failed because of timezone differences. The mails I wrote instead did not get answered. :(

By: Jeffrey C. Ollie (jcollie) 2006-06-19 10:03:27

Have you tried having Asterisk register with a different Jabber server?  There are a number of publically accessible Jabber servers (see http://www.xmpp.net/) for a list.  The server run by jabber.org (see http://status.jabber.org/) seems to work well.

By: jmls (jmls) 2006-06-19 18:06:58

Wildfire server works very well for us, using svn trunk. Matt has been very helpful in fixing several issues that we've found. There have been a fair amount of changes in the trunk - have you tried upgrading ?

By: Serge Vecher (serge-v) 2006-06-28 14:28:35

kmilitzer: still having this issue with latest trunk and after trying suggestions?

By: Kai Militzer (kmilitzer) 2006-06-29 01:37:36

Sorry for the delay, I was on vacation last week. It now works with the latest trunk and with external jabber server.

By: Serge Vecher (serge-v) 2006-06-29 08:43:54

Cool, thanks for confirming and thanks to jcollie / jmls for productive suggestions.