Legacy v. 2.13.0/2.30.0 PSPI Functions
Proprietary & Confidential
167
UpdateSub_v2130()
Stored procedure for updating a subscriber’s record in the database.
This procedure is similar to
, but has three additional
parameters:
•
The
vPartPlayCount
. If it’s set to
1
,
participants entering a conference hear a message telling them the number
of people (including themselves) in conference.
•
The
vDialoutPrefix
parameter specifies a number to be dialed before the
telephone number when dialing out.
•
The
vDialoutPostFix
parameter specifies a number to be dialed after the
telephone number when dialing out.
The prefix and postfix parameters accommodate the Dial-Out Billing (UDO)
configuration, described in the
ReadiVoice Administration & Maintenance Guide
.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. Note that the
vExternalId
parameter must have a data type of
CHAR(30)
. For syntax rules and constraints applicable to all parameters, see
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
Existing 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.
vCreditCardNumber
CHAR (20)
Credit card number (numeric characters only)
or empty string if not updating billing
information.