ReadiVoice PSPI Reference
238
Proprietary & Confidential
The new number’s access number type (private or shared) must match the
number type of the subscriber’s existing phone number(s), and its access class
must
not
match an existing phone number’s access class (a subscriber can have
only one access number per access class).
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
Parameter
Data Type
Constraints
Description
vSubId
INT
>0
ID of subscriber. Must be in database.
vAccCode
CHAR(20)
New access code (optional for shared access
type; not valid for private).
vShared
INT 0,
1
Access number type. 0: Private; 1: Shared.
vClassName
CHAR(30)
Desired access class of new phone number.
Must be in database.
vRoutingList INT >0
Desired routing list ID. Must be in database.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
CHAR(30)
Access number (allocated phone number).