The invention concerns a method and a system for real-time addition of
statistics definitions and for achieving real-time reporting in a
telephone switching system, comprising a database containing information
of essential importance to the telephone switching system; a database
manager whose function is to maintain the database; and one or more
service providers. In the method, a registration of the service provider
is received by the database manager; the service provider is asked by
means of the database manager to supply information about the services.