I am aware that we can create subscriptions which would allow us to get message events per extension:
/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store
But having thousand of extensions would mean that we are going to subscribe for each of extension. This would pose certain problems:
- going through each of the available extensions to subscribe would be inefficient
- any change in the directory(adding or removal of an extension) would also have to be taken care of
Is there any way to do it by just single subscription ?