[asterisk-dev] Jabber / gtalk / facebook / hints / action on XMPP receive

Stefan Gofferje stefan.gofferje at gmx.de
Sat May 14 08:47:07 CDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Addition regarding facebook:

I was able to capture the auth dialog from the asterisk console:

JABBER: facebook_account INCOMING: <?xml version="1.0"?><stream:stream
id="77C5C50D" from="chat.facebook.com" version="1.0"
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"
xml:lang="en"><stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms></stream:features>
[May 14 16:43:34]
JABBER: facebook_account OUTGOING: <iq type='set' id='aaaaa'
to='chat.facebook.com'><query
xmlns='jabber:iq:auth'><username>stefan.gofferje</username><resource>asterisk</resource><digest>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</digest></query></iq>
[May 14 16:43:34]
JABBER: facebook_account INCOMING: <iq from="chat.facebook.com"
id="aaaaa" type="error"><error code="503"
type="cancel"><service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

The password is correct. However, it contains a ",". Could this be the
problem? I tried putting the pw in "" but it didn't change anything.

- -S


- -- 
 (o_   Stefan Gofferje            | SCLT, MCP, CCSA
 //\   Reg'd Linux User #247167   | VCP #2263
 V_/_  Heckler & Koch - the original point and click interface
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk3Oh9sACgkQbQKZlCdPOMM8JACeJ2CRc22aklPyQrVUHWADQrCv
4NcAn0bEmG0Bi7AlhYiYopz1yu43Pqbi
=RIZF
-----END PGP SIGNATURE-----




More information about the asterisk-dev mailing list