ReadiVoice PSPI Reference
90
Proprietary & Confidential
AddSubAcm()
Stored procedure for adding an Application Control Mode (ACM) option to a
subscriber. Compatible with v. 2.00.0 or later of the software if ACM is
installed and configured.
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
AddSubAndAN_v2320()
Stored procedure for adding a new subscriber and, optionally, new access
number(s) to the database at the same time. You can specify up to three access
numbers for a new subscriber even if those access numbers don’t currently
exist in the database.
First, the procedure attempts to add the first access number to the database. If
this access number already exists, the procedure simply skips the add process
and continues. Next, the procedure adds the subscriber to the database and
assigns the first access number to the new subscriber. If you specified
Parameter
Data Type
Constraints
Description
vSubId
INT
>0
ID of subscriber; must be in subscriberinfo
table.
vAcmId INT
>0
ID of ACM option; must be in acmoptions table.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
There is no AddSub_v2320( ) procedure. Use this procedure for all add subscriber
operations; simply specify an existing access number or numbers if not adding new
access number(s) at the same time.