CIDNumber

Purpose

This function returns the Caller ID number returned from the last (or current) call. This is reset when a new call arrives. The number will only be available if you have the Caller ID service. It may also be some other string like Private or Out or Area if the call was blocked.

Parameters

Parameter: Line
Type: Integer
Description: The phone line to retrieve the information from.

Returns

Return value: Phone number
Type: String
Description: A string that is the callers phone number, or an empty string if the information was not available.

Examples

' get the Caller ID number

dim cnumber

cnumber = hsp.CIDNumber(1)