hwPstnCTPCallState

HUAWEI-VOICEUSER-MIB · .1.3.6.1.4.1.2011.6.112.1.2.1.10

Object

column Enumeration
Indicates the register status of the PSTN port. 
Options:
1. idle(1)- there is no call on the user 
2. offhook(2)-  the user hung up
3. dialing(3)- the user is dialing
4.establishing(4)- the call is establishing
5.ringing(5)- the phone is ringing
6.ringback(6)- the phone is ringback
7.connecting(7)- the call is connecting
8.connected(8)- the call is connected
9.hold(9)- the call is hold
10.disconnecting(10)- the call is disconnecting
11.locked(11)- the port is locked
12. invalidusertype(12) -- the user is not SIP user

Context

MIB
HUAWEI-VOICEUSER-MIB
OID
.1.3.6.1.4.1.2011.6.112.1.2.1.10
Type
column
Access
readonly
Status
current
Parent
hwPstnCTPOperEntry

Walk 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-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPCallState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPCallState.<hwPstnCTPOperIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPCallState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1idle
2offhook
3dialing
4establishing
5ringing
6ringback
7connecting
8connected
9hold
10disconnecting
11locked
12invalidusertype