A class for performing SNMP V2 queries on Asterisk

see |
copyright | Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland
author | Barry O'Donovan

### Methods

## Returns the current number of active channels.

    active() : int

> Current number of active channels.

### Returns

`int`The current number of active channels.

## Array of active calls on supported channels

    activeCalls() : array

> Number of active channels using the current technology.

### Returns

`array`Active calls on supported channels

## Number of channels currently in a bridged state.

    bridged() : int

> Number of channels currently in a bridged state.

### Returns

`int`Array of active calls on supported channels

## Active Channel Information: Whether or not ADSI is detected on CPE. (see constants)

    chanADSI(bool $translate = false) : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Whether or not ADSI is detected on CPE. (see constants)

### Parameters

#### $translate

`bool`

If true, use the `$CHANNEL_ADSIs` array to return textual representation

### Returns

`array`Whether or not ADSI is detected on CPE. (see constants)

## Active Channel Information: AMA Flags. (See constants)

    chanAMAFlags(bool $translate = false) : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > AMA Flags. (See constants)

### Parameters

#### $translate

`bool`

If true, use the `$CHANNEL_AMA_FLAGS` array to return textual representation

### Returns

`array`AMA Flags. (See constants)

## Active Channel Information: Account Code for billing.

    chanAccountCode() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Account Code for billing.

### Returns

`array`Account Code for billing.

## Active Channel Information: Current application for the channel.

    chanApp() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current application for the channel.

### Returns

`array`Current application for the channel.

## Active Channel Information: Which channel this channel is currently bridged (in a conversation) with.

    chanBridge() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Which channel this channel is currently bridged (in a conversation) with.

### Returns

`array`Which channel this channel is currently bridged (in a conversation) with.

## Active Channel Information: Call Group.

    chanCallGroup() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Call Group.

### Returns

`array`Call Group.

## Active Channel Information: ANI

    chanCidANI() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > ANI

### Returns

`array`ANI

## Active Channel Information: ANI 2 (info digit).

    chanCidANI2() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > ANI 2 (info digit).

### Returns

`array`ANI 2 (info digit).

## Active Channel Information: Dialled Number ID.

    chanCidDNID() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Dialled Number ID.

### Returns

`array`Dialled Number ID.

## Active Channel Information: Caller Name.

    chanCidName() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Caller Name.

### Returns

`array`Caller Name.

## Active Channel Information: Caller Number.

    chanCidNum() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Caller Number.

### Returns

`array`Caller Number.

## Active Channel Information: Number Presentation/Screening.

    chanCidPresentation() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Number Presentation/Screening.

### Returns

`array`Number Presentation/Screening.

## Active Channel Information: Redirected Dialled Number Service.

    chanCidRDNIS() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Redirected Dialled Number Service.

### Returns

`array`Redirected Dialled Number Service.

## Active Channel Information: Transit Network Select.

    chanCidTNS() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Transit Network Select.

### Returns

`array`Transit Network Select.

## Active Channel Information: Type of Number.

    chanCidTON() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Type of Number.

### Returns

`array`Type of Number.

## Active Channel Information: Current extension context.

    chanContext() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current extension context.

### Returns

`array`Current extension context.

## Active Channel Information: Arguments passed to the current application.

    chanData() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Arguments passed to the current application.

### Returns

`array`Arguments passed to the current application.

## Active Channel Information: Current extension.

    chanExten() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current extension.

### Returns

`array`Current extension.

## Active Channel Information: Flags set on this channel.

    chanFlags() : array

Returns a HEX number - but I could not map it to the following from Asterisk docs: > BITS { > wantsJitter(0), > deferDTMF(1), > writeInterrupt(2), > blocking(3), > zombie(4), > exception(5), > musicOnHold(6), > spying(7), > nativeBridge(8), > autoIncrementingLoop(9) > } NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Flags set on this channel. (see constants)

### Returns

`array`Flags set on this channel. (see constants)

## Active Channel Information: Where to forward to if asked to dial on this interface.

    chanForwardTo() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Where to forward to if asked to dial on this interface.

### Returns

`array`Where to forward to if asked to dial on this interface.

## Active Channel Information: Why is the channel hung up. (see constants)

    chanHangupCause(bool $translate = false) : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Why is the channel hung up. (see constants)

### Parameters

#### $translate

`bool`

If true, use the `$CHANNEL_HANGUP_CAUSES` array to return textual representation

### Returns

`array`Why is the channel hung up. (see constants)

## Active Channel Information: Which language the current channel is configured to use -- used mainly for prompts.

    chanLanguage() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Which language the current channel is configured to use -- used mainly for prompts.

### Returns

`array`Which language the current channel is configured to use -- used mainly for prompts.

## Active Channel Information: Current macro context.

    chanMacroContext() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current macro context.

### Returns

`array`Current macro context.

## Active Channel Information: Current macro extension.

    chanMacroExten() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current macro extension.

### Returns

`array`Current macro extension.

## Active Channel Information: Current macro priority.

    chanMacroPri() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current macro priority.

### Returns

`array`Current macro priority.

## Active Channel Information: Channel masquerading for us.

    chanMasq() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Channel masquerading for us.

### Returns

`array`Channel masquerading for us.

## Active Channel Information: Channel we are masquerading for.

    chanMasqr() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Channel we are masquerading for.

### Returns

`array`Channel we are masquerading for.

## Active Channel Information: Music class to be used for Music on Hold for this channel.

    chanMusicClass() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Music class to be used for Music on Hold for this channel.

### Returns

`array`Music class to be used for Music on Hold for this channel.

## Active Channel Information: Transmission of voice data has been muted.

    chanMuted() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Transmission of voice data has been muted.

### Returns

`array`Transmission of voice data has been muted.

## Active Channel Information: Name of the current channel.

    chanName() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Name of the current channel.

### Returns

`array`Name of the current channel.

## Active Channel Information: Pickup Group.

    chanPickupGroup() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Pickup Group.

### Returns

`array`Pickup Group.

## Active Channel Information: Current priority.

    chanPri() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Current priority.

### Returns

`array`Current priority.

## Active Channel Information: Number of rings so far.

    chanRings() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Number of rings so far.

### Returns

`array`Number of rings so far.

## Active Channel Information: Channel state (see channel state constants).

    chanState(bool $translate = false) : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Channel state (see channel state constants).

### Parameters

#### $translate

`bool`

If true, use the `$CHANNEL_STATES` array to return textual representation

### Returns

`array`Channel state (see channel state constants).

## Active Channel Information: Indication zone to use for channel.

    chanToneZone() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Indication zone to use for channel.

### Returns

`array`Indication zone to use for channel.

## Active Channel Information: Transfer Capabilities for this channel. (see constants)

    chanTransferCap(bool $translate = false) : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Transfer Capabilities for this channel. (see constants)

### Parameters

#### $translate

`bool`

If true, use the `$CHANNEL_TRANSFER_CAPABILITIES` array to return textual representation

### Returns

`array`Transfer Capabilities for this channel. (see constants)

## Active Channel Information: Underlying technology for the current channel.

    chanType() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Underlying technology for the current channel.

### Returns

`array`Underlying technology for the current channel.

## Active Channel Information: Unique Channel Identifier.

    chanUniqueId() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Unique Channel Identifier.

### Returns

`array`Unique Channel Identifier.

## Active Channel Information: Channel Variables defined for this channel.

    chanVariables() : array

Returns an array of arrays where the inner array is key/value pairs of channel variables for that channel: `[varName] => [varValue]` NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > Channel Variables defined for this channel.

### Returns

`array`Channel Variables defined for this channel.

## Active Channel Information: How long until this channel will be hung up.

    chanWhenHangup() : array

NB: SNMP exceptions are caught and in such cases null is returned as not all channels have all properties. > How long until this channel will be hung up.

### Returns

`array`How long until this channel will be hung up.

## Utility function to gather together all the details of individual channels into an array.

    channelDetails(bool $translate = false, bool $useIndexes = false) : array

Essentially, this function calls all `chanXXX()` functions to return the details for individual channels gathered together. E.g. Array ( .... [SIP/foobar-654-00000372] => Array ( [chanName] => SIP/foobar-654-00000372 [chanLanguage] => en [chanType] => SIP [chanMusicClass] => (null) ... [chanVariables] => Array ( [DIALEDPEERNUMBER] => foobar-654 [SIPCALLID] => 1be189fa6281ffc1108db32935f05016@192.168.7.7:5060 ) [chanFlags] => 1020 [chanTransferCap] => speech ) .... ) The function returns an array of all channels. Unknown parameters within the channel are set to null. An empty array is returned if there are no active channels.

### Parameters

#### $translate

`bool`

Translate parameters when possible

#### $useIndexes

`bool`

Rather than indexing the outer array with the unique channel name, index with the SNMP table position

### Returns

`array`All the details of individual channels into an array.

## Array of supported channel type descriptions

    descriptions() : array

> Description of the channel type (technology).

### Returns

`array`Supported channel type descriptions

## Utility function to gather channel details together in an associative array.

    details(bool $useIndex = false) : array

Returns an array of support channel types. For example: Array ( .... [SIP] => Array ( [name] => SIP [index] => 5 [description] => Session Initiation Protocol (SIP) [hasDeviceState] => 1 [hasProgressIndications] => 1 [canTransfer] => 1 [activeCalls] => 0 ) .... ) If you chose to index by SNMP table entries, the above element would be indexed with `5` rather than `SIP`.

### Parameters

#### $useIndex

`bool`

If true, the array is indexed using the SNMP table index rather than the unique channel type name

### Returns

`array`Channel details as an associative array

## Array of supported channel type device state capability

    deviceStates() : array

> Whether the current technology can hold device states.

### Returns

`array`Whether the current technology can hold device states.

## Get the SNMP instance

    getSNMP() : \OSS_SNMP\SNMP

### Returns

`\OSS_SNMP\SNMP`Instance of the SNMP object

## Array of supported channel type names

    names() : array

> Unique name of the technology we are describing.

### Returns

`array`Supported channel type names

## Array of supported channel type progress indication capability

    progressIndications() : array

> Whether the current technology supports progress indication.

### Returns

`array`Whether the current technology supports progress indication.

## Set the SNMP instance

    setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB

### Parameters

#### $snmp

`\OSS_SNMP\SNMP`

the SNMP instance

### Returns

`\OSS_SNMP\MIB`An instance of this class for fluent interfaces

## Returns the number of channel types (technologies) supported.

    supported() : int

> Number of channel types (technologies) supported.

### Returns

`int`The number of channel types (technologies) supported.

## Array of supported channel type transfer capability

    transfers() : array

> Whether the current technology supports transfers, where > Asterisk can get out from inbetween two bridged channels.

### Returns

`array`Whether the current technology transfers

## Utility function for `chanVariables()` to break the string returned by OID_ASTERISK_CHANNEL_VARIABLES into an array of key / value pairs

    _chanVarsToArray(string $str) : Array

### Parameters

#### $str

`string`

String containing channel variables (from `chanVariables()`

### Returns

`Array`An array of `[varName] => [varValue]` pairs for the channel

### Properties

## $CHANNEL_ADSIs

    $CHANNEL_ADSIs

### Default

`array(self::CHANNEL_ADSI_UNKNOWN => 'unknown', self::CHANNEL_ADSI_AVAILABLE => 'available', self::CHANNEL_ADSI_UNAVAILABLE => 'unavailable', self::CHANNEL_ADSI_OFF_HOOK_ONLY => 'offHookOnly')`
Static

## $CHANNEL_AMA_FLAGS

    $CHANNEL_AMA_FLAGS

### Default

`array(self::CHANNEL_AMA_FLAG_DEFAULT => 'default', self::CHANNEL_AMA_FLAG_OMIT => 'omit', self::CHANNEL_AMA_FLAG_BILLING => 'billing', self::CHANNEL_AMA_FLAG_DOCUMENTATION => 'documentation')`
Static

## $CHANNEL_HANGUP_CAUSES

    $CHANNEL_HANGUP_CAUSES

### Default

`array(self::CHANNEL_HANGUP_CAUSE_NOT_DEFINED => 'notDefined', self::CHANNEL_HANGUP_CAUSE_UNREGISTERED => 'unregistered', self::CHANNEL_HANGUP_CAUSE_NORMAL => 'normal', self::CHANNEL_HANGUP_CAUSE_BUSY => 'busy', self::CHANNEL_HANGUP_CAUSE_NO_ANSWER => 'noAnswer', self::CHANNEL_HANGUP_CAUSE_CONGESTION => 'congestion', self::CHANNEL_HANGUP_CAUSE_FAILURE => 'failure', self::CHANNEL_HANGUP_CAUSE_NO_SUCH_DRIVER => 'noSuchDriver')`
Static

## $CHANNEL_STATES

    $CHANNEL_STATES

### Default

`array(self::CHANNEL_STATE_DOWN => 'down', self::CHANNEL_STATE_RESERVED => 'reserved', self::CHANNEL_STATE_OFF_HOOK => 'offHook', self::CHANNEL_STATE_DIALING => 'dialing', self::CHANNEL_STATE_RING => 'ring', self::CHANNEL_STATE_RINGING => 'ringing', self::CHANNEL_STATE_UP => 'up', self::CHANNEL_STATE_BUSY => 'busy', self::CHANNEL_STATE_DIALING_OFF_HOOK => 'dialingOffHook', self::CHANNEL_STATE_PRE_RING => 'preRing')`
Static

## $CHANNEL_TRANSFER_CAPABILITIES

    $CHANNEL_TRANSFER_CAPABILITIES

### Default

`array(self::CHANNEL_TRANSFER_CAPABILITY_SPEECH => 'speech', self::CHANNEL_TRANSFER_CAPABILITY_DIGITAL => 'digital', self::CHANNEL_TRANSFER_CAPABILITY_RESTRICTED_DIGITAL => 'restrictedDigital', self::CHANNEL_TRANSFER_CAPABILITY_AUDIO_3K => 'audio3k', self::CHANNEL_TRANSFER_CAPABILITY_DIGITAL_WITH_TONES => 'digitalWithTones', self::CHANNEL_TRANSFER_CAPABILITY_VIDEO => 'video')`
Static

## Instance for the SNMP object

    $_snmp

### Default

`null`

### Constants

## Possible ADSI of an Asterisk channel as returned by `chanADSI()`

    CHANNEL_ADSI_AVAILABLE = 1 : int

## Possible ADSI of an Asterisk channel as returned by `chanADSI()`

    CHANNEL_ADSI_OFF_HOOK_ONLY = 3 : int

## Possible ADSI of an Asterisk channel as returned by `chanADSI()`

    CHANNEL_ADSI_UNAVAILABLE = 2 : int

## Possible ADSI of an Asterisk channel as returned by `chanADSI()`

    CHANNEL_ADSI_UNKNOWN = 0 : int

## Possible AMA flag of an Asterisk channel as returned by `chanAMAFlags()`

    CHANNEL_AMA_FLAG_BILLING = 2 : int

## Possible AMA flag of an Asterisk channel as returned by `chanAMAFlags()`

    CHANNEL_AMA_FLAG_DEFAULT = 0 : int

## Possible AMA flag of an Asterisk channel as returned by `chanAMAFlags()`

    CHANNEL_AMA_FLAG_DOCUMENTATION = 3 : int

## Possible AMA flag of an Asterisk channel as returned by `chanAMAFlags()`

    CHANNEL_AMA_FLAG_OMIT = 1 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_BUSY = 17 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_CONGESTION = 34 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_FAILURE = 38 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_NORMAL = 16 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_NOT_DEFINED = 0 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_NO_ANSWER = 19 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_NO_SUCH_DRIVER = 66 : int

## Possible hangup cause of an Asterisk channel as returned by `chanHangupCause()`

    CHANNEL_HANGUP_CAUSE_UNREGISTERED = 3 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_BUSY = 7 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_DIALING = 3 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_DIALING_OFF_HOOK = 8 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_DOWN = 0 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_OFF_HOOK = 2 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_PRE_RING = 9 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_RESERVED = 1 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_RING = 4 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_RINGING = 5 : int

## Possible state of an Asterisk channel as returned by `chanState()`

    CHANNEL_STATE_UP = 6 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_AUDIO_3K = 16 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_DIGITAL = 8 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_DIGITAL_WITH_TONES = 17 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_RESTRICTED_DIGITAL = 9 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_SPEECH = 0 : int

## Possible channel transfer capabilities of an Asterisk channel as returned by `chanTransferCap()`

    CHANNEL_TRANSFER_CAPABILITY_VIDEO = 24 : int

## OID_ASTERISK_CHANNELS_ACTIVE

    OID_ASTERISK_CHANNELS_ACTIVE = '.1.3.6.1.4.1.22736.1.5.1.0'

## OID_ASTERISK_CHANNELS_BRIDGED

    OID_ASTERISK_CHANNELS_BRIDGED = '.1.3.6.1.4.1.22736.1.5.5.1.0'

## OID_ASTERISK_CHANNELS_SUPPORTED

    OID_ASTERISK_CHANNELS_SUPPORTED = '.1.3.6.1.4.1.22736.1.5.3.0'

## OID_ASTERISK_CHANNEL_ACCOUNT_CODE

    OID_ASTERISK_CHANNEL_ACCOUNT_CODE = '.1.3.6.1.4.1.22736.1.5.2.1.18'

## OID_ASTERISK_CHANNEL_ADSI

    OID_ASTERISK_CHANNEL_ADSI = '.1.3.6.1.4.1.22736.1.5.2.1.36'

## OID_ASTERISK_CHANNEL_AMA_FLAGS

    OID_ASTERISK_CHANNEL_AMA_FLAGS = '.1.3.6.1.4.1.22736.1.5.2.1.35'

## OID_ASTERISK_CHANNEL_APP

    OID_ASTERISK_CHANNEL_APP = '.1.3.6.1.4.1.22736.1.5.2.1.10'

## OID_ASTERISK_CHANNEL_BRIDGE

    OID_ASTERISK_CHANNEL_BRIDGE = '.1.3.6.1.4.1.22736.1.5.2.1.6'

## OID_ASTERISK_CHANNEL_CALL_GROUP

    OID_ASTERISK_CHANNEL_CALL_GROUP = '.1.3.6.1.4.1.22736.1.5.2.1.21'

## OID_ASTERISK_CHANNEL_CID_ANI

    OID_ASTERISK_CHANNEL_CID_ANI = '.1.3.6.1.4.1.22736.1.5.2.1.29'

## OID_ASTERISK_CHANNEL_CID_ANI2

    OID_ASTERISK_CHANNEL_CID_ANI2 = '.1.3.6.1.4.1.22736.1.5.2.1.32'

## OID_ASTERISK_CHANNEL_CID_DNID

    OID_ASTERISK_CHANNEL_CID_DNID = '.1.3.6.1.4.1.22736.1.5.2.1.26'

## OID_ASTERISK_CHANNEL_CID_NAME

    OID_ASTERISK_CHANNEL_CID_NAME = '.1.3.6.1.4.1.22736.1.5.2.1.28'

## OID_ASTERISK_CHANNEL_CID_NUM

    OID_ASTERISK_CHANNEL_CID_NUM = '.1.3.6.1.4.1.22736.1.5.2.1.27'

## OID_ASTERISK_CHANNEL_CID_PRESENTATION

    OID_ASTERISK_CHANNEL_CID_PRESENTATION = '.1.3.6.1.4.1.22736.1.5.2.1.31'

## OID_ASTERISK_CHANNEL_CID_RDNIS

    OID_ASTERISK_CHANNEL_CID_RDNIS = '.1.3.6.1.4.1.22736.1.5.2.1.30'

## OID_ASTERISK_CHANNEL_CID_TNS

    OID_ASTERISK_CHANNEL_CID_TNS = '.1.3.6.1.4.1.22736.1.5.2.1.34'

## OID_ASTERISK_CHANNEL_CID_TON

    OID_ASTERISK_CHANNEL_CID_TON = '.1.3.6.1.4.1.22736.1.5.2.1.33'

## OID_ASTERISK_CHANNEL_CONTEXT

    OID_ASTERISK_CHANNEL_CONTEXT = '.1.3.6.1.4.1.22736.1.5.2.1.12'

## OID_ASTERISK_CHANNEL_DATA

    OID_ASTERISK_CHANNEL_DATA = '.1.3.6.1.4.1.22736.1.5.2.1.11'

## OID_ASTERISK_CHANNEL_EXTEN

    OID_ASTERISK_CHANNEL_EXTEN = '.1.3.6.1.4.1.22736.1.5.2.1.16'

## OID_ASTERISK_CHANNEL_FLAGS

    OID_ASTERISK_CHANNEL_FLAGS = '.1.3.6.1.4.1.22736.1.5.2.1.40'

## OID_ASTERISK_CHANNEL_FORWARD_TO

    OID_ASTERISK_CHANNEL_FORWARD_TO = '.1.3.6.1.4.1.22736.1.5.2.1.19'

## OID_ASTERISK_CHANNEL_HANGUP_CAUSE

    OID_ASTERISK_CHANNEL_HANGUP_CAUSE = '.1.3.6.1.4.1.22736.1.5.2.1.38'

## OID_ASTERISK_CHANNEL_LANGUAGE

    OID_ASTERISK_CHANNEL_LANGUAGE = '.1.3.6.1.4.1.22736.1.5.2.1.3'

## OID_ASTERISK_CHANNEL_MACRO_CONTEXT

    OID_ASTERISK_CHANNEL_MACRO_CONTEXT = '.1.3.6.1.4.1.22736.1.5.2.1.13'

## OID_ASTERISK_CHANNEL_MACRO_EXTEN

    OID_ASTERISK_CHANNEL_MACRO_EXTEN = '.1.3.6.1.4.1.22736.1.5.2.1.14'

## OID_ASTERISK_CHANNEL_MACRO_PRI

    OID_ASTERISK_CHANNEL_MACRO_PRI = '.1.3.6.1.4.1.22736.1.5.2.1.15'

## OID_ASTERISK_CHANNEL_MASQ

    OID_ASTERISK_CHANNEL_MASQ = '.1.3.6.1.4.1.22736.1.5.2.1.7'

## OID_ASTERISK_CHANNEL_MASQR

    OID_ASTERISK_CHANNEL_MASQR = '.1.3.6.1.4.1.22736.1.5.2.1.8'

## OID_ASTERISK_CHANNEL_MUSIC_CLASS

    OID_ASTERISK_CHANNEL_MUSIC_CLASS = '.1.3.6.1.4.1.22736.1.5.2.1.5'

## OID_ASTERISK_CHANNEL_MUTED

    OID_ASTERISK_CHANNEL_MUTED = '.1.3.6.1.4.1.22736.1.5.2.1.24'

## OID_ASTERISK_CHANNEL_NAME

    OID_ASTERISK_CHANNEL_NAME = '.1.3.6.1.4.1.22736.1.5.2.1.2'

## OID_ASTERISK_CHANNEL_PICKUP_GROUP

    OID_ASTERISK_CHANNEL_PICKUP_GROUP = '.1.3.6.1.4.1.22736.1.5.2.1.22'

## OID_ASTERISK_CHANNEL_PRI

    OID_ASTERISK_CHANNEL_PRI = '.1.3.6.1.4.1.22736.1.5.2.1.17'

## OID_ASTERISK_CHANNEL_RINGS

    OID_ASTERISK_CHANNEL_RINGS = '.1.3.6.1.4.1.22736.1.5.2.1.25'

## OID_ASTERISK_CHANNEL_STATE

    OID_ASTERISK_CHANNEL_STATE = '.1.3.6.1.4.1.22736.1.5.2.1.23'

## OID_ASTERISK_CHANNEL_TONE_ZONE

    OID_ASTERISK_CHANNEL_TONE_ZONE = '.1.3.6.1.4.1.22736.1.5.2.1.37'

## OID_ASTERISK_CHANNEL_TRANSFER_CAP

    OID_ASTERISK_CHANNEL_TRANSFER_CAP = '.1.3.6.1.4.1.22736.1.5.2.1.41'

## OID_ASTERISK_CHANNEL_TYPE

    OID_ASTERISK_CHANNEL_TYPE = '.1.3.6.1.4.1.22736.1.5.2.1.4'

## OID_ASTERISK_CHANNEL_TYPE_CHANNELS

    OID_ASTERISK_CHANNEL_TYPE_CHANNELS = '.1.3.6.1.4.1.22736.1.5.4.1.7'

## OID_ASTERISK_CHANNEL_TYPE_DESCRIPTION

    OID_ASTERISK_CHANNEL_TYPE_DESCRIPTION = '.1.3.6.1.4.1.22736.1.5.4.1.3'

## OID_ASTERISK_CHANNEL_TYPE_INDICATION

    OID_ASTERISK_CHANNEL_TYPE_INDICATION = '.1.3.6.1.4.1.22736.1.5.4.1.5'

## OID_ASTERISK_CHANNEL_TYPE_NAME

    OID_ASTERISK_CHANNEL_TYPE_NAME = '.1.3.6.1.4.1.22736.1.5.4.1.2'

## OID_ASTERISK_CHANNEL_TYPE_STATE

    OID_ASTERISK_CHANNEL_TYPE_STATE = '.1.3.6.1.4.1.22736.1.5.4.1.4'

## OID_ASTERISK_CHANNEL_TYPE_TRANSFER

    OID_ASTERISK_CHANNEL_TYPE_TRANSFER = '.1.3.6.1.4.1.22736.1.5.4.1.6'

## OID_ASTERISK_CHANNEL_UNQIUEID

    OID_ASTERISK_CHANNEL_UNQIUEID = '.1.3.6.1.4.1.22736.1.5.2.1.20'

## OID_ASTERISK_CHANNEL_VARIABLES

    OID_ASTERISK_CHANNEL_VARIABLES = '.1.3.6.1.4.1.22736.1.5.2.1.39'

## OID_ASTERISK_CHANNEL_WHEN_HANGUP

    OID_ASTERISK_CHANNEL_WHEN_HANGUP = '.1.3.6.1.4.1.22736.1.5.2.1.9'