NAME
iraRemoveADChannel, iraRemoveADDnisani - remove an entry
from the Application Dispatch channel and DNIS/ANI table
SYNOPSIS
#include <irapi-ad.h>
int iraRemoveADChannel(int chan, int mode)
int iraRemoveADDnisani(const IRA_STR_RANGE *dnisrange, const
IRA_STR_RANGE *anirange)
DESCRIPTION
Function iraRemoveADChannel removes the entry specified by
chan for dispatch mode mode from the Application Dispatch
channel table.
Function iraRemoveADDnisani removes the entry specified by
the dnis range dnisrange and ani range anirange into the
Application Dispatch DNIS/ANI table.
The global parameter IRP_AD_READ_ONLY must be set to
IRD_READWRITE or both functions will return an error.
RETURN VALUE
IRR_OK if successful.
IRR_FAIL on error.
ERROR
On error, irError is set as follows:
IRER_INVALID if an invalid argument is passed in.
IRER_NOTFOUND if the specified entry was not found.
IRER_PERMISSION if the global parameter IRP_AD_READ_ONLY is
not set to IRD_READWRITE.
IRER_SYSERROR if a system error occurred, errno will be set
accordingly.
SEE ALSO
iraAddAD(3IRAPI-AD), iraReadAD(3IRAPI-AD),
iraQueryAD(3IRAPI-AD), IRAPI-AD(4IRAPI-AD)
VERSION
This is version 11/25/02 of this man page.