Or you can disable the digest-md5 authentication mechanism on OpenFire. I remember an old related bug : https://issues.asterisk.org/view.php?id=11644
On Mon, Jul 6, 2009 at 8:55 PM, Julian Lyndon-Smith<[email protected]> wrote: > usetls=no > > Julian > > jonas kellens wrote: >> On Mon, 2009-07-06 at 16:18 +0100, Julian Lyndon-Smith wrote: >>> I can assure you that it works, and that it works well. We use it ;) >> >> My jabber.conf : >> >> [general] >> debug=yes ;;Turn on debugging by default. >> autoprune=no ;;Auto remove users from buddy list. >> autoregister=yes ;;Auto register users from buddy >> list. >> >> [asterisk] ;;label >> type=client ;;Client or Component connection >> serverhost=192.168.2.5 ;;Route to server for example >> talk.google.com >> [email protected] ;;Username with optional roster. >> secret=XXXXXX ;;Password >> port=5222 ;;Port to use defaults to 5222 >> usetls=yes ;;Use tls or not >> usesasl=yes ;;Use sasl or not >> statusmessage="I am Asterisk" ;;Have custom status message for >> Asterisk. >> ;timeout=100 ;;Timeout on the message stack. >> >> Then I get the following : >> >> [Jul 6 20:07:57] >> JABBER: asterisk INCOMING: <?xml version='1.0' >> encoding='UTF-8'?><stream:stream >> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" >> from="openfire.jocan.local" id="56ff9859" xml:lang="en" >> version="1.0"><stream:features><mechanisms >> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression >> xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth >> xmlns="http://jabber.org/features/iq-auth"/><register >> xmlns="http://jabber.org/features/iq-register"/></stream:features> >> [Jul 6 20:07:57] >> JABBER: asterisk OUTGOING: <auth >> xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/> >> [Jul 6 20:07:57] >> JABBER: asterisk INCOMING: <challenge >> xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09Im9wZW5maXJlLmpvY2FuLmxvY2FsIixub25jZT0iSngyRVZCRmlDNlI4K1hlMU5rbm9PUUNWT1VEN1pGMEpXcnRydUxjdiIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge> >> [Jul 6 20:07:57] >> JABBER: asterisk OUTGOING: <response >> xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImFzdGVyaXNrIixyZWFsbT0ib3BlbmZpcmUuam9jYW4ubG9jYWwiLG5vbmNlPSJKeDJFVkJGaUM2UjgrWGUxTmtub09RQ1ZPVUQ3WkYwSldydHJ1TGN2Iixjbm9uY2U9IjQzZTVmYjFkNjZiMTU2OGI1MDFjNzk0ZDQ0MzMyYzFiIixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwLzE5Mi4xNjguMi41IixyZXNwb25zZT1kNGUxYzQ0ZDM0OGNjNWJkN2E2MzJiNzdmZjRjZTQ0OCxjaGFyc2V0PXV0Zi04</response> >> [Jul 6 20:07:57] >> JABBER: asterisk INCOMING: <failure >> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure> >> [Jul 6 20:07:57] ERROR[24565]: res_jabber.c:606 aji_act_hook: JABBER: >> encryption failure. possible bad password. >> >> I am 100% sure I have the correct password ! >> >> I even took a very simple password without any special characters... >> >> Can you advise ?? >> >> Jonas. > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Philippe Sultan _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
