LastCallerInfo

Purpose

This function returns the information on the last phone call received on a specific HomeSeer Phone line number, using the format specified in the HomeSeer Phone "Last Caller Message" format box in the Phone Settings screen.

Parameters

Parameter: Line
Type: Integer (.NET Short)
Description: This is the line number that you wish to retrieve the call info from.

Returns

Return value: Call information
Type: String
Description: String formatted according to the format string specification.

Examples

If your "Last Caller Message" format string is this:

#CallerIDName# called at #CallerIDTimeDate# from #CallerIDNumber#

Your returned string would appear similar to this:

Smith, John called at 5/24/2005 11:32:41 AM from 603-555-1234