Current PSPI Functions
Proprietary & Confidential
51
GetSubAN_v2520()
Stored procedure for retrieving a list of all access phone numbers assigned to
a subscriber, along with related information about those access numbers.
This procedure is similar to
, but it also returns the
associated hidden number, access number type, and number group for each
access phone number. The end of the list is marked by a list member with the
CHAR
values set to empty strings and the
INT
values set to 0.
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
LocalSubId INT
>0
ID of subscriber. Must be in database.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
CHAR (60)
Access phone number.
CHAR (60)
Hidden phone number.
INT
Access class ID.
CHAR (30)
Access class name.
INT
Access number type. 0: Shared; 1: Private.
INT
Number group.