A firm that provides cloud communications platforms for service providers has agreed to acquire Metaswitch from Microsoft.