Simply showing the values from the account config doesn't make much sense here. If I got your idea right, you want to show the details of the actual connection. So for my SIP account (which has a NAPTR and SRV record), it shows "Domain: example.com" and "Port: 5060", which is wrong (should be sip.example.com on port 5061). Same would go for XMPP if the server is on a non-standard port (which would easily work as the SRV indicates it) and you'd be interested in the actual server name and not the domain name.