2.8. Starting and Stopping the Intel® Dialogic System Service
The Intel® Dialogic System Service must be started before you can use Intel® Dialogic boards. When it is started, the Intel® Dialogic System Service initializes Intel® Dialogic devices using the configuration parameter values stored in the current system configuration. It also initiates the device drivers through which your telephony applications employ the functionality of Intel® Dialogic boards.
The DCM API also enables you to set the Intel® Dialogic System Service startup mode. When set to Automatic, the Intel® Dialogic System Service starts every time your system boots. When it is set to Manual, the end-user must start the Intel® Dialogic System Service through your client application. Since starting a service requires administrative access privileges, it can be advantageous to set the Intel® Dialogic System Service startup mode to Automatic. However, when the Intel® Dialogic System Service startup mode is set 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 board.
- 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.
The following functions enable you to work with the Intel® Dialogic System Service:
- To initiate starting and stopping the Intel® Dialogic System Service: use the NCM_StartDlgSrv( ) and NCM_StopDlgSrv( ) functions.
- Note: All auto-detectable Intel® Dialogic devices in the system must be detected using either the NCM_DetectBoards( ) function or the NCM_DetectBoardsEx( ) function before the NCM_StartDlgSrv( ) function can be used to start the Intel® Dialogic System Service. Refer to Section 2.6.1, Auto Detection for information about auto-detectable Intel® Dialogic devices.
- To determine whether the Intel® Dialogic System Service is currently running: use the NCM_GetDlgSrvStateEx( ) function.
- To determine whether the Intel® Dialogic System Service starts whenever the system starts: use the NCM_GetDlgSrvStartupMode( ) function.
- To allow or prevent devices from being initialized when the Intel® Dialogic System Service starts: use the NCM_EnableBoard( ) and NCM_IsBoardEnabled( ) functions.
For information about using these functions, see Chapter 4, Function Reference.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation