ReadiVoice PSPI Reference
38
Proprietary & Confidential
DeleteGroup()
Stored procedure for deleting a subscriber group. The subscriber group record
isn’t actually deleted; its account status is changed to inactive. You can run a
purge script to periodically remove deleted groups from the database.
This procedure returns an error if there is only one subscriber group (the
default group) or if there are subscribers in the group (other than those already
marked for deletion).
The SPC puts the new data into the CacsEventUpdate table in the database; the
CACS then updates the call router with the data from the temporary table
every ten seconds. There is no option to notify the call router immediately.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
Return Values
Caution!
The CacsEventUpdate table must be purged periodically using the
cleanCacsEvtUpdate.pl script, as described in the
ReadiVoice Administration &
Maintenance Guide
.
Parameter
Data Type
Constraints
Description
vGroupId
INT >0
ID of subscriber group. Must be in database.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).