Techniques for storing data used in making announcements in telephone
communications are disclosed. In an embodiment, an announcement depends
on classes of services associated with telephone subscribers. The classes
of services represent call types or call features such as call-forwarding
unconditional, call-forwarding busy, call-forwarding no answer, etc. A
first database associates subscribed phone numbers with a class of
service. A second database defines the class of services such as the call
types, the telephone digit pattern in the subscribed telephone numbers,
the condition for an announcement, etc. A third database defines a
default class of service for use in case a phone number is not associated
with a class of service in the first database.