[asterisk-users] Google Voice / Jabber auth problem

Andrew McRory andrew.mcrory at sayso.net
Fri Jun 15 12:21:25 CDT 2012


It looks we have to change the name as two @ appears to break the rules...

http://xmpp.org/rfcs/rfc3920.html#addressing

Thanks,

Andrew McRory
Sayso Communications, Inc.
2850 Industrial Plaza
Tallahassee, Florida 32301
Office) 850-224-5737
Mobile) 850-778-3206

On 6/15/2012 11:47 AM, Andrew McRory wrote:
> Yes, that and every else I can think of! Thanks.
>
> Andrew McRory
> Sayso Communications, Inc.
> 2850 Industrial Plaza
> Tallahassee, Florida 32301
> Office) 850-224-5737
> Mobile) 850-778-3206
>
> On 6/15/2012 11:31 AM, Vladimir Mikhelson wrote:
>> 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,
>>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list