Browse
 
Tools
Rss Categories

LV_SRE_GetLogFileName

Reference Number: AA-00696 Views: 1323 0 Rating/ Voters

Provides the CallSRE filename where events related to the last decode on the specified voice channel are stored.

Function

  • const char* LV_SRE_GetLogFileName(HPORT hport, int VoiceChannel, char *FileName, int* FileNameStringSize)

Parameters

hport

The port's handle.

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 input hport is not a valid one.

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