Current PSPI Functions
Proprietary & Confidential
23
Return Values
AddSubAndAN_v2550()
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. This procedure requires ReadiVoice v. 2.55.0 or later.
To add a subscriber and assign more than three access numbers at the same
time, use
(requires ReadiVoice v. 2.56.0 or later).
This procedure is similar to
, but has:
•
One new parameter. The
vExternalIdB
parameter specifies the value to
put in the new External ID B field added to the subscriber record. Set this
parameter to
-1
if not using.
•
One new validity check. If Name Record is on and configurable, but
Entry/Exit Announcement is Name and not configurable, then the
subscriber can turn off Name Record, but the Announcement setting must
remain Name. To prevent this undesirable combination, the procedure
returns an error if
vNameRecord
,
vNameRecordEnable
, and
vRollCall
are
all set to
1
, but
vRollCallEnable
is set to
0
.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. 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).
There is no AddSub_v2550( ) 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.
Содержание ReadiVoice
Страница 1: ...ReadiVoice PSPI Reference ...
Страница 134: ...ReadiVoice PSPI Reference 126 Proprietary Confidential ...
Страница 268: ...ReadiVoice PSPI Reference 260 Proprietary Confidential ...