ReadiVoice PSPI Reference
146
Proprietary & Confidential
AssignPhoneNum()
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).
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).
Содержание ReadiVoice
Страница 1: ...ReadiVoice PSPI Reference ...
Страница 134: ...ReadiVoice PSPI Reference 126 Proprietary Confidential ...
Страница 268: ...ReadiVoice PSPI Reference 260 Proprietary Confidential ...