LINEGetVoice

Purpose

This function returns the name of the text-to-speech voice currently in use on the given line. This function may be used with hsp.LINESetVoice to temporarily set a new voice then restore it back to default.

Parameters

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

Returns

Return value: Voice name
Type: String
Description: A string that is the name of the currently selected voice.