hwOntRecentCallCodec
HUAWEI-VOIP-ONT-MIB ·
.1.3.6.1.4.1.2011.6.36.11.22.1.6
Object
column Integer32
Indicates the codec used in the call. Codec points are assigned as follows: 0: G.711U 1: Reserved 2: G.726 3: GSM 4: G.723 5: DVI4-8K 6: DVI4-16K 7: LPC 8: G.711A 9: G.722 10: L16-2 channels 11: L16-1 channels 12: QCELP 13: CN 14: MPA 15: G.728 16: DVI4-11K 17: DVI4-22K 18: G.729 250: T.38
Context
- MIB
- HUAWEI-VOIP-ONT-MIB
- OID
.1.3.6.1.4.1.2011.6.36.11.22.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOntRecentCallRecordsEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwOntRecentCallCodec'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwOntRecentCallCodec.<hwVoiceIfIndex>.<hwVoiceOntIndex>.<hwVoiceOntPortIndex>.<hwOntRecentCallRecordIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOIP-ONT-MIB::hwOntRecentCallCodec'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-18
range: 250-250