Slightly misleading comment - is this not extracting the domain if it is a SIP URI, and returning the default home domain if not?