ReadiVoice PSPI Reference
AssignPhoneNum()
Parameters
Parameter
vSubId
vAccCode
vShared
vClassName
vRoutingList
Return Values
146
Stored procedure for adding an access phone number to a subscriber's account
and, optionally, changing the subscriber's access code. This procedure is
compatible with v. 1.30.0 or later of the software.
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).
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
"Calling Stored Procedures"
Data Type
Constraints
INT
>0
CHAR(20)
INT
0, 1
CHAR(30)
INT
>0
Data Type
INT
CHAR(30)
on page 4.
Description
ID of subscriber. Must be in database.
New access code (optional for shared access
type; not valid for private).
Access number type. 0: Private; 1: Shared.
Desired access class of new phone number.
Must be in database.
Desired routing list ID. Must be in database.
Description
Return code (0: OK; otherwise, error code).
Access number (allocated phone number).
Proprietary & Confidential
Need help?
Do you have a question about the ReadiVoice and is the answer not in the manual?
Questions and answers