Current PSPI Functions
Proprietary & Confidential
39
DeleteSub_v2320()
Stored procedure for changing a subscriber’s account status to 2 (deleted). You
can run a purge script to periodically remove deleted accounts from the
database.
Identify the subscriber by one of the following:
•
The subscriber ID.
•
The access phone number alone, if it’s private.
•
The access phone number and access code, if the access number is shared.
If you set
DeletePhoneNum
to
1
, and if the access phone number isn’t being
used by any other subscribers, it’s removed from the database.
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.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
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
vSubscriberId
INT 0,
>0
ID of subscriber. Set to 0 if not querying by
subscriber ID. Otherwise, must be in database.
vAccessNum
CHAR (60)
Access phone number of subscriber (numeric
characters only). Set to empty string if not
querying by access number.
vAccessCode
CHAR (20)
Access code of subscriber (numeric characters
only). Set to empty string if not querying by
access number or if access number is private
(no access code).
vDeletePhoneNum SMALLINT 0,
1
Delete access phone number from
phonenumbers table. 0: No; 1: Yes
Содержание ReadiVoice
Страница 1: ...ReadiVoice PSPI Reference ...
Страница 134: ...ReadiVoice PSPI Reference 126 Proprietary Confidential ...
Страница 268: ...ReadiVoice PSPI Reference 260 Proprietary Confidential ...