1 ASTERISK-MIB DEFINITIONS ::= BEGIN
4 OBJECT-TYPE, MODULE-IDENTITY, Integer32, Counter32, TimeTicks
7 TEXTUAL-CONVENTION, DisplayString, TruthValue
13 asterisk MODULE-IDENTITY
14 LAST-UPDATED "200603061840Z"
15 ORGANIZATION "Digium, Inc."
23 Email: markster@digium.com
33 "Asterisk is an Open Source PBX. This MIB defined
34 objects for managing Asterisk instances."
35 REVISION "200603061840Z"
37 "Change audio codec identification from 3kAudio to
38 Audio3k to conform better with specification.
40 Expand on contact information."
41 REVISION "200602041900Z"
43 "Initial published revision."
46 asteriskVersion OBJECT IDENTIFIER ::= { asterisk 1 }
47 asteriskConfiguration OBJECT IDENTIFIER ::= { asterisk 2 }
48 asteriskModules OBJECT IDENTIFIER ::= { asterisk 3 }
49 asteriskIndications OBJECT IDENTIFIER ::= { asterisk 4 }
50 asteriskChannels OBJECT IDENTIFIER ::= { asterisk 5 }
54 astVersionString OBJECT-TYPE
59 "Text version string of the version of Asterisk that
60 the SNMP Agent was compiled to run against."
61 ::= { asteriskVersion 1 }
63 astVersionTag OBJECT-TYPE
68 "SubVersion revision of the version of Asterisk that
69 the SNMP Agent was compiled to run against -- this is
70 typically 0 for release-versions of Asterisk."
71 ::= { asteriskVersion 2 }
73 -- asteriskConfiguration
75 astConfigUpTime OBJECT-TYPE
80 "Time ticks since Asterisk was started."
81 ::= { asteriskConfiguration 1 }
83 astConfigReloadTime OBJECT-TYPE
88 "Time ticks since Asterisk was last reloaded."
89 ::= { asteriskConfiguration 2 }
91 astConfigPid OBJECT-TYPE
96 "The process id of the running Asterisk process."
97 ::= { asteriskConfiguration 3 }
99 astConfigSocket OBJECT-TYPE
104 "The control socket for giving Asterisk commands."
105 ::= { asteriskConfiguration 4 }
109 astNumModules OBJECT-TYPE
114 "Number of modules currently loaded into Asterisk."
115 ::= { asteriskModules 1 }
117 -- asteriskIndications
119 astNumIndications OBJECT-TYPE
124 "Number of indications currently defined in Asterisk."
125 ::= { asteriskIndications 1 }
127 astCurrentIndication OBJECT-TYPE
132 "Default indication zone to use."
133 ::= { asteriskIndications 2 }
135 astIndicationsTable OBJECT-TYPE
136 SYNTAX SEQUENCE OF AstIndicationsEntry
137 MAX-ACCESS not-accessible
140 "Table with all the indication zones currently know to
141 the running Asterisk instance."
142 ::= { asteriskIndications 3 }
144 astIndicationsEntry OBJECT-TYPE
145 SYNTAX AstIndicationsEntry
146 MAX-ACCESS not-accessible
149 "Information about a single indication zone."
150 INDEX { astIndIndex }
151 ::= { astIndicationsTable 1 }
153 AstIndicationsEntry ::= SEQUENCE {
154 astIndIndex Integer32,
155 astIndCountry DisplayString,
156 astIndAlias DisplayString,
157 astIndDescription DisplayString
160 astIndIndex OBJECT-TYPE
165 "Numerical index into the table of indication zones."
166 ::= { astIndicationsEntry 1 }
168 astIndCountry OBJECT-TYPE
173 "Country for which the indication zone is valid,
174 typically this is the ISO 2-letter code of the country."
175 ::= { astIndicationsEntry 2 }
177 astIndAlias OBJECT-TYPE
183 ::= { astIndicationsEntry 3 }
185 astIndDescription OBJECT-TYPE
190 "Description of the indication zone, usually the full
191 name of the country it is valid for."
192 ::= { astIndicationsEntry 4 }
196 astNumChannels OBJECT-TYPE
201 "Current number of active channels."
202 ::= { asteriskChannels 1 }
204 astChanTable OBJECT-TYPE
205 SYNTAX SEQUENCE OF AstChanEntry
206 MAX-ACCESS not-accessible
209 "Table with details of the currently active channels
210 in the Asterisk instance."
211 ::= { asteriskChannels 2 }
213 astChanEntry OBJECT-TYPE
215 MAX-ACCESS not-accessible
218 "Details of a single channel."
219 INDEX { astChanIndex }
220 ::= { astChanTable 1 }
222 AstChanEntry ::= SEQUENCE {
223 astChanIndex Integer32,
224 astChanName DisplayString,
225 astChanLanguage DisplayString,
226 astChanType DisplayString,
227 astChanMusicClass DisplayString,
228 astChanBridge DisplayString,
229 astChanMasq DisplayString,
230 astChanMasqr DisplayString,
231 astChanWhenHangup TimeTicks,
232 astChanApp DisplayString,
233 astChanData DisplayString,
234 astChanContext DisplayString,
235 astChanMacroContext DisplayString,
236 astChanMacroExten DisplayString,
237 astChanMacroPri Integer32,
238 astChanExten DisplayString,
239 astChanPri Integer32,
240 astChanAccountCode DisplayString,
241 astChanForwardTo DisplayString,
242 astChanUniqueId DisplayString,
243 astChanCallGroup Unsigned32,
244 astChanPickupGroup Unsigned32,
245 astChanState INTEGER,
246 astChanMuted TruthValue,
247 astChanRings Integer32,
248 astChanCidDNID DisplayString,
249 astChanCidNum DisplayString,
250 astChanCidName DisplayString,
251 astChanCidANI DisplayString,
252 astChanCidRDNIS DisplayString,
253 astChanCidPresentation DisplayString,
254 astChanCidANI2 Integer32,
255 astChanCidTON Integer32,
256 astChanCidTNS Integer32,
257 astChanAMAFlags INTEGER,
259 astChanToneZone DisplayString,
260 astChanHangupCause INTEGER,
261 astChanVariables DisplayString,
263 astChanTransferCap INTEGER
266 astChanIndex OBJECT-TYPE
271 "Index into the channel table."
272 ::= { astChanEntry 1 }
274 astChanName OBJECT-TYPE
279 "Name of the current channel."
280 ::= { astChanEntry 2 }
282 astChanLanguage OBJECT-TYPE
287 "Which language the current channel is configured to
288 use -- used mainly for prompts."
289 ::= { astChanEntry 3 }
291 astChanType OBJECT-TYPE
296 "Underlying technology for the current channel."
297 ::= { astChanEntry 4 }
299 astChanMusicClass OBJECT-TYPE
304 "Music class to be used for Music on Hold for this
306 ::= { astChanEntry 5 }
308 astChanBridge OBJECT-TYPE
313 "Which channel this channel is currently bridged (in a
315 ::= { astChanEntry 6 }
317 astChanMasq OBJECT-TYPE
322 "Channel masquerading for us."
323 ::= { astChanEntry 7 }
325 astChanMasqr OBJECT-TYPE
330 "Channel we are masquerading for."
331 ::= { astChanEntry 8 }
333 astChanWhenHangup OBJECT-TYPE
338 "How long until this channel will be hung up."
339 ::= { astChanEntry 9 }
341 astChanApp OBJECT-TYPE
346 "Current application for the channel."
347 ::= { astChanEntry 10 }
349 astChanData OBJECT-TYPE
354 "Arguments passed to the current application."
355 ::= { astChanEntry 11 }
357 astChanContext OBJECT-TYPE
362 "Current extension context."
363 ::= { astChanEntry 12 }
365 astChanMacroContext OBJECT-TYPE
370 "Current macro context."
371 ::= { astChanEntry 13 }
373 astChanMacroExten OBJECT-TYPE
378 "Current macro extension."
379 ::= { astChanEntry 14 }
381 astChanMacroPri OBJECT-TYPE
386 "Current macro priority."
387 ::= { astChanEntry 15 }
389 astChanExten OBJECT-TYPE
395 ::= { astChanEntry 16 }
397 astChanPri OBJECT-TYPE
403 ::= { astChanEntry 17 }
405 astChanAccountCode OBJECT-TYPE
410 "Account Code for billing."
411 ::= { astChanEntry 18 }
413 astChanForwardTo OBJECT-TYPE
418 "Where to forward to if asked to dial on this
420 ::= { astChanEntry 19 }
422 astChanUniqueId OBJECT-TYPE
427 "Unique Channel Identifier."
428 ::= { astChanEntry 20 }
430 astChanCallGroup OBJECT-TYPE
436 ::= { astChanEntry 21 }
438 astChanPickupGroup OBJECT-TYPE
444 ::= { astChanEntry 22 }
446 astChanState OBJECT-TYPE
456 stateDialingOffHook(8),
463 ::= { astChanEntry 23 }
465 astChanMuted OBJECT-TYPE
470 "Transmission of voice data has been muted."
471 ::= { astChanEntry 24 }
473 astChanRings OBJECT-TYPE
478 "Number of rings so far."
479 ::= { astChanEntry 25 }
481 astChanCidDNID OBJECT-TYPE
487 ::= { astChanEntry 26 }
489 astChanCidNum OBJECT-TYPE
495 ::= { astChanEntry 27 }
497 astChanCidName OBJECT-TYPE
503 ::= { astChanEntry 28 }
505 astCanCidANI OBJECT-TYPE
511 ::= { astChanEntry 29 }
513 astChanCidRDNIS OBJECT-TYPE
518 "Redirected Dialled Number Service."
519 ::= { astChanEntry 30 }
521 astChanCidPresentation OBJECT-TYPE
526 "Number Presentation/Screening."
527 ::= { astChanEntry 31 }
529 astChanCidANI2 OBJECT-TYPE
534 "ANI 2 (info digit)."
535 ::= { astChanEntry 32 }
537 astChanCidTON OBJECT-TYPE
543 ::= { astChanEntry 33 }
545 astChanCidTNS OBJECT-TYPE
550 "Transit Network Select."
551 ::= { astChanEntry 34 }
553 astChanAMAFlags OBJECT-TYPE
564 ::= { astChanEntry 35 }
566 astChanADSI OBJECT-TYPE
576 "Whether or not ADSI is detected on CPE."
577 ::= { astChanEntry 36 }
579 astChanToneZone OBJECT-TYPE
584 "Indication zone to use for channel."
585 ::= { astChanEntry 37 }
587 astChanHangupCause OBJECT-TYPE
601 "Why is the channel hung up."
602 ::= { astChanEntry 38 }
604 astChanVariables OBJECT-TYPE
609 "Channel Variables defined for this channel."
610 ::= { astChanEntry 39 }
612 astChanFlags OBJECT-TYPE
623 AutoIncrementingLoop(9)
628 "Flags set on this channel."
629 ::= { astChanEntry 40 }
631 astChanTransferCap OBJECT-TYPE
635 RestrictedDigital(9),
637 DigitalWithTones(17),
643 "Transfer Capabilities for this channel."
644 ::= { astChanEntry 41 }
646 astNumChanTypes OBJECT-TYPE
651 "Number of channel types (technologies) supported."
652 ::= { asteriskChannels 3 }
654 astChanTypeTable OBJECT-TYPE
655 SYNTAX SEQUENCE OF AstChanTypeEntry
656 MAX-ACCESS not-accessible
659 "Table with details of the supported channel types."
660 ::= { asteriskChannels 4 }
662 astChanTypeEntry OBJECT-TYPE
663 SYNTAX AstChanTypeEntry
664 MAX-ACCESS not-accessible
667 "Information about a technology we support, including
668 how many channels are currently using this technology."
669 INDEX { astChanTypeIndex }
670 ::= { astChanTypeTable 1 }
672 AstChanTypeEntry ::= SEQUENCE {
673 astChanTypeIndex Integer32,
674 astChanTypeName DisplayString,
675 astChanTypeDesc DisplayString,
676 astChanTypeDeviceState Integer32,
677 astChanTypeIndications Integer32,
678 astChanTypeTransfer Integer32,
679 astChanTypeChannels Gauge32
682 astChanTypeIndex OBJECT-TYPE
687 "Index into the table of channel types."
688 ::= { astChanTypeEntry 1 }
690 astChanTypeName OBJECT-TYPE
695 "Unique name of the technology we are describing."
696 ::= { astChanTypeEntry 2 }
698 astChanTypeDesc OBJECT-TYPE
703 "Description of the channel type (technology)."
704 ::= { astChanTypeEntry 3 }
706 astChanTypeDeviceState OBJECT-TYPE
711 "Whether the current technology can hold device states."
712 ::= { astChanTypeEntry 4 }
714 astChanTypeIndications OBJECT-TYPE
719 "Whether the current technology supports progress indication."
720 ::= { astChanTypeEntry 5 }
722 astChanTypeTransfer OBJECT-TYPE
727 "Whether the current technology supports transfers, where
728 Asterisk can get out from inbetween two bridged channels."
729 ::= { astChanTypeEntry 6 }
731 astChanTypeChannels OBJECT-TYPE
736 "Number of active channels using the current technology."
737 ::= { astChanTypeEntry 7 }