File 2131-megaco-Add-copyright-notice-for-file-without.patch of Package erlang

From 23477fc45963fa5b4b7d3c010c1490a000bd8087 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 2 Apr 2025 14:25:52 +0200
Subject: [PATCH 1/4] [megaco] Add copyright notice for file without

Add copyright notice to files in megaco that did not have
(a proper) copyright notice.
---
 .../assets/MG-startup_flow_noMID.gif.license  |   2 +
 .../assets/MGC_startup_call_flow.gif.license  |   2 +
 .../assets/MG_startup_call_flow.gif.license   |   2 +
 lib/megaco/doc/assets/call_flow.gif.license   |   2 +
 .../doc/assets/call_flow_cont.gif.license     |   2 +
 .../doc/assets/distr_node_config.gif.license  |   2 +
 .../doc/assets/megaco_sys_arch.gif.license    |   2 +
 .../doc/assets/single_node_config.gif.license |   2 +
 lib/megaco/doc/docs.exs                       |   1 +
 .../doc/src/MG-startup_flow_noMID.fig.license |   2 +
 lib/megaco/doc/src/meas.log                   |  21 ++
 lib/megaco/doc/src/megaco_digit_map.xml       | 125 --------
 lib/megaco/doc/src/megaco_sdp.xml             | 303 ------------------
 lib/megaco/doc/src/mstone1.jpg.license        |   2 +
 lib/megaco/doc/src/specs.xml                  |   9 -
 .../examples/meas/time_test.msgs.license      |   2 +
 .../src/binary/MEDIA-GATEWAY-CONTROL-v1.asn   |   2 +
 .../src/binary/MEDIA-GATEWAY-CONTROL-v2.asn   |   9 +
 .../src/binary/MEDIA-GATEWAY-CONTROL-v3.asn   |   9 +
 ...co_ber_media_gateway_control_v1.asn1config |  20 ++
 ...egaco_ber_media_gateway_control_v1.set.asn |  19 ++
 ...co_ber_media_gateway_control_v2.asn1config |  64 ++++
 ...egaco_ber_media_gateway_control_v2.set.asn |  19 ++
 ...co_ber_media_gateway_control_v3.asn1config |  20 ++
 ...egaco_ber_media_gateway_control_v3.set.asn |  19 ++
 ...egaco_per_media_gateway_control_v1.set.asn |  19 ++
 ...egaco_per_media_gateway_control_v2.set.asn |  19 ++
 ...egaco_per_media_gateway_control_v3.set.asn |  19 ++
 lib/megaco/test/megaco.cover                  |  20 ++
 lib/megaco/test/megaco.spec                   |  20 ++
 30 files changed, 322 insertions(+), 437 deletions(-)
 create mode 100644 lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
 create mode 100644 lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
 create mode 100644 lib/megaco/doc/assets/MG_startup_call_flow.gif.license
 create mode 100644 lib/megaco/doc/assets/call_flow.gif.license
 create mode 100644 lib/megaco/doc/assets/call_flow_cont.gif.license
 create mode 100644 lib/megaco/doc/assets/distr_node_config.gif.license
 create mode 100644 lib/megaco/doc/assets/megaco_sys_arch.gif.license
 create mode 100644 lib/megaco/doc/assets/single_node_config.gif.license
 create mode 100644 lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
 delete mode 100644 lib/megaco/doc/src/megaco_digit_map.xml
 delete mode 100644 lib/megaco/doc/src/megaco_sdp.xml
 create mode 100644 lib/megaco/doc/src/mstone1.jpg.license
 delete mode 100644 lib/megaco/doc/src/specs.xml
 create mode 100644 lib/megaco/examples/meas/time_test.msgs.license
 create mode 100644 lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config

diff --git a/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license b/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/MG-startup_flow_noMID.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license b/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/MGC_startup_call_flow.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/MG_startup_call_flow.gif.license b/lib/megaco/doc/assets/MG_startup_call_flow.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/MG_startup_call_flow.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/call_flow.gif.license b/lib/megaco/doc/assets/call_flow.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/call_flow.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/call_flow_cont.gif.license b/lib/megaco/doc/assets/call_flow_cont.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/call_flow_cont.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/distr_node_config.gif.license b/lib/megaco/doc/assets/distr_node_config.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/distr_node_config.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/megaco_sys_arch.gif.license b/lib/megaco/doc/assets/megaco_sys_arch.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/megaco_sys_arch.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/assets/single_node_config.gif.license b/lib/megaco/doc/assets/single_node_config.gif.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/assets/single_node_config.gif.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license b/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/src/MG-startup_flow_noMID.fig.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/src/meas.log b/lib/megaco/doc/src/meas.log
index 6122e81e91..7e95b818f2 100644
--- a/lib/megaco/doc/src/meas.log
+++ b/lib/megaco/doc/src/meas.log
@@ -1,3 +1,24 @@
+#
+# %CopyrightBegin%
+#
+# Copyright Ericsson AB 2009-2025. All Rights Reserved.
+#
+# 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.
+#
+# %CopyrightEnd%
+#
+# This file is output from the meas.sh script
+#
 
 Run meas on message package: time_test
 
diff --git a/lib/megaco/doc/src/megaco_digit_map.xml b/lib/megaco/doc/src/megaco_digit_map.xml
deleted file mode 100644
index 55b6420c5b..0000000000
--- a/lib/megaco/doc/src/megaco_digit_map.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE erlref SYSTEM "erlref.dtd">
-
-<erlref>
-  <header>
-    <copyright>
-      <year>2024</year><year>2024</year>
-      <holder>Ericsson AB. All Rights Reserved.</holder>
-    </copyright>
-    <legalnotice>
-      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.
-    
-    </legalnotice>
-
-    <title>megaco_digit_map</title>
-    <prepared></prepared>
-    <responsible></responsible>
-    <docno></docno>
-    <approved></approved>
-    <checked></checked>
-    <date>2024-01-02</date>
-    <rev>%VSN%</rev>
-    <file>megaco_digit_map.xml</file>
-  </header>
-  <module since="">megaco_digit_map</module>
-  <modulesummary>Digit Map utility module.</modulesummary>
-  <description>
-    <p>This is a Digit Map utility module (types).</p>
-  </description>
-
-  <datatypes>
-    <datatype>
-      <name name="value"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="kind"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="event"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="letter"/>
-      <desc>
-	<p>
-	  <c><![CDATA[$0..$9 | $a..$k | $A..$K]]></c>
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="pause"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="one_second"/>
-      <desc>
-	<p>
-	  <c><![CDATA[$s | $S]]></c>
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="ten_seconds"/>
-      <desc>
-	<p>
-	  <c><![CDATA[$l | $L]]></c>
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="cancel"/>
-      <desc>
-	<p>
-	  <c><![CDATA[$z | $Z | cancel]]></c>
-	</p>
-      </desc>
-    </datatype>
-
-  </datatypes>
-  
-</erlref>
-
diff --git a/lib/megaco/doc/src/megaco_sdp.xml b/lib/megaco/doc/src/megaco_sdp.xml
deleted file mode 100644
index 9d6c946c30..0000000000
--- a/lib/megaco/doc/src/megaco_sdp.xml
+++ /dev/null
@@ -1,303 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE erlref SYSTEM "erlref.dtd">
-
-<erlref>
-  <header>
-    <copyright>
-      <year>2023</year><year>2023</year>
-      <holder>Ericsson AB. All Rights Reserved.</holder>
-    </copyright>
-    <legalnotice>
-      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.
-    
-    </legalnotice>
-
-    <title>megaco_sdp</title>
-    <prepared></prepared>
-    <responsible></responsible>
-    <docno></docno>
-    <approved></approved>
-    <checked></checked>
-    <date>2023-12-22</date>
-    <rev>%VSN%</rev>
-    <file>megaco_sdp.xml</file>
-  </header>
-  <module since="">megaco_sdp</module>
-  <modulesummary>SDP utility module.</modulesummary>
-  <description>
-    <p>This module contains various things related to SDP.</p>
-  </description>
-
-  <datatypes>
-    <datatype>
-      <name name="property_parm"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="property_group"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="property_groups"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_v"/>
-      <desc>
-	<p>
-	  Protocol version.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_o"/>
-      <desc>
-	<p>
-	  Owner/creator and session identifier.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_s"/>
-      <desc>
-	<p>
-	  Session name.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_i"/>
-      <desc>
-	<p>
-	  Session information.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_u"/>
-      <desc>
-	<p>
-	  URI of description.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_e"/>
-      <desc>
-	<p>
-	  Email address.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_p"/>
-      <desc>
-	<p>
-	  Phone number.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_c"/>
-      <desc>
-	<p>
-	  Connection information.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_b"/>
-      <desc>
-	<p>
-	  Bandwidth information.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_k"/>
-      <desc>
-	<p>
-	  Encryption key.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_a"/>
-      <desc>
-	<p>
-	  Session attribute.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_a_rtpmap"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_a_ptime"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_a_quality"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_a_fmtp"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_z"/>
-      <desc>
-	<p>
-	  Time zone adjustment.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_t"/>
-      <!--
-      <desc>
-	<p>
-	  Time the session is active.
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_r"/>
-      <desc>
-	<p>
-	  Repeat times.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_m"/>
-      <desc>
-	<p>
-	  Media name and transport address.
-	</p>
-      </desc>
-    </datatype>
-
-    <datatype>
-      <name name="sdp_property_parm"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_property_group"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-    <datatype>
-      <name name="sdp_property_groups"/>
-      <!--
-      <desc>
-	<p>
-	  TBD
-	</p>
-      </desc>
-      -->
-    </datatype>
-
-  </datatypes>
-  
-</erlref>
-
diff --git a/lib/megaco/doc/src/mstone1.jpg.license b/lib/megaco/doc/src/mstone1.jpg.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/doc/src/mstone1.jpg.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/doc/src/specs.xml b/lib/megaco/doc/src/specs.xml
deleted file mode 100644
index 619dbc084d..0000000000
--- a/lib/megaco/doc/src/specs.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<specs xmlns:xi="http://www.w3.org/2001/XInclude">
-  <xi:include href="../specs/specs_megaco.xml"/>
-  <xi:include href="../specs/specs_megaco_digit_map.xml"/>
-  <xi:include href="../specs/specs_megaco_encoder.xml"/>
-  <xi:include href="../specs/specs_megaco_sdp.xml"/>
-  <xi:include href="../specs/specs_megaco_user.xml"/>
-  <xi:include href="../specs/specs_megaco_flex_scanner.xml"/>
-</specs>
diff --git a/lib/megaco/examples/meas/time_test.msgs.license b/lib/megaco/examples/meas/time_test.msgs.license
new file mode 100644
index 0000000000..0d53a95d64
--- /dev/null
+++ b/lib/megaco/examples/meas/time_test.msgs.license
@@ -0,0 +1,2 @@
+SPDX-License-Identifier: Apache-2.0
+Copyright 2000-2025 Ericsson AB. All rights reserved.
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
index 717517938f..efb3905a71 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v1.asn
@@ -1,6 +1,8 @@
 -- This ASN.1 spec has been extracted from the Megaco/H.248 spec
 -- http://www.ietf.org/internet-drafts/draft-ietf-megaco-merged-01.txt
 --
+-- It is currently unknown which copyright notice is appropriate.
+--
 -- o Removed stuff named nonStandard
 -- o Major enhancements of the indentation has been performed.
 --
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
index b75925b30e..44f5d49305 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v2.asn
@@ -1,3 +1,12 @@
+-- This ASN.1 spec has been extracted from the Megaco/H.248 version 2
+-- ITU-T standard document.
+--
+-- It is currently unknown which copyright notice is appropriate.
+--
+-- o Removed stuff named nonStandard
+-- o Enhancements of the indentation has been performed.
+--
+
 MEDIA-GATEWAY-CONTROL-v2 
 {itu-t(0) recommendation(0) h(8) h248(248) 
  modules(0) media-gateway-control(0) version2(2)} 
diff --git a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
index 644a35ffee..4241c488d0 100644
--- a/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
+++ b/lib/megaco/src/binary/MEDIA-GATEWAY-CONTROL-v3.asn
@@ -1,3 +1,12 @@
+-- This ASN.1 spec has been extracted from the Megaco/H.248 version 3
+-- ITU-T standard document.
+--
+-- It is currently unknown which copyright notice is appropriate.
+--
+-- o Removed stuff named nonStandard
+-- o Enhancements of the indentation has been performed.
+--
+
 MEDIA-GATEWAY-CONTROL-v3
 {itu-t(0) recommendation(0) h(8) h248(248) 
  modules(0) media-gateway-control(0) version3(3)} 
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
index 951825c0aa..668b7a9cee 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.asn1config
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%% 
+%% Copyright Ericsson AB 2000-2025. All Rights Reserved.
+%% 
+%% 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.
+%% 
+%% %CopyrightEnd%
+%%
+
 {exclusive_decode,
  {'megaco_ber_media_gateway_control_v1',
   [
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
index 0f5a92dba1..3147a405b6 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v1.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v1.asn
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config
new file mode 100644
index 0000000000..221e9f23c1
--- /dev/null
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.asn1config
@@ -0,0 +1,64 @@
+%%
+%% %CopyrightBegin%
+%% 
+%% Copyright Ericsson AB 2025-2025. All Rights Reserved.
+%% 
+%% 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.
+%% 
+%% %CopyrightEnd%
+%%
+
+{exclusive_decode,
+ {'megaco_ber_media_gateway_control_v2',
+  [
+   {decode_message_trans_partial,
+    [
+     'MegacoMessage',[{mess,[{messageBody,[{transactions,parts}]}]}]
+    ]
+   },
+   {decode_message_acts_partial,
+    ['Transaction',
+     [
+      {transactionRequest,
+       [
+        {actions,parts}
+       ]
+      },
+      {transactionReply,
+       [
+        {transactionResult, [{actionReplies,parts}]}
+       ]
+      }
+     ]
+    ]
+   },
+   {decode_message_version,
+    ['MegacoMessage',
+     [
+      {authHeader,undecoded},
+      {mess,[{mId,undecoded},{messageBody,undecoded}]}
+     ]
+    ]
+   },
+   {decode_message_mId,
+    ['MegacoMessage',
+     [
+      {authHeader,undecoded},
+      {mess,[{messageBody,undecoded}]}
+     ]
+    ]
+   }
+
+  ]
+ }
+}.
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
index 7fc82b127f..be0794afc6 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v2.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v2.asn
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
index e4b1f9ece9..300b1a2064 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.asn1config
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%% 
+%% Copyright Ericsson AB 2000-2025. All Rights Reserved.
+%% 
+%% 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.
+%% 
+%% %CopyrightEnd%
+%%
+
 {exclusive_decode,
  {'megaco_ber_media_gateway_control_v3',
   [
diff --git a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
index 1d7950a283..c2bf434fe0 100644
--- a/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
+++ b/lib/megaco/src/binary/megaco_ber_media_gateway_control_v3.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v3.asn
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
index 0f5a92dba1..3147a405b6 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v1.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v1.asn
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
index 7fc82b127f..be0794afc6 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v2.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v2.asn
diff --git a/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn b/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
index 1d7950a283..c2bf434fe0 100644
--- a/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
+++ b/lib/megaco/src/binary/megaco_per_media_gateway_control_v3.set.asn
@@ -1 +1,20 @@
+# 
+# %CopyrightBegin%
+# 
+# Copyright Ericsson AB 2000-2025. All Rights Reserved.
+# 
+# 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.
+# 
+# %CopyrightEnd%
+
 MEDIA-GATEWAY-CONTROL-v3.asn
diff --git a/lib/megaco/test/megaco.cover b/lib/megaco/test/megaco.cover
index 9ddfddcdf5..7ae3aeac4f 100644
--- a/lib/megaco/test/megaco.cover
+++ b/lib/megaco/test/megaco.cover
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%% 
+%% Copyright Ericsson AB 2000-2025. All Rights Reserved.
+%% 
+%% 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.
+%% 
+%% %CopyrightEnd%
+%%
+
 {incl_app,megaco,details}.
 
 %% -*- erlang -*-
diff --git a/lib/megaco/test/megaco.spec b/lib/megaco/test/megaco.spec
index 3c9d23cc08..7d826c89c9 100644
--- a/lib/megaco/test/megaco.spec
+++ b/lib/megaco/test/megaco.spec
@@ -1 +1,21 @@
+%%
+%% %CopyrightBegin%
+%% 
+%% Copyright Ericsson AB 2000-2024. All Rights Reserved.
+%% 
+%% 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.
+%% 
+%% %CopyrightEnd%
+%%
+
 {suites, "../megaco_test", all}.
-- 
2.43.0

openSUSE Build Service is sponsored by