You assign the phones a restriced COR.
Then assing them each an account code that you assing in the "independent account code" form. The account codes will use a COR that is not restricted.
The user then dials the account code FAC along with their assigned account code. They then get dial tone back so they now can dial an outside number.
That's a high level over view.
Ralph