With VMPRO everyone by default has rights to call-record while using one-x portal.
However, perhaps, only CERTAIN people should be allowed this right.
Rather than go through 200 some odd users (or whatever number you have) and point all of their manual recording destinations to a phantom mailbox with the mailbox disabled in vmpro (which STILL uses a recording port!!), i figured this may be handy.
Create a module called Recording
Put in a Variable Routing action linked to the start.
Add the allowed users to the variable routing and match it to $CLI and point them to the listen option with Callers Mailbox as the destination
*NOTE* if your ALLOWED users were only doing VRL recording and not mailbox recording, you can just point the start point directly to disconnect. The VRL manual recording users would actually start a "vrlmanual" session instead of Record session, different module name. No need to create a vrlmanual module however, as the Record module will just stop all users dead in their tracks (except vrl users) as mailbox recording is the default in manager.
If you have all your recording users in a set range, use that range to match like 851? to match all 851x extensions.
Add a Disconnect and link it to the No Match.
Now only internal callers that match the list and press record in one-x will be able to record.
This only works when the manual call recording users have their own mailbox set to the destination...I haven't tried it when the destination is different. I suppose you could just link a different LISTEN option to each user (or many users to one listen) and put the destination as a different mailbox than their own (instead of callers mailbox).
the use case for this was that a customer wanted to allow manual VRL recording for X users, with one-x portal while also disabling *any* call recording for anyone else using one-x portal.
Again, you can just make a Record module and link it to disconnect as VRL manual users actually go to a vrlmanual session.
You can even create an alert if you use voicemail to email.
Put an eMail action before the disconnect and have it email you when someone tries to call record even though they aren't allowed to.
Put whatever you want as the subject and put this as the Content (or whatever you want really).
$CLI_NAME - $CLI tried to record a call with $CALLED
on $DATE at $TIME
The call did NOT record!