ReadiVoice PSPI Reference
182
Proprietary & Confidential
Return Values
AddSubAndAN_v2110()
Stored procedure for adding a new subscriber and new access number(s) to the
database at the same time.
For a description, refer to
, which is very similar. This
procedure adds one new parameter: the
vPartPlayCount
flag. If it’s set to
1
,
participants entering a conference hear a message telling them the number of
people (including themselves) in conference.
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
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
INT
Subscriber ID of new subscriber (if no error).
Parameter
Data Type
Constraints
Description
AccessNumVerify
SMALLINT 0,
1
Validate access number integrity.
0: No; 1: Yes.
NotifyCallRouter
SMALLINT 0,
1
Parameter remains only to maintain backward
compatibility. Regardless of setting, the SPC puts
new data into the CacsEventUpdate table. See
caution above about maintaining this table.
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.