Legacy v. 2.10.0 PSPI Functions
Proprietary & Confidential
187
AddSub_v2100()
Stored procedure for adding a subscriber to the database.
The access phone number specified for the new subscriber must already exist
in the database. To add a new subscriber and a new access number at the same
time, use
, but adds three new parameters:
•
The
PromptSubscriber
flag, if set to
1
, specifies that the call flow for this
subscription should include a prompt asking the subscriber to press the
star (
*
) key to identify him or herself.
•
The
ConfTermOption
flag specifies how the system handles a conference
that contains the minimum number of participants (set in SysConfig) for a
certain period of time. If it’s set to
1
or
2
, the system prompts the
participant(s) to respond by touchtone to keep the conference going. If
there is no response, the system alerts an operator (if the setting is
1
) or
automatically terminates the conference (if the setting is
2
).
•
The
ConfTermTime
parameter specifies the period of time (in minutes) that
triggers the
ConfTermOption
process. Valid values are from
5
to
480
(inclusive).
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
vEntryDate
DATETIME
YEAR TO
MINUTE
Time of creation.
vActivationDate
DATETIME
YEAR TO
MINUTE
Time of activation.
vBillingId
INT
-1, >0
Existing billing ID (from database) or -1 to let
system generate a new billing ID.
vBillingType
SMALLINT
0, 1
Type of billing. 0: Credit card; 1: Phone
number.
vBillingPhone
CHAR (30)
Phone number to bill or empty string.
vBillingAddress
CHAR (255)
Billing address or empty string.