MSRP Attributes
MSRP attributes will look like the following when put on one AVP:
msrp-attr-type = 0
msrp-attr-len = …
msrp-attr-data = {1, Acme-MSRP-Calling-Packets, Acme-MSRP-Calling-octets,
Acme-MSRP-Calling-Packets-Transmitted, Acme-MSRP-Calling-Octets-Transmitted,
Acme-MSRP-Called-Packets, Acme-MSRP-Called-Octets, Acme-MSRP-Called-Packets-transmitted, Acme-MSRP-Called-Octets-Transmitted}
For example, if the value for a call
is
0x00230100000001000000f6000000010000009a000000010000009a00000001000000f5
,
you should create a parser to break up the information as follows:
- Type: 0x00
- Length: 23
- Version: 01
- Calling Packets: 00000001
- Calling Octets: 000000f6
- Calling Packets Transferred: 00000001
- Calling Octets Transferred: 0000009a
- Called Octets: 0000009a
- Called Packets Transferred: 00000001
- Called Octets Transferred: 000000f5
Table 5-1 MSRP Attributes in CDRs
Attribute Name | Attribute Description | Attribute Value | Attribute Value Type | Messages |
---|---|---|---|---|
Acme-MSRP-Calling-Packets-Received | MSRP total calling (initiating side) packets received by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Calling-Octets-Received | MSRP total calling (initiating side) octets received by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Calling-Packets-Transmitted | MSRP total calling (initiating side) transmitted packets by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Calling-Octets-Transmitted | MSRP total calling (initiating side) transmitted octets by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Called-Packets-Received | MSRP total called (answering side) received packets by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Called-Octets-Received | MSRP total called (answering side) octets received by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Called-Packets-Transmitted | MSRP total called (answering side) transmitted packets by the SBC | 249, extended | integer | Stop |
Acme-MSRP-Called-Octets-Transmitted | MSRP total called (answering side) transmitted octets by the SBC | 249, extended | integer | Stop |