Extended AsteriskVersion Enum

Added an "Unknown" option.
Added Asterisk version up to 17.
Added a "Newer" option.
This commit is contained in:
Deantwo 2020-01-21 10:47:48 +01:00 committed by GitHub
parent cd3934aa53
commit acd9e885cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,11 @@
namespace AsterNET.Manager
{
/// <summary>
/// Asterisk Version
/// </summary>
public enum AsteriskVersion
{
Unknown = 0,
ASTERISK_1_0 = 10,
ASTERISK_1_2 = 12,
ASTERISK_1_4 = 14,
@ -10,6 +14,11 @@ namespace AsterNET.Manager
ASTERISK_10 = 100,
ASTERISK_11 = 110,
ASTERISK_12 = 120,
ASTERISK_13 = 130
ASTERISK_13 = 130,
ASTERISK_14 = 140,
ASTERISK_15 = 150,
ASTERISK_16 = 160,
ASTERISK_17 = 170,
ASTERISK_Newer = 999
}
}
}