CreateMessageFilename

Purpose

This function creates a file name for a voice message. The voice message is required to be formatted properly so it can be read by the application. The file name encodes who the message is for, the time it was received, etc.

Parameters

Parameter: Username
Type: String
Description: The user name of the mailbox the message is to be sent to.

Parameter: Number
Type: Integer
Description: The phone number of the caller, usually from Caller ID.

Parameter: Name
Type: String
Description: The name of the caller, usually from Caller ID.

Returns

Return value: File name
Type: String
Description: A string that is the complete path to the file. This string may be passed to the LINERecordStart function to start recording a voice message.