migutica / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

In XMPP dialback google returns gmail.com instead of google.com for hosted domains #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

A domain that has its chat hosted by google needs to define its XMPP srv record 
to google.com

However the domain gmail.com is received from google on the server to server 
dialback.

E.g.

<db:result to="initiating.com" 
from="gmail.com">CAESBxD02=</db:result><db:result to="intiating.com" 
from="receiving.com">CAESBxD12=</db:result><db:verify to="initiating.com" 
from="receiving.com" id="5D31">1f381</db:verify>

receiving.com chat is hosted at Google.

receiving.com have defined their XMPP server srv record to google.com.

However, in the dialback Google returns gmail.com instead of google.com.

Is that a correct behavior?

Original issue reported on code.google.com by avshalom...@gmail.com on 24 Jan 2013 at 4:46