Force User to Enter PIN-Number before dialing out?

I am just evaluating if the following can be done with freepbx:

Certain Extensions should not be able to dialout without entering a PIN Number. The PIN Number must be recorded in CDR. Would be nice if the employee would only have to enter his pin once and make it valid for some hours or until he logs off for comfort reasons.

The sense of it: Different people make calls with the phone -30, later on we want to know which people have phoned how long from the cdr records. We want to recognize the people by pin, not by extension.

Thanks
Christoph

Solution:
Add a pinset and Create an Outbound Route using that pinset.