This MSPL Script allowed to block file transfers to specific domains. It's based on VoIPNorm:
Blocking File Transfers to Federated Users Using Lync MSPL Scripts
https://voipnorm.blogspot.com/2011/08/blocking-file-transfers-to-federated.html
The AllowedDomains.txt allows to specify actions per domain:
- both
- sendonly
- receiveonly
- block
SIPDomain,Action
contoso.com,block
Release Notes
- Version 1.0: 2017/02/02 - Initial release.