1. A system for processing telephone calls comprising: at least one exchange; and in each exchange: a general analysis program including a plurality of high-level analysis primitives; analysis control data including a plurality of control-level analysis modules; and call control data including a plurality of call records, one for each telephone call through said exchange.