The PP_ module is the interface to an abstract telephone handler module. This abstract interface is asynchronous. An action is requested and some time later an event is observed.
several entities that may be using it. This is supported through the concept of a Service Access Point (SAP). A Service Access Point is defined as the interface between a service user and a service provider.
Each SAP is identified by the PP_ module through a SAP-Address (PP_SapAddr).
delete a SAP (PP_sapDelete).
user entity.
One or more Phone-Ports can be associated with a SAP. Association of a Phone-Port to a SAP is accomplished through the PP_attach facility. Once a Phone-Port has been attached to a SAP, all events associated with that Phone-Port will be delivered to the SAP to which it is attached. A Phone-Port can be not be attached to more than one SAP.
An action primitive is a request to the
typedef struct PP_Event {
struct PP_Event *next;
struct PP_Event *prev;
PP_PortDesc portDesc;
PP_EventId evtId;
union EventData {
PP_PlayCnf playCnf;
PP_GetDtmfCnf getDtmfCnf;
PP_RecordCnf recordCnf;
PP_DialCnf dialCnf;
} evtData;
} PP_Event;
VM_ module operates on voice messages. A voice message in the D40/MS-DOS implementation is a DOS file.