Added support for asterisk13 in AMI
This commit is contained in:
parent
a76d37a7f1
commit
afc7f39b04
|
@ -11,6 +11,7 @@ namespace AsterNET.Manager
|
||||||
ASTERISK_1_8 = 18,
|
ASTERISK_1_8 = 18,
|
||||||
ASTERISK_10 = 100,
|
ASTERISK_10 = 100,
|
||||||
ASTERISK_11 = 110,
|
ASTERISK_11 = 110,
|
||||||
ASTERISK_12 = 120
|
ASTERISK_12 = 120,
|
||||||
|
ASTERISK_13 = 130
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1459,6 +1459,8 @@ namespace AsterNET.Manager
|
||||||
return Manager.AsteriskVersion.ASTERISK_11;
|
return Manager.AsteriskVersion.ASTERISK_11;
|
||||||
else if (version.StartsWith("12."))
|
else if (version.StartsWith("12."))
|
||||||
return Manager.AsteriskVersion.ASTERISK_12;
|
return Manager.AsteriskVersion.ASTERISK_12;
|
||||||
|
else if (version.StartsWith("13."))
|
||||||
|
return Manager.AsteriskVersion.ASTERISK_13;
|
||||||
else
|
else
|
||||||
throw new ManagerException("Unknown Asterisk version " + version);
|
throw new ManagerException("Unknown Asterisk version " + version);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
28.10.2014 (skrusty)
|
||||||
|
added support for Asterisk 13 in version parser in ManagerConnection.cs and AsteriskVersion.cs
|
||||||
|
|
||||||
12.06.2014 (mrmad)
|
12.06.2014 (mrmad)
|
||||||
Removed TraceCallerThread functionality.
|
Removed TraceCallerThread functionality.
|
||||||
Changed ManagerReader worker thread creation logic (no longer uses Util.ThreadClass). Thread defaulted to stop automatically when application. ends.
|
Changed ManagerReader worker thread creation logic (no longer uses Util.ThreadClass). Thread defaulted to stop automatically when application. ends.
|
||||||
|
|
Loading…
Reference in a new issue