asterisk-1.8.13.0 iksemel-1.4 I have a client who setup a gvoice account using their domain in the login name: username=client at theirdomain@gmail.com This appears to have caused a problem with authentication. I've tried escaping the @ and quoting the login string, etc. but it simply won't authenticate. I don't believe my configuration is bad as the same server / configuration will authenticate using a login that is of standard format: username=user at gmail.com Debugging indicates that the first word in the username field is dropped: ==== jabber set debug on ==============================================JABBER: accountone INCOMING: <stream:stream from="domain.com at gmail.com" id="C28AAAAAAAC2E0" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"><stream:features><starttlsxmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls> <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features> JABBER: accountone OUTGOING: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> JABBER: accountone INCOMING: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> JABBER: accountone OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='domain.com at gmail.com' version='1.0'> JABBER: accountone INCOMING: <stream:stream from="domain.com at gmail.com" id="3439AAAAAAA8B" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> JABBER: accountone INCOMING: <stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features> JABBER: accountone OUTGOING: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNoYXNvbmhvbWVzAGF3Z2MxOTI4</auth> JABBER: accountone INCOMING: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><invalid-authzid/></failure> JABBER: accountone INCOMING: </stream:stream> JABBER: accountone OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='domain.com at gmail.com' version='1.0'> ======================================================================= Is this a bug or can it be made to work somehow? Thank you, -- Andrew McRory Sayso Communications, Inc. 2850 Industrial Plaza Tallahassee, Florida 32301 Office) 850-224-5737 Mobile) 850-778-3206 -- Andrew McRory Sayso Communications, Inc. 2850 Industrial Plaza Tallahassee, Florida 32301 Office) 850-224-5737 Mobile) 850-778-3206
Vladimir Mikhelson
2012-Jun-15 15:31 UTC
[asterisk-users] Google Voice / Jabber auth problem
Andrew, Did you try "username=client at theirdomain.tld"? -Vladimir On 6/15/2012 9:42 AM, Andrew McRory wrote:> asterisk-1.8.13.0 > iksemel-1.4 > > I have a client who setup a gvoice account using their domain in the > login name: > > username=client at theirdomain@gmail.com > > This appears to have caused a problem with authentication. I've tried > escaping the @ and quoting the login string, etc. but it simply won't > authenticate. I don't believe my configuration is bad as the same > server / configuration will authenticate using a login that is of > standard format: > > username=user at gmail.com > > Debugging indicates that the first word in the username field is dropped: > > ==== jabber set debug on ==============================================> JABBER: accountone INCOMING: <stream:stream > from="domain.com at gmail.com" id="C28AAAAAAAC2E0" version="1.0" > xmlns:stream="http://etherx.jabber.org/streams" > xmlns="jabber:client"><stream:features><starttlsxmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls> > <mechanisms > xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features> > > JABBER: accountone OUTGOING: <starttls > xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> > > JABBER: accountone INCOMING: <proceed > xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> > > JABBER: accountone OUTGOING: <?xml version='1.0'?><stream:stream > xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' > to='domain.com at gmail.com' version='1.0'> > > JABBER: accountone INCOMING: <stream:stream > from="domain.com at gmail.com" id="3439AAAAAAA8B" version="1.0" > xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> > > JABBER: accountone INCOMING: <stream:features><mechanisms > xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features> > > > JABBER: accountone OUTGOING: <auth > xmlns='urn:ietf:params:xml:ns:xmpp-sasl' > mechanism='PLAIN'>AGNoYXNvbmhvbWVzAGF3Z2MxOTI4</auth> > > JABBER: accountone INCOMING: <failure > xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><invalid-authzid/></failure> > > JABBER: accountone INCOMING: </stream:stream> > > JABBER: accountone OUTGOING: <?xml version='1.0'?><stream:stream > xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' > to='domain.com at gmail.com' version='1.0'> > =======================================================================> > Is this a bug or can it be made to work somehow? > > Thank you, >