Browse
 
Tools
Rss Categories

LVSpeechPort::GetCallGuid

Reference Number: AA-00760 Views: 7292 0 Rating/ Voters

This function is used to get the ID used in callsre logging.

Function

  • int GetCallGuid(char* CallGuid, int CallGuidLength)

Parameters

CallGuid

A pointer to the container to receive the call ID.

CallGuidLength

The length of the call ID.

Return Values

LV_SUCCESS

No errors; a copy of the call ID has been placed in CallGuid and the length in CallGuidLength.

LV_FAILURE

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call) or the PROP_EX_SAVE_SOUND_FILES property wasn't enabled.

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

It can be used to link event across SRE ports and TTS ports to the same call log. This can only be used in conjuction with PROP_EX_SAVE_SOUND_FILES enabled and the events EVENT_START_DECODE_SEQ and EVENT_END_DECODE_SEQ.

See Also