Registering gateway