RADIUS - Codec Info in CDR
Â
Local media capabilities, remote media capabilities, and the Codec Priorities are reported in the RADIUS Call Details Records. The Remote Media Capabilities and the Codec information is received in the "m=" line of the SDP portion of the SIP message. This line displays the Remote Media Capabilities and the Codec information from the remote side. The Local Media Capabilities are read from the IP Profile in the configuration. This information is written to the CDR and sent to the RADIUS server in the accounting message as a vendor specific attribute.
Â
Example of "m" line in SDP
Â
v=0
o=- 1643042763 1643042846 IN IP4 10.129.39.111
s=eyeBeam
c=IN IP4 10.129.39.111
t=0 0
m=audio 7118 RTP/AVP 0 3 8 18 5 101
a=alt:1 1 : A95B1E03 000000F5 10.129.39.111 7118
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv |
Â
If the inbound call contains multiple codecs and the IP bearer profile contains multiple codecs then the codec selected is first match based on the codec priority.
Vendor Specific Attributes (CDR) for radius
Attribute Name | IETFAttribute# | Description | Value |
---|---|---|---|
Dialogic-Voip-local-vocoders | 57 | Local Vocoder Information | String |
Dialogic-Voip-remote-vocoders | 58 | Remote Vocoder Infomation | String |
Dialogic-Voip-codec-priority | 59 | Remote Codec Priority List | String |
Examples of CDR
Attribute Name | Example of CDR: |
---|---|
Dialogic-Voip-local-vocoders | = "PCMA,G723,G729,telephone-event" |
Dialogic-Voip-remote-vocoders | = "G729,G723,PCMU,PCMA,telephone-event" |
Dialogic-Voip-codec-priority | = "Local" |
Â