It is a very small specialised switch. It permits any attached telephones to call each other using shorter numbers and requires the caller to select an “outside line” to make calls outside the switch. A VoIP based PBX is a very common device which can be hardware or a software at the user’s end that manages calls and diverts.