
ReadiVoice PSPI Reference
100
Proprietary & Confidential
DelAssignedPN()
Stored procedure for deleting an access phone number from a subscriber’s
account. Compatible with v. 1.30.0 or later of the software. If all the access
phone numbers for a subscriber are deleted, the subscriber is marked inactive.
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
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.
Parameter
Data Type
Constraints
Description
LocalSubId
INT
>0
ID of subscriber. Must be in database.
LocalDelAccNum
CHAR (60)
Access phone number to delete. Must be in
database.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).