NCM_SetDlgSrvStartupMode( )
Description | Cautions | Example | Error Codes | See Also
NCMRetCode NCM_SetDlgSrvStartupMode( ncmStartupMode )
NCMDlgSrvStartupMode ncmStartupMode NCM_SUCCESS if success NCM error code if failure NCMApi.h synchronous Description
The NCM_SetDlgSrvStartupMode( ) function sets Intel® Dialogic System Service startup mode. For more information about the Intel® Dialogic System Service, see Section 2.8, Starting and Stopping the Intel® Dialogic System Service.
The function parameter is defined as follows:
ncmStartupMode new startup mode setting for the Intel® Dialogic System Service; the values for this parameter are: Cautions
If you use the NCM_SetDlgSrvStartupMode ( ) function to set the Intel® Dialogic System Service startup mode to Automatic, the system does not auto-detect devices before starting the Intel® Dialogic System Service. Therefore, the following restrictions apply when the system is rebooted in Automatic mode:
- You cannot add or remove SpringWare devices.
- You cannot add or remove DM3 PCI devices. However, you can replace a DM3 PCI device with an identical device. For example, you can physically remove a DM/V960-4T1-PCI from the system, but you must install another DM/V960-4T1-PCI in the same PCI slot as the original device.
- You can add or remove DM3 CompactPCI (cPCI) devices while the system is powered on. However, you must first use the NCM_StopDlgSrv( ) function to stop the Intel® Dialogic System Service and then use the NCM_DetectBoardsEx( ) function before rebooting the system. Alternatively, you can use the NCM_StopBoard( ) and NCM_StartBoard( ) functions to perform a Hot Swap of the DM3 cPCI device without stopping the Intel® Dialogic System Service or telephony application. Refer to Section 2.9, Single Board Stop/Start (Hot Swap) for more information about Hot Swap.
Example
#include "NCMApi.h" ... // // Execute // // Set startup mode of Dialogic service to Automatic NCMRetCode ncmRc = NCM_SetDlgSrvStartupMode( NCM_DLGSRV_AUTO ); if ( ncmRc != NCM_SUCCESS ) { // process error ... } ...Error Codes
See Also
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation