Example
The following example shows how to determine if the OIA indicates that the message waiting indicator is on.
-------------------------------------------------------------------
// ECLOIA::IsMessageWaiting
//
// Determine status of connection 'A' OIA indicator
//-------------------------------------------------------------------
void Sample56() {
ECLOIA OIA('A'); // OIA object for connection A
if (OIA.IsMessageWaiting())
printf("MessageWaiting.\n");
else
printf("Not MessageWaiting.\n");
} // end sample