Initializes ISUP management and opens a channel to the TX board.
short isupInitMgmtAPI ( U8 board, U8 srcEnt)
Argument |
Description |
board |
TX board number. |
srcEnt |
Calling application entity ID. |
Return value |
Description |
ISUP_SUCCESS |
|
ISUP_BOARD |
board is out of range. |
ISUP_DRIVER |
Error occurred accessing the driver. |
Call isupInitMgmtAPI before any other actions are taken.
U8 board = 1; /* Tx board number */
U8 srcEnt = MGMT_ENT_ID; /* Entity ID of calling application */
/* open the ISUP management API */
status = isupInitMgmtAPI( board, MGMT_ENT_ID );
if( status != ISUP_MGMT_SUCCESS )
{
printf( "Error: isupInitMgmtAPI [board %d] failed [%d], defaulting to 1\n",
board, status );
}