From 86e4fe993f44746a938c07ed2fa04868471a05db Mon Sep 17 00:00:00 2001 From: Piotr Olaszewski Date: Fri, 18 Nov 2022 17:15:33 +0100 Subject: [PATCH] Add supported AMI version for Asterisk 20 --- .../internal/ManagerConnectionImpl.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java b/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java index 50cc2cb26..74931d84f 100644 --- a/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java +++ b/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java @@ -1,18 +1,17 @@ /* - * Copyright 2004-2006 Stefan Reuter + * Copyright 2004-2022 Asterisk-Java contributors * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * http://www.apache.org/licenses/LICENSE-2.0 * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package org.asteriskjava.manager.internal; @@ -50,7 +49,7 @@ import static org.asteriskjava.manager.ManagerConnectionState.*; /** - * Internal implemention of the ManagerConnection interface. + * Internal implementation of the ManagerConnection interface. * * @author srt * @version $Id$ @@ -79,6 +78,7 @@ public class ManagerConnectionImpl extends Lockable implements ManagerConnection "5.0", // Asterisk 16 "6.0", // Asterisk 17 "7.0", // Asterisk 18 + "10.0.0", // Asterisk 20 }; private static final AtomicLong idCounter = new AtomicLong(0);