The li_attendant( ) API performs the actions of an automated attendant. This API operates in loop forever, synchronous mode and is designed to work in your application as a "created" thread.
To use this function in your application:
To provide a way to terminate the li_attendant( ) thread, you must define a "named event" in the data structure. During the initialization process, the API verifies that the data structure contains valid entries. It checks for the presence of the named event. If the named event exists, li_attendant( ) continues and runs the automated attendant. If the named event does not exist, an error is returned. If the channel is on a non-STC board, li_attendant( ) terminates.
For more information on the synchronous programming model, refer to the Standard Runtime Library Programmer's Guide.
Click here to contact Dialogic Customer Engineering
Copyright 2002, Dialogic Corporation