A sample Diameter credit control (DCC) ; session control ; Inital Answer - wireshark capture - which may be useful to DCC beginners for using in seagull tool for learning purposes in response to a Initial request.
Diameter Protocol
Version: 0x01
Length: 160
Flags: 0x40
0... .... = Request: Not set
.1.. .... = Proxyable: Set
..0. .... = Error: Not set
...0 .... = T(Potentially re-transmitted message): Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
Command Code: 272 Credit-Control
ApplicationId: Diameter Credit Control Application (4)
Hop-by-Hop Identifier: 0x21000c53
End-to-End Identifier: 0x1910dca3
AVP: Session-Id(263) l=33 f=-M- val=slite;3630389812;596;6068
AVP Code: 263 Session-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 33
Session-Id: slite;3630389812;596;6068
Padding: 000000
AVP: Origin-Host(264) l=23 f=-M- val=slite
AVP Code: 264 Origin-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 23
Origin-Host: slite
Padding: 00
AVP: Origin-Realm(296) l=20 f=-M- val=shareoliteBG
AVP Code: 296 Origin-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Origin-Realm: shareoliteBG
AVP: Result-Code(268) l=12 f=-M- val=DIAMETER_SUCCESS (2001)
AVP Code: 268 Result-Code
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Result-Code: DIAMETER_SUCCESS (2001)
AVP: Auth-Application-Id(258) l=12 f=-M- val=Diameter Credit Control (4)
AVP Code: 258 Auth-Application-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Auth-Application-Id: Diameter Credit Control (4)
AVP: CC-Request-Number(415) l=12 f=-M- val=0
AVP Code: 415 CC-Request-Number
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
CC-Request-Number: 0
AVP: CC-Request-Type(416) l=12 f=-M- val=INITIAL_REQUEST (1)
AVP Code: 416 CC-Request-Type
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
CC-Request-Type: INITIAL_REQUEST (1)
AVP: Credit-Control-Failure-Handling(427) l=12 f=-M- val=CONTINUE (1)
AVP Code: 427 Credit-Control-Failure-Handling
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Credit-Control-Failure-Handling: CONTINUE (1)
Diameter Protocol
Version: 0x01
Length: 160
Flags: 0x40
0... .... = Request: Not set
.1.. .... = Proxyable: Set
..0. .... = Error: Not set
...0 .... = T(Potentially re-transmitted message): Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
Command Code: 272 Credit-Control
ApplicationId: Diameter Credit Control Application (4)
Hop-by-Hop Identifier: 0x21000c53
End-to-End Identifier: 0x1910dca3
AVP: Session-Id(263) l=33 f=-M- val=slite;3630389812;596;6068
AVP Code: 263 Session-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 33
Session-Id: slite;3630389812;596;6068
Padding: 000000
AVP: Origin-Host(264) l=23 f=-M- val=slite
AVP Code: 264 Origin-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 23
Origin-Host: slite
Padding: 00
AVP: Origin-Realm(296) l=20 f=-M- val=shareoliteBG
AVP Code: 296 Origin-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Origin-Realm: shareoliteBG
AVP: Result-Code(268) l=12 f=-M- val=DIAMETER_SUCCESS (2001)
AVP Code: 268 Result-Code
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Result-Code: DIAMETER_SUCCESS (2001)
AVP: Auth-Application-Id(258) l=12 f=-M- val=Diameter Credit Control (4)
AVP Code: 258 Auth-Application-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Auth-Application-Id: Diameter Credit Control (4)
AVP: CC-Request-Number(415) l=12 f=-M- val=0
AVP Code: 415 CC-Request-Number
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
CC-Request-Number: 0
AVP: CC-Request-Type(416) l=12 f=-M- val=INITIAL_REQUEST (1)
AVP Code: 416 CC-Request-Type
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
CC-Request-Type: INITIAL_REQUEST (1)
AVP: Credit-Control-Failure-Handling(427) l=12 f=-M- val=CONTINUE (1)
AVP Code: 427 Credit-Control-Failure-Handling
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Credit-Control-Failure-Handling: CONTINUE (1)