1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2000-2016. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20
21%%
22%%----------------------------------------------------------------------
23%% Generated by the Erlang ASN.1 compiler version:1.2.7
24%% Purpose: Erlang record definitions for each named and unnamed
25%%          SEQUENCE and SET in module MEDIA-GATEWAY-CONTROL
26%%----------------------------------------------------------------------
27
28-record('MegacoMessage',
29	{
30	  authHeader = asn1_NOVALUE,
31	  mess
32	 }).
33
34-record('AuthenticationHeader',
35	{
36	  secParmIndex,
37	  seqNum,
38	  ad
39	 }).
40
41-record('Message',
42	{
43	  version,
44	  mId,
45	  messageBody
46	 }). % with extension mark
47
48-record('DomainName',
49	{
50	  name,
51	  portNumber = asn1_NOVALUE
52	 }).
53
54-record('IP4Address',
55	{
56	  address,
57	  portNumber = asn1_NOVALUE
58	 }).
59
60-record('IP6Address',
61	{
62	  address,
63	  portNumber = asn1_NOVALUE
64	 }).
65
66-record('TransactionRequest',
67	{
68	  transactionId,
69	  actions
70	 }). % with extension mark
71
72-record('TransactionPending',
73	{
74	  transactionId
75	 }). % with extension mark
76
77
78%% --- TransactionReply ---
79
80-record('megaco_transaction_reply',
81	{
82	  transactionId,
83	  immAckRequired       = asn1_NOVALUE,
84	  transactionResult,
85	  segmentNumber        = asn1_NOVALUE,
86	  segmentationComplete = asn1_NOVALUE
87	 }).
88
89
90%% %% Pre v3 record def:
91%% -record('TransactionReply',
92%% 	{
93%% 	  transactionId,
94%% 	  immAckRequired = asn1_NOVALUE,
95%% 	  transactionResult
96%% 	 }). %% with extension mark
97
98%% %% v3 record def:
99%% -record('TransactionReply',
100%% 	{
101%% 	  transactionId,
102%% 	  immAckRequired       = asn1_NOVALUE,
103%% 	  transactionResult,
104%%        %% with extension mark -- v3 --
105%%        segmentNumber        = asn1_NOVALUE,
106%%        segmentationComplete = asn1_NOVALUE
107%% 	 }).
108
109
110%% -- v3 --
111-record('SegmentReply',
112        {
113          transactionId,
114          segmentNumber,
115          segmentationComplete = asn1_NOVALUE
116         }). % with extension mark
117
118
119-record('TransactionAck',
120	{
121	  firstAck,
122	  lastAck = asn1_NOVALUE
123	 }).
124
125-record('ErrorDescriptor',
126	{
127	  errorCode,
128	  errorText = asn1_NOVALUE
129	 }).
130
131-record('DigitMapDescriptor',
132	{
133	  digitMapName = asn1_NOVALUE,
134	  digitMapValue = asn1_NOVALUE
135	 }).
136
137-record('DigitMapValue',
138	{
139	  startTimer = asn1_NOVALUE,
140	  shortTimer = asn1_NOVALUE,
141	  longTimer = asn1_NOVALUE,
142	  %% BUGBUG BUGBUG
143	  %% Note that there should not really be a default value
144	  %% for this item, but a problem with the flex scanner
145	  %% makes it neccessary to swap the values of digitMapBody
146	  %% and durationTimer. The same is done in the (erl) scanner
147	  %% just so they behave the same. The values are later
148	  %% swapped back by the parser...
149	  digitMapBody = asn1_NOVALUE,
150	  %% with extensions
151	  durationTimer = asn1_NOVALUE
152	 }).
153
154
155-record('TerminationID',
156	{
157	  wildcard,
158	  id
159	 }). % with extension mark
160
161