VoiceSessionEndReason
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe reason a voice connection closed.
[JsonConverter(typeof(JsonStringEnumConverter<VoiceSessionEndReason>))]public enum VoiceSessionEndReasonFields
Section titled “Fields”Client = 0
The client sent stop or closed the socket cleanly.
DurationLimit = 2
The connection reached the maximum allowed duration.
Error = 3
An error closed the connection.
IdleTimeout = 1
The connection sat idle and timed out.
ServerShutdown = 4
The server is shutting down.
Remarks
Section titled “Remarks”Written as a name in JSON; stored as smallint in
the database. The numeric values are stable and must not change.