.NET API
VoiceSessionEndReason
Namespace Tracon · Assembly
Tracon.Abstractions.dllThe reason a voice connection closed.
[JsonConverter(typeof(JsonStringEnumConverter<VoiceSessionEndReason>))]public enum VoiceSessionEndReasonFields
Section titled “Fields”Abandoned = 5
The session was created but nothing ever connected to it, and it timed out.
Deliberately not VoiceSessionEndReason.Error: an abandoned session is not a failure, and folding the two together would hide how often callers create sessions they never use.
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.
Provider = 6
The provider closed the session.
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.