Provides the CallSRE filename where events related to the last decode on the specified voice channel are stored.
Function
- int GetLogFileName(int VoiceChannel, char* FileName, int* FileNameStringSize)
Parameters
VoiceChannel
The channel containing the decoded audio
FileName
The buffer where the file name needs to be written.
FileNameStringSize
The maximum length of the FileName buffer.
Return Values
LV_SUCCESS
No errors; Log file name returned
LV_INVALID_BUFFER_SIZE
Indicates that FileNameStringSize is not long enough for the file name.
LV_INVALID_HPORT
The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).
LV_INVALID_SOUND_CHANNEL
The input VoiceChannel is not a valid one.
LV_EXCEPTION
An exception occurred while processing the request.
Remarks
The CallSRE files are stored only if SAVE_SOUND_FILES is set to do so in client_property.conf
See Also