File 4313-megaco-Removed-all-deprecated-prev3-include-files.patch of Package erlang

From afded58ac775f05170facd32e354a30218c9ec03 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Thu, 19 Mar 2020 17:59:52 +0100
Subject: [PATCH 3/8] [megaco] Removed all (deprecated) prev3 include files

OTP-16560
---
 lib/megaco/include/megaco_message_prev3a.hrl | 600 --------------
 lib/megaco/include/megaco_message_prev3b.hrl | 600 --------------
 lib/megaco/include/megaco_message_prev3c.hrl | 785 -------------------
 lib/megaco/src/app/modules.mk                |   5 +-
 4 files changed, 1 insertion(+), 1989 deletions(-)
 delete mode 100644 lib/megaco/include/megaco_message_prev3a.hrl
 delete mode 100644 lib/megaco/include/megaco_message_prev3b.hrl
 delete mode 100644 lib/megaco/include/megaco_message_prev3c.hrl

diff --git a/lib/megaco/include/megaco_message_prev3a.hrl b/lib/megaco/include/megaco_message_prev3a.hrl
deleted file mode 100644
index 4ca4c4d1a2..0000000000
--- a/lib/megaco/include/megaco_message_prev3a.hrl
+++ /dev/null
@@ -1,600 +0,0 @@
-%%<copyright>
-%% <year>2004-2008</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.
-%%
-%% The Initial Developer of the Original Code is Ericsson AB.
-%%</legalnotice>
-%%
-%%----------------------------------------------------------------------
-%% Generated by the Erlang ASN.1 compiler version:1.2.7
-%% Purpose: Erlang record definitions for each named and unnamed
-%%          SEQUENCE and SET in module MEDIA-GATEWAY-CONTROL
-%%----------------------------------------------------------------------
-
--record('MegacoMessage',
-	{
-	  authHeader = asn1_NOVALUE,
-	  mess
-	 }).
-
--record('AuthenticationHeader',
-	{
-	  secParmIndex, 
-	  seqNum, 
-	  ad
-	 }).
-
--record('Message',
-	{
-	  version, 
-	  mId, 
-	  messageBody
-	 }). % with extension mark
-
--record('DomainName',
-	{
-	  name, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP4Address',
-	{
-	  address,
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP6Address',
-	{
-	  address, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('TransactionRequest',
-	{
-	  transactionId, 
-	  actions = []
-	 }). % with extension mark
-
--record('TransactionPending',
-	{
-	  transactionId
-	 }). % with extension mark
-
--record('TransactionReply',
-	{
-	  transactionId, 
-	  immAckRequired = asn1_NOVALUE, 
-	  transactionResult,
-
-	  %% with extension mark -- prev3a --
-
-	  %% Erlang Note: NOT REALLY PART OF THIS IMPLEMENTATION
-	  %% Erlang Note: The only reason why we need to include
-	  %% Erlang Note: these definitions in this version is
-	  %% Erlang Note: that we cannot distinguish between v3 
-	  %% Erlang Note: versions in the megaco_messenger module
-	  segmentNumber        = asn1_NOVALUE,
-	  segmentationComplete = asn1_NOVALUE
-	 }). 
-
-%% SegmentReply only used internally (in the engine)
-
--record('TransactionAck',
-	{
-	  firstAck, 
-	  lastAck = asn1_NOVALUE
-	 }).
-
--record('ErrorDescriptor',
-	{
-	  errorCode, 
-	  errorText = asn1_NOVALUE
-	 }).
-
--record('ActionRequest',
-	{
-	  contextId, 
-	  contextRequest = asn1_NOVALUE, 
-	  contextAttrAuditReq = asn1_NOVALUE, 
-	  commandRequests = []
-	 }).
-
--record('ActionReply',
-	{
-	  contextId, 
-	  errorDescriptor = asn1_NOVALUE, 
-	  contextReply = asn1_NOVALUE, 
-	  commandReply = []
-	 }).
-
--record('ContextRequest',
-	{
-	  priority = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  topologyReq = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3a --
-
-	  iepsCallind = asn1_NOVALUE,  % V3 Fixed
-	  contextProp = asn1_NOVALUE
-	 }). 
-
--record('ContextAttrAuditRequest',
-	{
-	  topology = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  priority = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3a --
-
-	  iepsCallind = asn1_NOVALUE,  % V3 Fixed
-	  contextPropAud = asn1_NOVALUE
-	 }). 
-
--record('CommandRequest',
-	{
-	  command, 
-	  optional = asn1_NOVALUE, 
-	  wildcardReturn = asn1_NOVALUE
-	 }). % with extension mark
-
--record('TopologyRequest',
-	{
-	  terminationFrom, 
-	  terminationTo, 
-	  topologyDirection,
-	  
-	  %% After extension mark
-	  streamID = asn1_NOVALUE  %% Only in ASN.1
-	 }).
-
--record('AmmRequest',
-	{
-	  terminationID = [], 
-	  descriptors = []
-	 }). % with extension mark
-
--record('AmmsReply',
-	{
-	  terminationID = [], 
-	  terminationAudit = asn1_NOVALUE
-	 }). % with extension mark
-
--record('SubtractRequest',
-	{
-	  terminationID = [], 
-	  auditDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('AuditRequest',
-	{
-	  terminationID, 
-	  auditDescriptor
-	 }). % with extension mark
-
--record('AuditResult',
-	{
-	  terminationID, 
-	  terminationAuditResult = []
-	 }).
-
--record('AuditDescriptor',
-	{
-	  auditToken         = asn1_NOVALUE,
-	  %% with extensions
-	  auditPropertyToken = asn1_NOVALUE  
-	 }). 
-
-
-%% --- v2 start ---
-
--record('IndAudMediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE,
-	  streams        = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudStreamDescriptor',
-	{
-	  streamID,
-	  streamParms
-	}). % with extension mark
-
--record('IndAudStreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE,
-	  localDescriptor        = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  remoteDescriptor       = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  
-	  %% with extension mark -- prev3a --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	}). 
-
--record('IndAudLocalControlDescriptor',
-	{
-	  streamMode    = asn1_NOVALUE,
-	  reserveValue  = asn1_NOVALUE,
-	  reserveGroup  = asn1_NOVALUE,
-	  propertyParms = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudPropertyParm',
-	{
-	  name
-	}). % with extension mark
-
--record('IndAudLocalRemoteDescriptor',
-	{
-	  propGroupID = asn1_NOVALUE,
-	  propGrps
-	}). % with extension mark
-
-%% BUGBUG
-%% In text, it can only be one of them in each record.
-%% So, in case it's eventBufferControl or serviceState
-%% propertyParms will be an empty list.
--record('IndAudTerminationStateDescriptor',
-	{
-	  propertyParms = [],  %% Optional in text...
-	  eventBufferControl = asn1_NOVALUE,
-	  serviceState       = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudEventsDescriptor',
-	{
-	  requestID = asn1_NOVALUE,  %% Only optional in ASN.1
-	  pkgdName,
-	  streamID  = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudEventBufferDescriptor',
-	{
-	  eventName,
-	  %% This is an ugly hack to allow the eventParameterName
-	  %% which only exist in text!! 
-	  %% streamID = asn1_NOVALUE | integer() | 
-	  %%            {eventParameterName, Name}  <- BUGBUG: ONLY IN TEXT
-	  %% Note that the binary codecs will fail to encode
-	  %% if the streamID is not aither asn1_NOVALUE or an integer()
-	  %% So it is recommended to refrain from using this text feature...
-	  streamID = asn1_NOVALUE
-
-	  %% eventParameterName = asn1_NOVALUE %% BUGBUG: ONLY IN TEXT
-
-	}). % with extension mark
-
--record('IndAudSeqSigList',
-	{
-	  id,
-	  signalList  = asn1_NOVALUE  %% Only in ASN1
-	}). % with extension mark
-
--record('IndAudSignal',
-	{
-	  signalName,
-	  streamID = asn1_NOVALUE %% Optional in ASN1 & non-existent in text
-	}). % with extension mark
-
--record('IndAudDigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE  %% OPTIONAL in ASN.1 but not in text
-	}). 
-
--record('IndAudStatisticsDescriptor',
-	{
-	  statName
-	}). 
-
--record('IndAudPackagesDescriptor',
-	{
-	  packageName,
-	  packageVersion
-	}). % with extension mark
-
-
-%% --- v2 end   ---
-
-
--record('NotifyRequest',
-	{
-	  terminationID = [], 
-	  observedEventsDescriptor, 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('NotifyReply',
-	{
-	  terminationID   = [], 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ObservedEventsDescriptor',
-	{
-	  requestId, 
-	  observedEventLst = []
-	 }).
-
--record('ObservedEvent',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = [], 
-	  timeNotation = asn1_NOVALUE
-	 }). % with extension mark
-
-%% This value field of this record is already encoded and will
-%% be inserted as is.
-%% This record could be used either when there is a bug in the
-%% encoder or if an "external" package, unknown to the megaco app,
-%% where the value part requires a special encode.
--record(megaco_event_parameter,
-	{
-	  name, 
-	  value
-	 }). 
-
--record('EventParameter',
-	{
-	  eventParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ServiceChangeRequest',
-	{
-	  terminationID = [], 
-	  serviceChangeParms
-	 }). % with extension mark
-
--record('ServiceChangeReply',
-	{
-	  terminationID = [], 
-	  serviceChangeResult = []
-	 }). % with extension mark
-
--record('TerminationID',
-	{
-	  wildcard, 
-	  id
-	 }). % with extension mark
-
--record('MediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE, 
-	  streams        = asn1_NOVALUE
-	 }). % with extension mark
-
--record('StreamDescriptor',
-	{
-	  streamID, 
-	  streamParms
-	 }).
-
--record('StreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE, 
-	  localDescriptor = asn1_NOVALUE, 
-	  remoteDescriptor = asn1_NOVALUE,
-	  
-	  %% with extension mark -- prev3a --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	 }). 
-
--record('LocalControlDescriptor',
-	{
-	  streamMode   = asn1_NOVALUE, 
-	  reserveValue = asn1_NOVALUE, 
-	  reserveGroup = asn1_NOVALUE, 
-	  propertyParms = []
-	 }). % with extension mark
-
--record('PropertyParm',
-	{
-	  name, 
-	  value, 
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('LocalRemoteDescriptor',
-	{
-	  propGrps = []
-	 }). % with extension mark
-
--record('TerminationStateDescriptor',
-	{
-	  propertyParms = [], 
-	  eventBufferControl = asn1_NOVALUE, 
-	  serviceState = asn1_NOVALUE
-	 }). % with extension mark
-
--record('MuxDescriptor',
-	{
-	  muxType, 
-	  termList = [],
-	  nonStandardData = asn1_NOVALUE
-	 }). % with extension mark
-
--record('EventsDescriptor',
-	{
-	  requestID,
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('RequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
--record('RequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  secondEvent = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('SecondEventsDescriptor',
-	{
-	  requestID, 
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('SecondRequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
--record('SecondRequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('EventSpec',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = []
-	 }). % with extension mark
-
--record('SeqSigList',
-	{
-	  id, 
-	  signalList = []
-	 }).
-
--record('Signal',
-	{
-	  signalName, 
-	  streamID = asn1_NOVALUE, 
-	  sigType = asn1_NOVALUE, 
-	  duration = asn1_NOVALUE, 
-	  notifyCompletion = asn1_NOVALUE, 
-	  keepActive = asn1_NOVALUE, 
-	  sigParList = [],
-
-	  %% with extension mark -- prev3a --
-
-	  direction = asn1_NOVALUE,
-	  requestID = asn1_NOVALUE
-	 }). 
-
--record('SigParameter',
-	{
-	  sigParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ModemDescriptor',
-	{
-	  mtl, 
-	  mpl,
-	  nonStandardData = asn1_NOVALUE
-	 }).
-
--record('DigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE, 
-	  digitMapValue = asn1_NOVALUE
-	 }).
-
--record('DigitMapValue',
-	{
-	  startTimer = asn1_NOVALUE, 
-	  shortTimer = asn1_NOVALUE, 
-	  longTimer = asn1_NOVALUE, 
-	  digitMapBody,
-	  %% with extensions
-	  durationTimer = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeParm',
-	{
-	  serviceChangeMethod, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE, 
-	  serviceChangeReason, 
-	  serviceChangeDelay = asn1_NOVALUE, 
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  timeStamp = asn1_NOVALUE,
-	  nonStandardData = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3a (serviceChangeIncompleteFlag) --
-
-	  serviceChangeInfo = asn1_NOVALUE,
-	  serviceChangeIncompleteFlag = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeResParm',
-	{
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE,
-	  timeStamp = asn1_NOVALUE
-	 }). % with extension mark
-
-
-%% This is the actual ASN.1 type and it is as this it will
-%% be represented if the encoding config [native] is chosen.
-%% %% String of at least 1 character and at most 67 characters (ASN.1). 
-%% %% 64 characters for name, 1 for "/", 2 for version to match ABNF
-%% -record('ServiceChangeProfile',
-%% 	{
-%% 	  profileName
-%% 	 }
-%%        ).
-
--record('ServiceChangeProfile',
-	{
-	  profileName, 
-	  version
-	 }).
-
-
--record('PackagesItem',
-	{
-	  packageName, 
-	  packageVersion
-	 }). % with extension mark
-
--record('StatisticsParameter',
-	{
-	  statName, 
-	  statValue = asn1_NOVALUE
-	 }).
-
--record('TimeNotation',
-	{
-	  date, 
-	  time
-	 }).
-
diff --git a/lib/megaco/include/megaco_message_prev3b.hrl b/lib/megaco/include/megaco_message_prev3b.hrl
deleted file mode 100644
index e4e7fb9ed0..0000000000
--- a/lib/megaco/include/megaco_message_prev3b.hrl
+++ /dev/null
@@ -1,600 +0,0 @@
-%%<copyright>
-%% <year>2005-2008</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.
-%%
-%% The Initial Developer of the Original Code is Ericsson AB.
-%%</legalnotice>
-%%
-%%----------------------------------------------------------------------
-%% Generated by the Erlang ASN.1 compiler version:1.2.7
-%% Purpose: Erlang record definitions for each named and unnamed
-%%          SEQUENCE and SET in module MEDIA-GATEWAY-CONTROL
-%%----------------------------------------------------------------------
-
--record('MegacoMessage',
-	{
-	  authHeader = asn1_NOVALUE,
-	  mess
-	 }).
-
--record('AuthenticationHeader',
-	{
-	  secParmIndex, 
-	  seqNum, 
-	  ad
-	 }).
-
--record('Message',
-	{
-	  version, 
-	  mId, 
-	  messageBody
-	 }). % with extension mark
-
--record('DomainName',
-	{
-	  name, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP4Address',
-	{
-	  address,
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP6Address',
-	{
-	  address, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('TransactionRequest',
-	{
-	  transactionId, 
-	  actions = []
-	 }). % with extension mark
-
--record('TransactionPending',
-	{
-	  transactionId
-	 }). % with extension mark
-
--record('TransactionReply',
-	{
-	  transactionId, 
-	  immAckRequired = asn1_NOVALUE, 
-	  transactionResult,
-
-	  %% with extension mark -- prev3b --
-
-	  %% Erlang Note: NOT REALLY PART OF THIS IMPLEMENTATION
-	  %% Erlang Note: The only reason why we need to include
-	  %% Erlang Note: these definitions in this version is
-	  %% Erlang Note: that we cannot distinguish between v3 
-	  %% Erlang Note: versions in the megaco_messenger module
-	  segmentNumber        = asn1_NOVALUE,
-	  segmentationComplete = asn1_NOVALUE
-	 }). 
-
-%% SegmentReply only used internally (in the engine)
-
--record('TransactionAck',
-	{
-	  firstAck, 
-	  lastAck = asn1_NOVALUE
-	 }).
-
--record('ErrorDescriptor',
-	{
-	  errorCode, 
-	  errorText = asn1_NOVALUE
-	 }).
-
--record('ActionRequest',
-	{
-	  contextId, 
-	  contextRequest = asn1_NOVALUE, 
-	  contextAttrAuditReq = asn1_NOVALUE, 
-	  commandRequests = []
-	 }).
-
--record('ActionReply',
-	{
-	  contextId, 
-	  errorDescriptor = asn1_NOVALUE, 
-	  contextReply = asn1_NOVALUE, 
-	  commandReply = []
-	 }).
-
--record('ContextRequest',
-	{
-	  priority = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  topologyReq = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b --
-
-	  iepscallind = asn1_NOVALUE,
-	  contextProp = asn1_NOVALUE
-	 }). 
-
--record('ContextAttrAuditRequest',
-	{
-	  topology = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  priority = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b --
-
-	  iepscallind = asn1_NOVALUE,
-	  contextPropAud = asn1_NOVALUE
-	 }). 
-
--record('CommandRequest',
-	{
-	  command, 
-	  optional = asn1_NOVALUE, 
-	  wildcardReturn = asn1_NOVALUE
-	 }). % with extension mark
-
--record('TopologyRequest',
-	{
-	  terminationFrom, 
-	  terminationTo, 
-	  topologyDirection,
-	  
-	  %% After extension mark
-	  streamID = asn1_NOVALUE  %% Only in ASN.1
-	 }).
-
--record('AmmRequest',
-	{
-	  terminationID = [], 
-	  descriptors = []
-	 }). % with extension mark
-
--record('AmmsReply',
-	{
-	  terminationID = [], 
-	  terminationAudit = asn1_NOVALUE
-	 }). % with extension mark
-
--record('SubtractRequest',
-	{
-	  terminationID = [], 
-	  auditDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('AuditRequest',
-	{
-	  terminationID, 
-	  auditDescriptor
-	 }). % with extension mark
-
--record('AuditResult',
-	{
-	  terminationID, 
-	  terminationAuditResult = []
-	 }).
-
--record('AuditDescriptor',
-	{
-	  auditToken         = asn1_NOVALUE,
-	  %% with extensions
-	  auditPropertyToken = asn1_NOVALUE  
-	 }). 
-
-
-%% --- v2 start ---
-
--record('IndAudMediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE,
-	  streams        = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudStreamDescriptor',
-	{
-	  streamID,
-	  streamParms
-	}). % with extension mark
-
--record('IndAudStreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE,
-	  localDescriptor        = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  remoteDescriptor       = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  
-	  %% with extension mark -- prev3b --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	}). 
-
--record('IndAudLocalControlDescriptor',
-	{
-	  streamMode    = asn1_NOVALUE,
-	  reserveValue  = asn1_NOVALUE,
-	  reserveGroup  = asn1_NOVALUE,
-	  propertyParms = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudPropertyParm',
-	{
-	  name
-	}). % with extension mark
-
--record('IndAudLocalRemoteDescriptor',
-	{
-	  propGroupID = asn1_NOVALUE,
-	  propGrps
-	}). % with extension mark
-
-%% BUGBUG
-%% In text, it can only be one of them in each record.
-%% So, in case it's eventBufferControl or serviceState
-%% propertyParms will be an empty list.
--record('IndAudTerminationStateDescriptor',
-	{
-	  propertyParms = [],  %% Optional in text...
-	  eventBufferControl = asn1_NOVALUE,
-	  serviceState       = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudEventsDescriptor',
-	{
-	  requestID = asn1_NOVALUE,  %% Only optional in ASN.1
-	  pkgdName,
-	  streamID  = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudEventBufferDescriptor',
-	{
-	  eventName,
-	  %% This is an ugly hack to allow the eventParameterName
-	  %% which only exist in text!! 
-	  %% streamID = asn1_NOVALUE | integer() | 
-	  %%            {eventParameterName, Name}  <- BUGBUG: ONLY IN TEXT
-	  %% Note that the binary codecs will fail to encode
-	  %% if the streamID is not aither asn1_NOVALUE or an integer()
-	  %% So it is recommended to refrain from using this text feature...
-	  streamID = asn1_NOVALUE
-
-	  %% eventParameterName = asn1_NOVALUE %% BUGBUG: ONLY IN TEXT
-
-	}). % with extension mark
-
--record('IndAudSeqSigList',
-	{
-	  id,
-	  signalList  = asn1_NOVALUE  %% Only in ASN1
-	}). % with extension mark
-
--record('IndAudSignal',
-	{
-	  signalName,
-	  streamID = asn1_NOVALUE %% Optional in ASN1 & non-existent in text
-	}). % with extension mark
-
--record('IndAudDigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE  %% OPTIONAL in ASN.1 but not in text
-	}). 
-
--record('IndAudStatisticsDescriptor',
-	{
-	  statName
-	}). 
-
--record('IndAudPackagesDescriptor',
-	{
-	  packageName,
-	  packageVersion
-	}). % with extension mark
-
-
-%% --- v2 end   ---
-
-
--record('NotifyRequest',
-	{
-	  terminationID = [], 
-	  observedEventsDescriptor, 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('NotifyReply',
-	{
-	  terminationID   = [], 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ObservedEventsDescriptor',
-	{
-	  requestId, 
-	  observedEventLst = []
-	 }).
-
--record('ObservedEvent',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = [], 
-	  timeNotation = asn1_NOVALUE
-	 }). % with extension mark
-
-%% This value field of this record is already encoded and will
-%% be inserted as is.
-%% This record could be used either when there is a bug in the
-%% encoder or if an "external" package, unknown to the megaco app,
-%% where the value part requires a special encode.
--record(megaco_event_parameter,
-	{
-	  name, 
-	  value
-	 }). 
-
--record('EventParameter',
-	{
-	  eventParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ServiceChangeRequest',
-	{
-	  terminationID = [], 
-	  serviceChangeParms
-	 }). % with extension mark
-
--record('ServiceChangeReply',
-	{
-	  terminationID = [], 
-	  serviceChangeResult = []
-	 }). % with extension mark
-
--record('TerminationID',
-	{
-	  wildcard, 
-	  id
-	 }). % with extension mark
-
--record('MediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE, 
-	  streams        = asn1_NOVALUE
-	 }). % with extension mark
-
--record('StreamDescriptor',
-	{
-	  streamID, 
-	  streamParms
-	 }).
-
--record('StreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE, 
-	  localDescriptor = asn1_NOVALUE, 
-	  remoteDescriptor = asn1_NOVALUE,
-	  
-	  %% with extension mark -- prev3b --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	 }). 
-
--record('LocalControlDescriptor',
-	{
-	  streamMode   = asn1_NOVALUE, 
-	  reserveValue = asn1_NOVALUE, 
-	  reserveGroup = asn1_NOVALUE, 
-	  propertyParms = []
-	 }). % with extension mark
-
--record('PropertyParm',
-	{
-	  name, 
-	  value, 
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('LocalRemoteDescriptor',
-	{
-	  propGrps = []
-	 }). % with extension mark
-
--record('TerminationStateDescriptor',
-	{
-	  propertyParms = [], 
-	  eventBufferControl = asn1_NOVALUE, 
-	  serviceState = asn1_NOVALUE
-	 }). % with extension mark
-
--record('MuxDescriptor',
-	{
-	  muxType, 
-	  termList = [],
-	  nonStandardData = asn1_NOVALUE
-	 }). % with extension mark
-
--record('EventsDescriptor',
-	{
-	  requestID,
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('RequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
--record('RequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  secondEvent = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('SecondEventsDescriptor',
-	{
-	  requestID, 
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('SecondRequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
--record('SecondRequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('EventSpec',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = []
-	 }). % with extension mark
-
--record('SeqSigList',
-	{
-	  id, 
-	  signalList = []
-	 }).
-
--record('Signal',
-	{
-	  signalName, 
-	  streamID = asn1_NOVALUE, 
-	  sigType = asn1_NOVALUE, 
-	  duration = asn1_NOVALUE, 
-	  notifyCompletion = asn1_NOVALUE, 
-	  keepActive = asn1_NOVALUE, 
-	  sigParList = [],
-
-	  %% with extension mark -- prev3b --
-
-	  direction = asn1_NOVALUE,
-	  requestID = asn1_NOVALUE
-	 }). 
-
--record('SigParameter',
-	{
-	  sigParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ModemDescriptor',
-	{
-	  mtl, 
-	  mpl,
-	  nonStandardData = asn1_NOVALUE
-	 }).
-
--record('DigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE, 
-	  digitMapValue = asn1_NOVALUE
-	 }).
-
--record('DigitMapValue',
-	{
-	  startTimer = asn1_NOVALUE, 
-	  shortTimer = asn1_NOVALUE, 
-	  longTimer = asn1_NOVALUE, 
-	  digitMapBody,
-	  %% with extensions
-	  durationTimer = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeParm',
-	{
-	  serviceChangeMethod, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE, 
-	  serviceChangeReason, 
-	  serviceChangeDelay = asn1_NOVALUE, 
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  timeStamp = asn1_NOVALUE,
-	  nonStandardData = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b (serviceChangeIncompleteFlag) --
-
-	  serviceChangeInfo = asn1_NOVALUE,
-	  serviceChangeIncompleteFlag = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeResParm',
-	{
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE,
-	  timeStamp = asn1_NOVALUE
-	 }). % with extension mark
-
-
-%% This is the actual ASN.1 type and it is as this it will
-%% be represented if the encoding config [native] is chosen.
-%% %% String of at least 1 character and at most 67 characters (ASN.1). 
-%% %% 64 characters for name, 1 for "/", 2 for version to match ABNF
-%% -record('ServiceChangeProfile',
-%% 	{
-%% 	  profileName
-%% 	 }
-%%        ).
-
--record('ServiceChangeProfile',
-	{
-	  profileName, 
-	  version
-	 }).
-
-
--record('PackagesItem',
-	{
-	  packageName, 
-	  packageVersion
-	 }). % with extension mark
-
--record('StatisticsParameter',
-	{
-	  statName, 
-	  statValue = asn1_NOVALUE
-	 }).
-
--record('TimeNotation',
-	{
-	  date, 
-	  time
-	 }).
-
diff --git a/lib/megaco/include/megaco_message_prev3c.hrl b/lib/megaco/include/megaco_message_prev3c.hrl
deleted file mode 100644
index 93a6728064..0000000000
--- a/lib/megaco/include/megaco_message_prev3c.hrl
+++ /dev/null
@@ -1,785 +0,0 @@
-%%<copyright>
-%% <year>2005-2008</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.
-%%
-%% The Initial Developer of the Original Code is Ericsson AB.
-%%</legalnotice>
-%%
-%%----------------------------------------------------------------------
-%% Generated by the Erlang ASN.1 compiler version:1.2.7
-%% Purpose: Erlang record definitions for each named and unnamed
-%%          SEQUENCE and SET in module MEDIA-GATEWAY-CONTROL
-%%----------------------------------------------------------------------
-
--record('MegacoMessage',
-	{
-	  authHeader = asn1_NOVALUE,
-	  mess
-	 }).
-
--record('AuthenticationHeader',
-	{
-	  secParmIndex, 
-	  seqNum, 
-	  ad
-	 }).
-
--record('Message',
-	{
-	  version, 
-	  mId, 
-	  messageBody
-	 }). % with extension mark
-
--record('DomainName',
-	{
-	  name, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP4Address',
-	{
-	  address,
-	  portNumber = asn1_NOVALUE
-	 }).
-
--record('IP6Address',
-	{
-	  address, 
-	  portNumber = asn1_NOVALUE
-	 }).
-
-
-%% Transaction ::= CHOICE
-%% {
-%% 	transactionRequest		TransactionRequest,
-%% 	transactionPending		TransactionPending,
-%% 	transactionReply		TransactionReply,
-%% 	transactionResponseAck		TransactionResponseAck,
-%% 	-- use of response acks is dependent on underlying transport
-%% 	...,
-%% 	segmentReply			SegmentReply
-%% }
-
--record('TransactionRequest',
-	{
-	  transactionId, 
-	  actions = []
-	 }). % with extension mark
-
--record('TransactionPending',
-	{
-	  transactionId
-	 }). % with extension mark
-
--record('TransactionReply',
-	{
-	  transactionId, 
-	  immAckRequired = asn1_NOVALUE, 
-	  transactionResult,
-
-	  %% with extension mark -- v3 --
-
-	  %% Erlang Note: NOT REALLY PART OF THIS IMPLEMENTATION
-	  %% Erlang Note: The only reason why we need to include
-	  %% Erlang Note: these definitions in this version is
-	  %% Erlang Note: that we cannot distinguish between v3 
-	  %% Erlang Note: versions in the megaco_messenger module
-	  segmentNumber        = asn1_NOVALUE,
-	  segmentationComplete = asn1_NOVALUE
-	 }). 
-
-
-%% -- v3 --
-%% -record('SegmentReply', 
-%% 	{
-%% 	  transactionId, 
-%% 	  segmentNumber, 
-%% 	  segmentationComplete = asn1_NOVALUE
-%% 	 }). % with extension mark
-
-
--record('TransactionAck',
-	{
-	  firstAck, 
-	  lastAck = asn1_NOVALUE
-	 }).
-
--record('ErrorDescriptor',
-	{
-	  errorCode, 
-	  errorText = asn1_NOVALUE
-	 }).
-
--record('ActionRequest',
-	{
-	  contextId, 
-	  contextRequest = asn1_NOVALUE, 
-	  contextAttrAuditReq = asn1_NOVALUE, 
-	  commandRequests = []
-	 }).
-
--record('ActionReply',
-	{
-	  contextId, 
-	  errorDescriptor = asn1_NOVALUE, 
-	  contextReply = asn1_NOVALUE, 
-	  commandReply = []
-	 }).
-
--record('ContextRequest',
-	{
-	  priority = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  topologyReq = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b --
-
-	  iepscallind = asn1_NOVALUE,
-	  contextProp = asn1_NOVALUE,
-
-	  %% -- prev3c --
-
-	  contextList = asn1_NOVALUE
-
-	 }). 
-
--record('ContextAttrAuditRequest',
-	{
-	  topology = asn1_NOVALUE, 
-	  emergency = asn1_NOVALUE, 
-	  priority = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b --
-
-	  iepscallind = asn1_NOVALUE,
-	  contextPropAud = asn1_NOVALUE,
-
-	  %% -- prev3c --
-
-	  selectpriority = asn1_NOVALUE,
-	  selectemergency = asn1_NOVALUE,
-	  selectiepscallind = asn1_NOVALUE,
-	  selectLogic = asn1_NOVALUE
-	 }). 
-
-
-%% SelectLogic            ::= CHOICE
-%% {
-%%     andAUDITSelect  NULL,     -- all selection conditions satisfied
-%%     orAUDITSelect   NULL,     -- at least one selection condition satisfied
-%%     ...
-%% }
-
--record('CommandRequest',
-	{
-	  command, 
-	  optional = asn1_NOVALUE, 
-	  wildcardReturn = asn1_NOVALUE
-	 }). % with extension mark
-
--record('TopologyRequest',
-	{
-	  terminationFrom, 
-	  terminationTo, 
-	  topologyDirection,
-	  
-	  %% After extension mark
-	  streamID = asn1_NOVALUE,  
-
-	  %% -- prev3c --
-	  %% This is actually not according to the standard,
-	  %% but without it 'TopologyRequest' will be useless.
-	  topologyDirectionExtension = asn1_NOVALUE
-	  
-	 }).
-
--record('AmmRequest',
-	{
-	  terminationID = [], 
-	  descriptors = []
-	 }). % with extension mark
-
--record('AmmsReply',
-	{
-	  terminationID = [], 
-	  terminationAudit = asn1_NOVALUE
-	 }). % with extension mark
-
--record('SubtractRequest',
-	{
-	  terminationID = [], 
-	  auditDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('AuditRequest',
-	{
-	  terminationID, 
-	  auditDescriptor,
-
-	  %% -- prev3c (after extension mark) --  
-
-	  terminationIDList = asn1_NOVALUE
-
-	 }). 
-
-%% AuditReply := CHOICE
-%% {
-%%    contextAuditResult   TerminationIDList,
-%%    error                ErrorDescriptor,
-%%    auditResult          AuditResult,
-%%    ...
-%%    auditResultTermList  TermListAuditResult
-%% }
-
--record('AuditResult',
-	{
-	  terminationID, 
-	  terminationAuditResult = []
-	 }).
-
--record('TermListAuditResult', 
-	{
-	  terminationIDList,
-	  terminationAuditResult = []
-	 }). % with extension mark
-
--record('AuditDescriptor',
-	{
-	  auditToken         = asn1_NOVALUE,
-	  %% with extensions
-	  auditPropertyToken = asn1_NOVALUE  
-	 }). 
-
-
-%% --- v2 start ---
-
--record('IndAudMediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE,
-	  streams        = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudStreamDescriptor',
-	{
-	  streamID,
-	  streamParms
-	}). % with extension mark
-
--record('IndAudStreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE,
-	  localDescriptor        = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  remoteDescriptor       = asn1_NOVALUE, %% NOTE: NOT IN TEXT
-	  
-	  %% with extension mark -- prev3b --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	}). 
-
--record('IndAudLocalControlDescriptor',
-	{
-	  streamMode    = asn1_NOVALUE,
-	  reserveValue  = asn1_NOVALUE,
-	  reserveGroup  = asn1_NOVALUE,
-	  propertyParms = asn1_NOVALUE,
-
-	  %% -- prev3c (after extension mark) --
-
-	  streamModeSel = asn1_NOVALUE
-
-	}). 
-
--record('IndAudPropertyParm',
-	{
-	  name,
-
-	  %% -- prev3c (after extension mark) --
-
-	  propertyParms = asn1_NOVALUE
-	}). 
-
--record('IndAudLocalRemoteDescriptor',
-	{
-	  propGroupID = asn1_NOVALUE,
-	  propGrps
-	}). % with extension mark
-
-%% IndAudPropertyGroup ::= SEQUENCE OF IndAudPropertyParm
-
-
-%% BUGBUG
-%% In text, it can only be one of them in each record.
-%% So, in case it's eventBufferControl or serviceState
-%% propertyParms will be an empty list.
--record('IndAudTerminationStateDescriptor',
-	{
-	  propertyParms = [],  %% Optional in text...
-	  eventBufferControl = asn1_NOVALUE,
-	  serviceState       = asn1_NOVALUE,
-
-	  %% -- prev3c (after extension mark) --
-
-	  serviceStateSel    = asn1_NOVALUE
-
-	}). 
-
--record('IndAudEventsDescriptor',
-	{
-	  requestID = asn1_NOVALUE,  %% Only optional in ASN.1
-	  pkgdName,
-	  streamID  = asn1_NOVALUE
-	}). % with extension mark
-
--record('IndAudEventBufferDescriptor',
-	{
-	  eventName,
-	  %% This is an ugly hack to allow the eventParameterName
-	  %% which only exist in text!! 
-	  %% streamID = asn1_NOVALUE | integer() | 
-	  %%            {eventParameterName, Name}  <- BUGBUG: ONLY IN TEXT
-	  %% Note that the binary codecs will fail to encode
-	  %% if the streamID is not aither asn1_NOVALUE or an integer()
-	  %% So it is recommended to refrain from using this text feature...
-	  streamID = asn1_NOVALUE
-
-	  %% eventParameterName = asn1_NOVALUE %% BUGBUG: ONLY IN TEXT
-
-	}). % with extension mark
-
--record('IndAudSeqSigList',
-	{
-	  id,
-	  signalList  = asn1_NOVALUE  %% Only in ASN1
-	}). % with extension mark
-
--record('IndAudSignal',
-	{
-	  signalName,
-	  streamID = asn1_NOVALUE, % Optional in ASN1 & non-existent in text
-
-	  %% -- prev3c (after extension mark) --
-
-	  signalRequestID = asn1_NOVALUE
-
-	}). % with extension mark
-
--record('IndAudDigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE  %% OPTIONAL in ASN.1 but not in text
-	}). 
-
--record('IndAudStatisticsDescriptor',
-	{
-	  statName
-	}). 
-
--record('IndAudPackagesDescriptor',
-	{
-	  packageName,
-	  packageVersion
-	}). % with extension mark
-
-
-%% --- v2 end   ---
-
-
--record('NotifyRequest',
-	{
-	  terminationID = [], 
-	  observedEventsDescriptor, 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('NotifyReply',
-	{
-	  terminationID   = [], 
-	  errorDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ObservedEventsDescriptor',
-	{
-	  requestId, 
-	  observedEventLst = []
-	 }).
-
--record('ObservedEvent',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = [], 
-	  timeNotation = asn1_NOVALUE
-	 }). % with extension mark
-
-%% This value field of this record is already encoded and will
-%% be inserted as is.
-%% This record could be used either when there is a bug in the
-%% encoder or if an "external" package, unknown to the megaco app,
-%% where the value part requires a special encode.
--record(megaco_event_parameter,
-	{
-	  name, 
-	  value
-	 }). 
-
--record('EventParameter',
-	{
-	  eventParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ServiceChangeRequest',
-	{
-	  terminationID = [], 
-	  serviceChangeParms
-	 }). % with extension mark
-
--record('ServiceChangeReply',
-	{
-	  terminationID = [], 
-	  serviceChangeResult = []
-	 }). % with extension mark
-
--record('TerminationID',
-	{
-	  wildcard, 
-	  id
-	 }). % with extension mark
-
-%% TerminationIDList ::= SEQUENCE OF TerminationID 
-
--record('MediaDescriptor',
-	{
-	  termStateDescr = asn1_NOVALUE, 
-	  streams        = asn1_NOVALUE
-	 }). % with extension mark
-
--record('StreamDescriptor',
-	{
-	  streamID, 
-	  streamParms
-	 }).
-
--record('StreamParms',
-	{
-	  localControlDescriptor = asn1_NOVALUE, 
-	  localDescriptor = asn1_NOVALUE, 
-	  remoteDescriptor = asn1_NOVALUE,
-	  
-	  %% with extension mark -- prev3b --
-
-	  statisticsDescriptor   = asn1_NOVALUE
-	 }). 
-
--record('LocalControlDescriptor',
-	{
-	  streamMode   = asn1_NOVALUE, 
-	  reserveValue = asn1_NOVALUE, 
-	  reserveGroup = asn1_NOVALUE, 
-	  propertyParms = []
-	 }). % with extension mark
-
-%% StreamMode ::= ENUMERATED
-%% {
-%%   sendOnly(0),
-%%   recvOnly(1),
-%%   sendRecv(2),
-%%   inactive(3),
-%%   loopBack(4),
-%%   ...
-%% }
-
--record('PropertyParm',
-	{
-	  name, 
-	  value, 
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('LocalRemoteDescriptor',
-	{
-	  propGrps = []
-	 }). % with extension mark
-
--record('TerminationStateDescriptor',
-	{
-	  propertyParms = [], 
-	  eventBufferControl = asn1_NOVALUE, 
-	  serviceState = asn1_NOVALUE
-	 }). % with extension mark
-
-%% EventBufferControl ::= ENUMERATED
-%% {
-%%   off(0),
-%%   lockStep(1),
-%%   ...
-%% }
-
-%% ServiceState ::= ENUMERATED
-%% {
-%%   test(0),
-%%   outOfSvc(1),
-%%   inSvc(2),
-%%   ...
-%% }
-
--record('MuxDescriptor',
-	{
-	  muxType, 
-	  termList = [],
-	  nonStandardData = asn1_NOVALUE
-	 }). % with extension mark
-
--record('EventsDescriptor',
-	{
-	  requestID,
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('RequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
-%% -- prev3c --
--record('RegulatedEmbeddedDescriptor', 
-	{
-	  secondEvent       = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE
-	 }). % with extension mark
-
-%% NotifyBehaviour ::= CHOICE
-%% {
-%%    notifyImmediate  NULL,
-%%    notifyRegulated  RegulatedEmbeddedDescriptor,
-%%    neverNotify      NULL,
-%%    ...
-%% }
-
--record('RequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  secondEvent = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE,
-
-	  %% -- prev3c (after extension mark) --
-
-	  notifyBehaviour       = asn1_NOVALUE, 
-	  resetEventsDescriptor = asn1_NOVALUE
-
-	 }). 
-
--record('SecondEventsDescriptor',
-	{
-	  requestID, 
-	  %% BUGBUG: IG 6.82 was withdrawn
-	  %% requestID = asn1_NOVALUE, 
-	  eventList = []
-	 }). % with extension mark
-
--record('SecondRequestedEvent',
-	{
-	  pkgdName, 
-	  streamID = asn1_NOVALUE, 
-	  eventAction = asn1_NOVALUE, 
-	  evParList = []
-	 }). % with extension mark
-
--record('SecondRequestedActions',
-	{
-	  keepActive = asn1_NOVALUE, 
-	  eventDM = asn1_NOVALUE, 
-	  signalsDescriptor = asn1_NOVALUE,
-
-	  %% -- prev3c (after extension mark) --
-
-	  notifyBehaviour       = asn1_NOVALUE, 
-	  resetEventsDescriptor = asn1_NOVALUE
-
-	 }). 
-
-
-%% EventBufferDescriptor ::= SEQUENCE OF EventSpec 
-
--record('EventSpec',
-	{
-	  eventName, 
-	  streamID = asn1_NOVALUE, 
-	  eventParList = []
-	 }). % with extension mark
-
-
-%% SignalsDescriptor ::= SEQUENCE OF SignalRequest 
-
-%% SignalRequest ::= CHOICE 
-%%  { 
-%%    signal         Signal, 
-%%    seqSigList     SeqSigList, 
-%%    ... 
-%%  } 
-
-
--record('SeqSigList',
-	{
-	  id, 
-	  signalList = []
-	 }).
-
--record('Signal',
-	{
-	  signalName, 
-	  streamID = asn1_NOVALUE, 
-	  sigType = asn1_NOVALUE, 
-	  duration = asn1_NOVALUE, 
-	  notifyCompletion = asn1_NOVALUE, 
-	  keepActive = asn1_NOVALUE, 
-	  sigParList = [],
-
-	  %% with extension mark -- prev3b --
-
-	  direction = asn1_NOVALUE,
-	  requestID = asn1_NOVALUE,
-
-	  %% -- prev3c --
-
-	  intersigDelay = asn1_NOVALUE
-
-	 }). 
-
-%% SignalType ::= ENUMERATED 
-%%  { 
-%%    brief(0), 
-%%    onOff(1), 
-%%    timeOut(2), 
-%%    ... 
-%%  } 
-
-%% SignalDirection ::= ENUMERATED
-%%  {
-%%    internal(0),
-%%    external(1),
-%%    both(3),
-%%    ...
-%%  }
-
-%% SignalName ::= PkgdName 
-
-%% NotifyCompletion ::= BIT STRING 
-%%  { 
-%%    onTimeOut(0), onInterruptByEvent(1), 
-%%    onInterruptByNewSignalDescr(2), otherReason(3), onIteration(4)
-%%  } 
-
--record('SigParameter',
-	{
-	  sigParameterName, 
-	  value,
-	  extraInfo = asn1_NOVALUE
-	 }). % with extension mark
-
--record('ModemDescriptor',
-	{
-	  mtl, 
-	  mpl,
-	  nonStandardData = asn1_NOVALUE
-	 }).
-
--record('DigitMapDescriptor',
-	{
-	  digitMapName = asn1_NOVALUE, 
-	  digitMapValue = asn1_NOVALUE
-	 }).
-
--record('DigitMapValue',
-	{
-	  startTimer = asn1_NOVALUE, 
-	  shortTimer = asn1_NOVALUE, 
-	  longTimer = asn1_NOVALUE, 
-	  digitMapBody,
-	  %% with extensions
-	  durationTimer = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeParm',
-	{
-	  serviceChangeMethod, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE, 
-	  serviceChangeReason, 
-	  serviceChangeDelay = asn1_NOVALUE, 
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  timeStamp = asn1_NOVALUE,
-	  nonStandardData = asn1_NOVALUE,
-
-	  %% with extension mark -- prev3b (serviceChangeIncompleteFlag) --
-
-	  serviceChangeInfo = asn1_NOVALUE,
-	  serviceChangeIncompleteFlag = asn1_NOVALUE
-	 }). 
-
--record('ServiceChangeResParm',
-	{
-	  serviceChangeMgcId = asn1_NOVALUE, 
-	  serviceChangeAddress = asn1_NOVALUE, 
-	  serviceChangeVersion = asn1_NOVALUE, 
-	  serviceChangeProfile = asn1_NOVALUE,
-	  timeStamp = asn1_NOVALUE
-	 }). % with extension mark
-
-
-%% This is the actual ASN.1 type and it is as this it will
-%% be represented if the encoding config [native] is chosen.
-%% %% String of at least 1 character and at most 67 characters (ASN.1). 
-%% %% 64 characters for name, 1 for "/", 2 for version to match ABNF
-%% -record('ServiceChangeProfile',
-%% 	{
-%% 	  profileName
-%% 	 }
-%%        ).
-
--record('ServiceChangeProfile',
-	{
-	  profileName, 
-	  version
-	 }).
-
-
--record('PackagesItem',
-	{
-	  packageName, 
-	  packageVersion
-	 }). % with extension mark
-
--record('StatisticsParameter',
-	{
-	  statName, 
-	  statValue = asn1_NOVALUE
-	 }).
-
--record('TimeNotation',
-	{
-	  date, 
-	  time
-	 }).
-
diff --git a/lib/megaco/src/app/modules.mk b/lib/megaco/src/app/modules.mk
index 5cf45b002b..e0b6a4463c 100644
--- a/lib/megaco/src/app/modules.mk
+++ b/lib/megaco/src/app/modules.mk
@@ -2,7 +2,7 @@
 
 # %CopyrightBegin%
 # 
-# Copyright Ericsson AB 2007-2016. All Rights Reserved.
+# Copyright Ericsson AB 2007-2020. 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.
@@ -25,9 +25,6 @@ EXTERNAL_HRL_FILES = \
         ../../include/megaco.hrl \
         ../../include/megaco_message_v1.hrl \
         ../../include/megaco_message_v2.hrl \
-        ../../include/megaco_message_prev3a.hrl \
-        ../../include/megaco_message_prev3b.hrl \
-        ../../include/megaco_message_prev3c.hrl \
         ../../include/megaco_message_v3.hrl \
         ../../include/megaco_sdp.hrl
 
-- 
2.26.2

openSUSE Build Service is sponsored by