Custom Extension

I have been trying out freepbx for quite sometime now, and am looking ways for it to replace our existing panasonic pbx in the company… as i evaluate it and compare features, i came across with the COS feature of the panasonic. It can restrict/unrestrict certain extensions from making outbound calls. Or only select certain routes that it can use… Can freepbx/trixbox/asterisk do this? Thanks and best regards…