b2bua: fallback to old behavior if the realm is not present.