Newer
Older
/**
* @author STF574
* @version $Id$
* @desc This module defines AtsIot Diameter Templates for message, header, and
* structured types. <br>
* @remark Any additions to the templates shall follow the design rules
* and always modify base templates only;
*/
module AtsImsIot_Diameter_Templates {
//LibCommon
import from LibCommon_DataStrings all;
import from LibCommon_BasicTypesAndValues all;
//LibDiameter
import from LibDiameter_TypesAndValues all;
Yann Garcia
committed
import from LibDiameter_Types_Base_AVPs all;
import from LibDiameter_Templates all;
import from LibDiameter_Steps all;
import from LibDiameter_Types_Gx_AVPs all;
import from LibDiameter_Types_Rx_AVPs all;
import from LibDiameter_Types_CxDx_AVPs all;
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
import from LibDiameter_Types_S9_AVPs all;
group DiameterHeaderFields {
group CxHeaderFields{
template Auth_Session_State_AVP mw_authSessionState_noStateMaintained :=
{
aVP_Header := mw_aVP_Header_any_Code(c_auth_Session_State_AVP_Code),
aVP_Data := NO_STATE_MAINTAINED_E
}
template Deregistration_Reason_AVP mw_deregistrationReason :=
{
aVP_Header := mw_aVP_Header_any_Code(c_deregistration_Reason_AVP_Code),
reason_Code := ?,
reason_Info := *,
aVP_Type := *
}
template Server_Assignment_Type_AVP mw_serverAssignmentType(Srv_Assgmt_Type_Code p_aVP_Data) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_server_Assignment_Type_AVP_Code),
aVP_Data := p_aVP_Data
}
template User_Authorization_Type_AVP mw_userAuthorizationType (User_Authorization_Type_Code p_aVP_Data) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_user_Authorization_Type_AVP_Code),
aVP_Data := p_aVP_Data
}
template Experimental_Result_AVP mw_experimentalResult (Experimental_Result_Type p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_experimental_Result_AVP_Code),
vendor_Id := ?,
experimental_Result_Code :=
{
aVP_Header := mw_aVP_Header_any_Code(c_experimental_Result_Code_AVP_Code),
aVP_Data := p_avpData
}
}
} //end group CxHeaderFields
group RxHeaderFields{
template Abort_Cause_AVP mw_abortCause(template Abort_Cause_Type p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_abort_Cause_AVP_Code),
aVP_Data := p_avpData
};
template Media_Component_Description_AVP mw_mediaComponentDescription_SubComponentFlowStatusEnabled :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Component_Description_AVP_Code),
media_Component_Nr := {aVP_Header := ?, aVP_Data := ?},
media_Sub_component := {mw_mediaSubComponent_flowStatusEnabled_flowUsageAfSignalling_SignallingSip},
af_Application_Id := *,
media_type := *,
max_Requested_Bw_Ul := *,
max_Requested_Bw_Dl := *,
flow_Status := *,
reservation_Priority := *,
rs_Bw := *,
rr_Bw := *,
codec_data := *
}
template Media_Component_Description_AVP mw_mediaComponentDescription_FlowStatusDisabled :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Component_Description_AVP_Code),
media_Component_Nr := {aVP_Header := ?, aVP_Data := ?},
media_Sub_component := {mw_mediaSubComponent_FlowDescription},
af_Application_Id := *,
media_type := ?,
max_Requested_Bw_Ul := *,
max_Requested_Bw_Dl := ?,
flow_Status := mw_flowStatus(DISABLED_E),
reservation_Priority := *,
rs_Bw := *,
rr_Bw := ?,
codec_data := ?
}
template Media_Component_Description_AVP mw_mediaComponentDescription_FlowStatusEnabledDownlink :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Component_Description_AVP_Code),
media_Component_Nr := {aVP_Header := ?, aVP_Data := ?},
media_Sub_component := {mw_mediaSubComponent_FlowDescription},
af_Application_Id := *,
media_type := ?,
max_Requested_Bw_Ul := ?,
max_Requested_Bw_Dl := ?,
flow_Status := mw_flowStatus(ENABLED_DOWNLINK_E),
reservation_Priority := *,
rs_Bw := ?,
rr_Bw := ?,
codec_data := ?
}
template Media_Component_Description_AVP mw_mediaComponentDescription_FlowStatusEnabledUplink :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Component_Description_AVP_Code),
media_Component_Nr := {aVP_Header := ?, aVP_Data := ?},
media_Sub_component := {mw_mediaSubComponent_FlowDescription},
af_Application_Id := *,
media_type := ?,
max_Requested_Bw_Ul := ?,
max_Requested_Bw_Dl := ?,
flow_Status := mw_flowStatus(ENABLED_UPLINK_E),
reservation_Priority := *,
rs_Bw := ?,
rr_Bw := ?,
codec_data := ?
}
template Media_Component_Description_AVP mw_mediaComponentDescription_FlowStatusEnabled :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Component_Description_AVP_Code),
media_Component_Nr := {aVP_Header := ?, aVP_Data := ?},
media_Sub_component := {mw_mediaSubComponent_FlowDescription},
af_Application_Id := *,
media_type := ?,
max_Requested_Bw_Ul := ?,
max_Requested_Bw_Dl := ?,
flow_Status := mw_flowStatus(ENABLED_E),
reservation_Priority := *,
rs_Bw := *,
rr_Bw := *,
codec_data := ?
}
template Media_Sub_Component_AVP mw_mediaSubComponent_any :=
{
aVP_Header := mw_aVP_Header_any_Code(c_media_Sub_Component_AVP_Code),
flow_Number := ?,
flow_Description := *,
flow_Status := *,
flow_Usage := *,
max_Requested_Bw_Ul := *,
max_Requested_Bw_Dl := *,
af_Signalling_Protocol := *,
aVP_Type := *
}
template Media_Sub_Component_AVP mw_mediaSubComponent_FlowDescription modifies mw_mediaSubComponent_any :=
{
flow_Description := ?
}
template Media_Sub_Component_AVP mw_mediaSubComponent_flowStatusEnabled_flowUsageAfSignalling_SignallingSip modifies mw_mediaSubComponent_any :=
{
flow_Description := ?,
flow_Status := mw_flowStatus(ENABLED_E),
flow_Usage := mw_flowUsage(AF_SIGNALLING_E),
af_Signalling_Protocol := mw_afSignallingProtocolSIP
}
template AF_Signalling_Protocol_AVP mw_afSignallingProtocolSIP := {
aVP_Header := mw_aVP_Header_any_Code(c_aF_Signalling_Protocol_AVP_Code),
aVP_Data := SIP_E
}
template Flow_Status_AVP mw_flowStatus(template (present) Flow_Status_Type p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_flow_Status_AVP_Code),
aVP_Data := p_avpData
}
template Flow_Usage_AVP mw_flowUsage(template (present) Flow_Usage_Type p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_flow_Usage_AVP_Code),
aVP_Data := p_avpData
}
template Specific_Action_AVP mw_specificAction (template (present) Specific_Action_Type p_avpData) :={
aVP_Header := mw_aVP_Header_any_Code(c_specific_Action_AVP_Code),//<AVP header: 513 ....>
aVP_Data := p_avpData
}
template Service_Info_Status_AVP mw_serviceInfoStatus (template (present) Service_Info_Type p_avpData) :={
aVP_Header := mw_aVP_Header_any_Code(c_service_Info_Status_AVP_Code),//<AVP header: 527 ....>
aVP_Data := p_avpData
}
template Rx_Request_Type_AVP mw_rxRequestType (template (present) Rx_Request_Type p_avpData) :={
aVP_Header := mw_aVP_Header_any_Code(c_rx_Request_Type_AVP_Code),//<AVP header: 527 ....>
aVP_Data := p_avpData
}
template Framed_IP_Address_AVP mw_framedIPAddress (template (present) octetstring p_avpData) :={
aVP_Header := mw_aVP_Header_any_Code(c_framed_IP_Address_AVP_Code),//<AVP header: 8 ....>
aVP_Data := p_avpData
}
} //end group RxHeaderFields
group GxHeaderFields{
template CC_Request_Type_AVP mw_cC_Request_Type(CC_Request_Ty_Type p_avpData):=
{
aVP_Header := mw_aVP_Header_any_Code(c_cC_Request_Type_AVP_Code),
aVP_Data := p_avpData
}
template QoS_Information_AVP mw_qoS_Information :=
{
aVP_Header := mw_aVP_Header_any_Code(c_qoS_Information_AVP_Code),
qoS_Class_Identifier := *,
max_Requested_Bandwidth_UL := *,
max_Requested_Bandwidth_DL := *,
guaranteed_Bitrate_UL := *,
guaranteed_Bitrate_DL := *,
bearer_Identifier := *,
allocation_Retention_Priority := *,
aPN_Aggregate_Max_Bitrate_UL := *,
aPN_Aggregate_Max_Bitrate_DL := *,
aVP_Type := *
}
template QoS_Information_AVP mw_qoS_Information_Audio :=
{
aVP_Header := mw_aVP_Header_any_Code(c_qoS_Information_AVP_Code),
qoS_Class_Identifier := mw_QoS_Class_Identifier(QCI_1_E),
max_Requested_Bandwidth_UL := ?,
max_Requested_Bandwidth_DL := ?,
guaranteed_Bitrate_UL := ?,
guaranteed_Bitrate_DL := ?,
bearer_Identifier := *,
allocation_Retention_Priority := ?,
aPN_Aggregate_Max_Bitrate_UL := *,
aPN_Aggregate_Max_Bitrate_DL := *,
aVP_Type := *
}
template QoS_Information_AVP mw_qoS_Information_Video :=
{
aVP_Header := mw_aVP_Header_any_Code(c_qoS_Information_AVP_Code),
qoS_Class_Identifier := mw_QoS_Class_Identifier(QCI_2_E),
max_Requested_Bandwidth_UL := ?,
max_Requested_Bandwidth_DL := ?,
guaranteed_Bitrate_UL := ?,
guaranteed_Bitrate_DL := ?,
bearer_Identifier := *,
allocation_Retention_Priority := ?,
aPN_Aggregate_Max_Bitrate_UL := *,
aPN_Aggregate_Max_Bitrate_DL := *,
aVP_Type := *
}
template Default_EPS_Bearer_QoS_AVP mw_default_EPS_Bearer_QoS_Class_5 :=
{
aVP_Header := mw_aVP_Header_any_Code(c_default_EPS_Bearer_QoS_AVP_Code),
qoS_Class_Identifier := mw_QoS_Class_Identifier(QCI_5_E),
allocation_Retention_Priority := mw_allocation_Retention_Priority,
aVP_Type := *
}
template Allocation_Retention_Priority_AVP mw_allocation_Retention_Priority :=
{
aVP_Header := mw_aVP_Header_any_Code(c_allocation_Retention_Priority_AVP_Code),
priority_Level := ?,
pre_emption_Capability := ?,
pre_emption_Vulnerability := ?
}
template QoS_Class_Identifier_AVP mw_QoS_Class_Identifier(template QoS_Class_Identifier p_avp_Data) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_qoS_Class_Identifier_AVP_Code),
aVP_Data := p_avp_Data
}
template Bearer_Usage_AVP mw_bearer_Usage(Bearer_Usage p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_bearer_Usage_AVP_Code),
aVP_Data := p_avpData
}
template Subscription_Id_AVP mw_subscription_Id(template Subscription_Id_Type_AVP p_typeAVP):=
{
aVP_Header := mw_aVP_Header_any_Code(c_subscription_Id_AVP_Code),
subscription_Id_Type := p_typeAVP,
subscription_Id_Data := ?
}
template Subscription_Id_Type_AVP mw_subscription_Id_Type(template Subscription_Id_Ty_Type p_avpData):=
{
aVP_Header := mw_aVP_Header_any_Code(c_subscription_Id_Type_AVP_Code),
aVP_Data := p_avpData
}
template Charging_Rule_Install_AVP mw_chrgRuleInstall :=
{
aVP_Header := mw_aVP_Header_any_Code(c_charging_Rule_Install_AVP_Code),
charging_Rule_Definition := {mw_chrgRuleDefinition_RuleName_Flows_FlowStatus},
charging_Rule_Name := *,
charging_Rule_Base_Name := *,
bearer_Identifier := *,
rule_Activation_Time := *,
rule_DeActivation_Time := *,
resource_Allocation_Notification := *,
charging_Correlation_Indicator := *,
aVP_Type := *
}
template Charging_Rule_Install_AVP mw_chrgRuleInstall_Qos :=
{
aVP_Header := mw_aVP_Header_any_Code(c_charging_Rule_Install_AVP_Code),
charging_Rule_Definition := {mw_chrgRuleDefinition_RuleName_Flows_FlowStatus_Qos},
charging_Rule_Name := *,
charging_Rule_Base_Name := *,
bearer_Identifier := *,
rule_Activation_Time := *,
rule_DeActivation_Time := *,
resource_Allocation_Notification := *,
charging_Correlation_Indicator := *,
aVP_Type := *
}
template Charging_Rule_Remove_AVP mw_chrgRuleRemove_Name :=
{
aVP_Header := mw_aVP_Header_any_Code(c_charging_Rule_Remove_AVP_Code),
charging_Rule_Name := ?,
charging_Rule_Base_Name := *,
aVP_Type := *
}
template Charging_Rule_Definition_AVP mw_chrgRuleDefinition_RuleName_Flows_FlowStatus :=
{
aVP_Header := mw_aVP_Header_any_Code(c_charging_Rule_Definition_AVP_Code),
charging_Rule_Name := ?,
service_Identifier := *,
rating_Group := *,
flow_Information := *,
flow_Status := mw_flowStatus(ENABLED_E),
qoS_Information := *,
reporting_Level := *,
online := *,
offline := *,
metering_Method := *,
precedence := *,
aF_Charging_Identifier := *,
flows := {mw_flows},
monitoring_Key := *,
aF_Signalling_Protocol := *,
sponsor_Identity := *,
application_Service_Provider_Identity := *,
aVP_Type := *
}
template Charging_Rule_Definition_AVP mw_chrgRuleDefinition_RuleName_Flows_FlowStatus_Qos modifies mw_chrgRuleDefinition_RuleName_Flows_FlowStatus:=
{
flow_Information := ?,
flow_Status := ?,
qoS_Information := (mw_qoS_Information_Audio,mw_qoS_Information_Video)
}
template Flows_AVP mw_flows :=
{
aVP_Header := mw_aVP_Header_any_Code(c_flows_AVP_Code),
media_component_number :=
{aVP_Header := ?,//<AVP header: 518 ....>
aVP_Data := 0
},//Media_Component_Number_AVP
flow_Number := *,
final_unit_action := *
}
template User_Equipment_Info_AVP mw_userEquipmentInfo_IMEI:=
{
aVP_Header := mw_aVP_Header_any_Code(458/*c_User_Equipment_Info_code*/),
user_Equipment_Info_Type := {aVP_Header := ?/*459*/, aVP_Data := IMEISV_E/*0*/ },
user_Equipment_Info_Value := ?
}
} //end group GxHeaderFields
group S6aHeaderFields{
template Cancellation_Type_AVP mw_cancellationType(Cancellation_Type_Code p_cancellation_Type) := {
aVP_Header := mw_aVP_Header_any_Code(c_cancellation_Type_AVP_Code),
cancellation_Type := p_cancellation_Type
} // End of template m_cancellationType
template Subscription_Data_AVP mw_subscriptionData_emergencyInfo:= {
aVP_Header := mw_aVP_Header_any_Code(c_subscription_Data_AVP_Code),
Yann Garcia
committed
aVP_Type := ?//emergency_Info := ? FIXME To be reviewed
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
} //end group S6aHeaderFields
group ShHeaderFields{
template User_Identity_AVP mw_userIdentity_publicIdentity(template (present) Public_Identity_AVP p_publicIdentity) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_user_Identity_AVP_Code),
public_Identity_AVP := p_publicIdentity,
mSISDN_AVP := *,
aVP_Type := *
}
template User_Identity_AVP mw_userIdentity_msisdn(template (present) MSISDN_AVP p_msisdn) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_user_Identity_AVP_Code),
public_Identity_AVP := *,
mSISDN_AVP := p_msisdn,
aVP_Type := *
}
template Public_Identity_AVP mw_publicIdentity(template (present) UTF8String p_avpData) :=
{
aVP_Header := mw_aVP_Header_any_Code(c_public_Identity_AVP_Code),
aVP_Data := p_avpData
}
} //end group ShHeaderFields
group S9HeaderFields{
template Subses_Enforcement_Info_AVP mw_subses_Enforcement_Info(Subsession_Operation_AVP p_subsession_Operation) := {
aVP_Header := mw_aVP_Header_any_Code(2201),
subsession_Id := ?,
subsession_Operation := p_subsession_Operation,
aN_GW_Address := *,
bearer_Identifier := *,
bearer_Operation := *,
packet_Filter_Information := *,
packet_Filter_Operation := *,
qoS_Information := *,
framed_IP_Address := *,
framed_IPv6_Prefix := *,
coA_Information := *,
called_Station_Id := *,
pDN_Connection_ID := *,
bearer_Usage := *,
tFT_Packet_Filter_Information := *,
online := *,
offline := *,
result_Code := *,
experimental_Result := *,
charging_Rule_Report := *,
qoS_Rule_Report := *,
iP_CAN_Type := *,
rat_Type := *,
threeGPP_SGSN_MCC_MNC := *,
threeGPP_SGSN_Address := *,
threeGPP_SGSN_IPv6_Address := *,
rAI := *,
threeGPP_User_Location_Info := *,
threeGPP2_BSID := *,
user_CSG_Information := *,
default_EPS_Bearer_QoS := *,
network_Request_Support := *,
routing_Rule_Install := *,
routing_Rule_Remove := *,
logical_Access_ID := *,
physical_Access_ID := *,
usage_Monitoring_Information := *,
multiple_BBERF_Action := *,
event_Trigger := *,
access_Network_Charging_Address := *,
access_Network_Charging_Id_Gx := *,
session_Linking_Indicator := *,
aVP_Type := *
}
template Subsession_Operation_AVP mw_subsession_Operation_AVP (Subsession_Operation_Code p_code):= {
aVP_Header := mw_aVP_Header_any_Code(c_subsession_Operation_AVP_Code),
subsession_Operation := p_code
}
template Subses_Decision_Info_AVP mw_subses_Decision_Info_any := {
aVP_Header := mw_aVP_Header_any_Code(2200),
subsession_Id := ?,
aN_GW_Address := *,
result_Code := *,
experimental_Result := *,
charging_Rule_Remove := *,
charging_Rule_Install := *,
qoS_Rule_Install := *,
qoS_Rule_Remove := *,
default_EPS_Bearer_QoS := *,
usage_Monitoring_Information := *,
session_Release_Cause := *,
bearer_Control_Mode := *,
event_Trigger := *,
revalidation_Time := *,
online := *,
offline := *,
qoS_Information := *,
aVP_Type := *
}
template Subses_Decision_Info_AVP mw_subses_Decision_Info_qosInfoAndDefaultEpsBearer modifies mw_subses_Decision_Info_any := {
default_EPS_Bearer_QoS := mw_default_EPS_Bearer_QoS_Class_5,
qoS_Information := mw_qoS_Information
}
} //end group S9HeaderFields
} //end DiameterHeaderFields
group DiameterTemplates {
group CxMessageTemplates{
group CxRequestBasicTemplates{
template MAR_MSG mw_MAR_basic modifies mw_MAR_dummy := {
header := mw_diameterHeaderReq_dummy(MAR_E, c_applId3GPPCxDx),
mAR_Body :={
auth_Application_Id := *,
sIP_AOR := *,
sIP_Method := *
}
}
template UAR_MSG mw_UAR_basic modifies mw_UAR_dummy := {
header := mw_diameterHeaderReq_dummy(UAR_E, c_applId3GPPCxDx),
uAR_Body :={
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
sIP_AOR := *,
sIP_Visited_Network_Id := *,
sIP_User_Authorization_Type := *
}
}
template RTR_MSG mw_RTR_basic modifies mw_RTR_dummy := {
header := mw_diameterHeaderReq_dummy(RTR_E, c_applId3GPPCxDx),
rTR_Body :={
auth_Application_Id := *,
sIP_Deregistration_Reason := *
}
}
template SAR_MSG mw_SAR_basic modifies mw_SAR_dummy := {
header := mw_diameterHeaderReq_dummy(SAR_E, c_applId3GPPCxDx),
sAR_Body :={
auth_Application_Id := *,
sIP_Server_Assignment_Type := *,
sIP_User_Data_Already_Available := *
}
}
}
group CxRequestMessageTemplates{
template MAR_MSG mw_MAR(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_MAR_basic := {
header := mw_diameterHeaderReq_dummy(MAR_E, c_applId3GPPCxDx),
mAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
public_Identity := p_publicIdentity,
sIP_Number_Auth_Items := ?,
sIP_Auth_Data_Item := ?,
server_Name := ?
}
}
template RTR_MSG mw_RTR modifies mw_RTR_basic := {
header := mw_diameterHeaderReq_dummy(RTR_E, c_applId3GPPCxDx),
rTR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
deregistration_Reason := mw_deregistrationReason
}
}
template SAR_MSG mw_SAR_Registration(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_SAR_basic := {
header := mw_diameterHeaderReq_dummy(SAR_E, c_applId3GPPCxDx),
sAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
public_Identity := {p_publicIdentity},
server_Name := ?,
server_Assignment_Type := mw_serverAssignmentType(REGISTRATION_E),
user_Data_Already_Available := ?
}
}
template SAR_MSG mw_SAR_UnregisteredUser(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_SAR_basic := {
header := mw_diameterHeaderReq_dummy(SAR_E, c_applId3GPPCxDx),
sAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
public_Identity := {p_publicIdentity},
server_Name := ?,
server_Assignment_Type := mw_serverAssignmentType(UNREGISTERED_USER_E),
user_Data_Already_Available := ?
}
}
template SAR_MSG mw_SAR_UserDeregistration(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_SAR_basic := {
header := mw_diameterHeaderReq_dummy(SAR_E, c_applId3GPPCxDx),
sAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
public_Identity := {p_publicIdentity},
server_Name := ?,
server_Assignment_Type := mw_serverAssignmentType(USER_DEREGISTRATION_E),
user_Data_Already_Available := ?
}
}
template UAR_MSG mw_UAR_Registration(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_UAR_basic := {
header := mw_diameterHeaderReq_dummy(UAR_E, c_applId3GPPCxDx),
uAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
public_Identity := p_publicIdentity,
visited_Network_Identifier := ?,
user_Authorization_Type := mw_userAuthorizationType(REGISTRATION)
}
}
template UAR_MSG mw_UAR(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_UAR_basic := {
header := mw_diameterHeaderReq_dummy(UAR_E, c_applId3GPPCxDx),
uAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
public_Identity := p_publicIdentity
}
}
template UAR_MSG mw_UAR_unknownPrivateId(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_UAR_basic := {
header := mw_diameterHeaderReq_dummy(UAR_E, c_applId3GPPCxDx),
uAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,//UNKNOWN PRIVATE USER IDENTITY
public_Identity := p_publicIdentity
}
}
template UAR_MSG mw_UAR_deRegistration(template (present) Public_Identity_AVP p_publicIdentity := ?) modifies mw_UAR_basic := {
header := mw_diameterHeaderReq_dummy(UAR_E, c_applId3GPPCxDx),
uAR_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
user_Name := ?,
public_Identity := p_publicIdentity,
visited_Network_Identifier := ?,
user_Authorization_Type := mw_userAuthorizationType(DE_REGISTRATION)
}
}
}// end group CxRequestMessageTemplates
group CxAnswertBasicTemplates{
template MAA_MSG mw_MAA_basic modifies mw_MAA_dummy := {
header := mw_diameterHeaderAns_dummy(MAA_E, c_applId3GPPCxDx),
mAA_Body :={
auth_Application_Id := *
}
}
template RTA_MSG mw_RTA_basic modifies mw_RTA_dummy := {
header := mw_diameterHeaderAns_dummy(RTA_E, c_applId3GPPCxDx),
rTA_Body :={
auth_Application_Id := *
}
}
template SAA_MSG mw_SAA_basic modifies mw_SAA_dummy := {
header := mw_diameterHeaderAns_dummy(SAA_E, c_applId3GPPCxDx),
sAA_Body :={
auth_Application_Id := *,
vendor_Specific_Application_Id := ?,
sIP_User_Data := *,
sIP_Accounting_Information := *
}
}
template UAA_MSG mw_UAA_basic modifies mw_UAA_dummy := {
header := mw_diameterHeaderAns_dummy(UAA_E, c_applId3GPPCxDx),
uAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Application_Id := *,
experimental_Result := *,
supported_Features := *,
server_Name := *,
server_Capabilities := *,
failed := *
}
}
}// end group CxAnswertBasicTemplates
group CxAnswertMessageTemplates{
template MAA_MSG mw_MAA modifies mw_MAA_dummy := {
header := mw_diameterHeaderAns_dummy(MAA_E, c_applId3GPPCxDx),
mAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Application_Id := *,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := mw_resultCode(mw_resultCode_diameterSuccess),
experimental_Result := omit,
user_Name := ?,
sIP_Number_Auth_Items := ?,
sIP_Auth_Data_Item := ?
}
}
template RTA_MSG mw_RTA modifies mw_RTA_basic := {
header := mw_diameterHeaderAns_dummy(RTA_E, c_applId3GPPCxDx),
rTA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
template SAA_MSG mw_SAA modifies mw_SAA_basic := {
header := mw_diameterHeaderAns_dummy(SAA_E, c_applId3GPPCxDx),
sAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
template SAA_MSG mw_SAA_userData modifies mw_SAA_basic := {
header := mw_diameterHeaderAns_dummy(SAA_E, c_applId3GPPCxDx),
sAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := mw_resultCode(mw_resultCode_diameterSuccess),
user_Data := ?,
charging_Information := ?
}
}
template UAA_MSG mw_UAA_diamFirstRegistration modifies mw_UAA_basic := {
header := mw_diameterHeaderAns_dummy(UAA_E, c_applId3GPPCxDx),
uAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := omit,
experimental_Result := mw_experimentalResult(DIAMETER_FIRST_REGISTRATION_E)
}
}
template UAA_MSG mw_UAA_diamSubsequentRegistration modifies mw_UAA_basic := {
header := mw_diameterHeaderAns_dummy(UAA_E, c_applId3GPPCxDx),
uAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := omit,
experimental_Result := mw_experimentalResult(DIAMETER_SUBSEQUENT_REGISTRATION_E),
server_Name := ?,
server_Capabilities := omit
}
}
template UAA_MSG mw_UAA_diamErrorUserUnknown modifies mw_UAA_basic := {
header := mw_diameterHeaderAns_dummy(UAA_E, c_applId3GPPCxDx),
uAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := omit,
experimental_Result := mw_experimentalResult(DIAMETER_ERROR_USER_UNKNOWN_E),
server_Name := omit
}
}
template UAA_MSG mw_UAA_diamSuccess modifies mw_UAA_basic := {
header := mw_diameterHeaderAns_dummy(UAA_E, c_applId3GPPCxDx),
uAA_Body :={
vendor_Specific_Application_Id := ?,
auth_Session_State := mw_authSessionState_noStateMaintained,
result_Code := mw_resultCode(mw_resultCode_diameterSuccess),
experimental_Result := omit,
server_Name := ?,
server_Capabilities := omit
}
}
}// end group CxRequestMessageTemplates
}//end group CxMessageTemplates
group RxMessageTemplates{
group RxRequestBasicTemplates{
template AAR_MSG mw_AAR_basic modifies mw_AAR_dummy := {
header := mw_diameterHeaderReq_dummy(AAR_E, c_applIdRx)
}
template ASR_MSG mw_ASR_basic modifies mw_ASR_dummy := {
header := mw_diameterHeaderReq_dummy(ASR_E, c_applIdRx)
}
template RAR_MSG mw_RAR_basic modifies mw_RAR_dummy := {
header := mw_diameterHeaderReq_dummy(RAR_E, c_applIdRx),
rAR_Body :={
re_Auth_Request_Type := *
}
}
template STR_MSG mw_STR_basic modifies mw_STR_dummy := {
header := mw_diameterHeaderReq_dummy(STR_E, c_applIdRx)
}
}
group RxRequestMessageTemplates{
template AAR_MSG mw_AAR_RequestType_ServiceInfoStatus_FramedIPv4(
template (present) Rx_Request_Type_AVP p_rxRequestType := ?,
template (present) Service_Info_Status_AVP p_serviceInfoStatus := ?,
template (present) Framed_IP_Address_AVP p_framedIPAddress := ?,
template (present) Specific_Action_AVP p_specificAction := ?
) modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := ?,
specific_Action := {p_specificAction},
framed_IP_Address := p_framedIPAddress,
rx_Request_Type := p_rxRequestType,
service_Info_Status := p_serviceInfoStatus
//framed_IPv6_Address := *,
}
}
template AAR_MSG mw_AAR_MediaComponent_specificActionLossOfBearer modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := {mw_mediaComponentDescription_SubComponentFlowStatusEnabled},
specific_Action := {((mw_specificAction(INDICATION_OF_LOSS_OF_BEARER_E))),
(?,(mw_specificAction(INDICATION_OF_LOSS_OF_BEARER_E))),
(?,?,(mw_specificAction(INDICATION_OF_LOSS_OF_BEARER_E)))
},
framed_IP_Address := ?
//framed_IPv6_Address := *,
}
}
template AAR_MSG mw_AAR_MediaComponent_mediaComponentDescription_FlowStatusDisabled modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := {mw_mediaComponentDescription_FlowStatusDisabled},
specific_Action := *,
framed_IP_Address := ?
//framed_IPv6_Address := *,
}
}
template AAR_MSG mw_AAR_MediaComponent_mediaComponentDescription_FlowStatusEnabledDownlink modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := {mw_mediaComponentDescription_FlowStatusEnabledDownlink},
specific_Action := *,
framed_IP_Address := ?
//framed_IPv6_Address := *,
}
}
template AAR_MSG mw_AAR_MediaComponent_mediaComponentDescription_FlowStatusEnabledUplink modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := {mw_mediaComponentDescription_FlowStatusEnabledUplink},
specific_Action := *,
framed_IP_Address := ?
//framed_IPv6_Address := *,
}
}
template AAR_MSG mw_AAR_MediaComponent_mediaComponentDescription_FlowStatusEnabled modifies mw_AAR_basic := {
aAR_Body :={
media_Component_Description := {mw_mediaComponentDescription_FlowStatusEnabled},
specific_Action := *,
framed_IP_Address := ?
//framed_IPv6_Address := *,
}
}
template ASR_MSG mw_ASR_abortCause(template (present) Abort_Cause_Type p_avpData) modifies mw_ASR_basic := {
aSR_Body :={
abort_cause := mw_abortCause(p_avpData)
}
}
template RAR_MSG mw_RAR_SpecificAction modifies mw_RAR_basic := {
rAR_Body :={
specific_Action := ?
}
}
}// end group RxRequestMessageTemplates
group RxAnswerBasicTemplates{
template AAA_MSG mw_AAA_basic modifies mw_AAA_dummy := {
header := mw_diameterHeaderAns_dummy(AAA_E, c_applIdRx)
}
template ASA_MSG mw_ASA_basic modifies mw_ASA_dummy := {
header := mw_diameterHeaderAns_dummy(ASA_E, c_applIdRx)
}
template RAA_MSG mw_RAA_basic modifies mw_RAA_dummy := {
header := mw_diameterHeaderAns_dummy(RAA_E, c_applIdRx)
}
template STA_MSG mw_STA_basic modifies mw_STA_dummy := {
header := mw_diameterHeaderAns_dummy(STA_E, c_applIdRx)
}
}
group RxAnswertMessageTemplates{
template AAA_MSG mw_AAA_AcceptableService modifies mw_AAA_basic := {
aAA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess),
acceptable_service_info := {
media_component_description :=
{mw_mediaComponentDescription_SubComponentFlowStatusEnabled
}
},
ip_Can_Type := ?,
rat_Type := ?
}
}
template AAA_MSG mw_AAA_resultCode modifies mw_AAA_basic := {
aAA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
template AAA_MSG mw_AAA_resultCode_mediaCopmonentDescription modifies mw_AAA_basic := {
aAA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess),
acceptable_service_info := {
media_component_description :=
{mw_mediaComponentDescription_SubComponentFlowStatusEnabled
}
}
}
}
template ASA_MSG mw_ASA_resultCode modifies mw_ASA_basic := {
aSA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
template RAA_MSG mw_RAA_Rx_resultCode modifies mw_RAA_basic := {
rAA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
template STA_MSG mw_STA_diamSuccess modifies mw_STA_basic := {
sTA_Body :={
result_Code := mw_resultCode(mw_resultCode_diameterSuccess)
}
}
}// end group RxRequestMessageTemplates
}//end group RxMessageTemplates
group GxMessageTemplates{
group GxRequestBasicTemplates{
template CCR_MSG mw_CCR_basic modifies mw_CCR_dummy := {
header := mw_diameterHeaderReq_dummy(CCR_E, c_applIdGx)
}
template RAR_MSG mw_RAR_Gx_basic modifies mw_RAR_dummy := {
header := mw_diameterHeaderReq_dummy(RAR_E, c_applIdGx)
}
}
group GxRequestMessageTemplates{
template CCR_MSG mw_CCR_RequestType(CC_Request_Ty_Type p_avpData) modifies mw_CCR_basic := {
cCR_Body :={
cC_Request_Type := mw_cC_Request_Type(p_avpData)
}
}