ReadiVoice PSPI Reference
302
Proprietary & Confidential
UpdateSubscriber()
Stored procedure for updating subscriber information in the database.
Compatible with v. 1.10.0 or later of the software.
This procedure expects the v. 1.10.0-compatible values for the Roll Call feature
(0-3). It maps these to current values as follows:
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
If vRollCall is set to:
SP sets these values in database:
0
(Unavailable)
RollCallEnable = 0
1
(Tone)
RollCallEnable = 1
RollCall = 0
2
(Name)
RollCallEnable = 1
RollCall = 1
NameRecord = 1
NameRecordEnable = 1
3
(Silence)
RollCallEnable = 1
RollCall = 2
Parameter
Data Type
Constraints
Description
vSubscriberId
INT >0
ID of subscriber to update.
vBillingType
SMALLINT 0,
1
Type of billing. 0: Credit card; 1: Phone
number. Set to 0 if not updating billing
information.
vBillingPhone CHAR
(30)
Phone number to bill or empty string if not
updating billing information.
vBillingAddress CHAR
(255)
Billing address or empty string if not updating
billing information.
vBillingId
INT <0,
>0
Billing ID (from database) if updating billing
information. Negative number if not updating
billing information.
vCreditCardType SMALLINT 0–3
Type of credit card. 0: Visa; 1: MC; 2: Amex;
3: Discover. Set to 0 if not if not updating billing
information.