Asterisk/FreePBX + Multiple Pin Sets to Restrict International Dialing
I have a bit of a weird setup and I was wondering if you guys could help me out or make a suggestion as to the best way to solve it.
We have 60 phones throughout our campus, 50 are in offices (secure'ish) and 10 are in public areas (Staffrooms & boardrooms).
We've had some problems recently with staff using some of the phones in the public areas to make a lot of personal calls and we have decided to implement Pin Sets which allows us to better track who's actually making the calls.
At the time, we also want to restrict who can make international calls.
I've created 2 pin sets: "Local" and "International" and I've also created 2 outbound routes which uses dial patters to determine if the call is an international call (the it requires the "International" pin set, and if it's local, then it requires the "Local" pin set).
Seems simple enough, however, all of those with phones in their offices are now required to enter a pin whenever they want to phone.
So I have allowed pinless dialing on their extensions but now the "International" pin sets are ignored. Obviously we are able to see if one of these extensions has dialed an international number, but only after is has happened.
Can anybody suggest a better way of setting this up?