1 ASTERISK-MIB DEFINITIONS ::= BEGIN
4 OBJECT-TYPE, MODULE-IDENTITY, Integer32, Counter32, TimeTicks,
8 TEXTUAL-CONVENTION, DisplayString, TruthValue
14 asterisk MODULE-IDENTITY
15 LAST-UPDATED "200806202025Z"
16 ORGANIZATION "Digium, Inc."
24 Email: markster@digium.com
34 "Asterisk is an Open Source PBX. This MIB defined
35 objects for managing Asterisk instances."
36 REVISION "200806202025Z"
39 Add missing imports; fix initial capitalization
40 of enumeration elements; add missing range
41 restrictions for Integer32 indices, correct
42 spelling of astChanCidANI in its definition.
43 Addresses bug 12905. - jeffg@opennms.org"
44 REVISION "200603061840Z"
46 "Change audio codec identification from 3kAudio to
47 Audio3k to conform better with specification.
49 Expand on contact information."
50 REVISION "200602041900Z"
52 "Initial published revision."
55 asteriskVersion OBJECT IDENTIFIER ::= { asterisk 1 }
56 asteriskConfiguration OBJECT IDENTIFIER ::= { asterisk 2 }
57 asteriskModules OBJECT IDENTIFIER ::= { asterisk 3 }
58 asteriskIndications OBJECT IDENTIFIER ::= { asterisk 4 }
59 asteriskChannels OBJECT IDENTIFIER ::= { asterisk 5 }
63 astVersionString OBJECT-TYPE
68 "Text version string of the version of Asterisk that
69 the SNMP Agent was compiled to run against."
70 ::= { asteriskVersion 1 }
72 astVersionTag OBJECT-TYPE
77 "SubVersion revision of the version of Asterisk that
78 the SNMP Agent was compiled to run against -- this is
79 typically 0 for release-versions of Asterisk."
80 ::= { asteriskVersion 2 }
82 -- asteriskConfiguration
84 astConfigUpTime OBJECT-TYPE
89 "Time ticks since Asterisk was started."
90 ::= { asteriskConfiguration 1 }
92 astConfigReloadTime OBJECT-TYPE
97 "Time ticks since Asterisk was last reloaded."
98 ::= { asteriskConfiguration 2 }
100 astConfigPid OBJECT-TYPE
105 "The process id of the running Asterisk process."
106 ::= { asteriskConfiguration 3 }
108 astConfigSocket OBJECT-TYPE
113 "The control socket for giving Asterisk commands."
114 ::= { asteriskConfiguration 4 }
118 astNumModules OBJECT-TYPE
123 "Number of modules currently loaded into Asterisk."
124 ::= { asteriskModules 1 }
126 -- asteriskIndications
128 astNumIndications OBJECT-TYPE
133 "Number of indications currently defined in Asterisk."
134 ::= { asteriskIndications 1 }
136 astCurrentIndication OBJECT-TYPE
141 "Default indication zone to use."
142 ::= { asteriskIndications 2 }
144 astIndicationsTable OBJECT-TYPE
145 SYNTAX SEQUENCE OF AstIndicationsEntry
146 MAX-ACCESS not-accessible
149 "Table with all the indication zones currently know to
150 the running Asterisk instance."
151 ::= { asteriskIndications 3 }
153 astIndicationsEntry OBJECT-TYPE
154 SYNTAX AstIndicationsEntry
155 MAX-ACCESS not-accessible
158 "Information about a single indication zone."
159 INDEX { astIndIndex }
160 ::= { astIndicationsTable 1 }
162 AstIndicationsEntry ::= SEQUENCE {
163 astIndIndex Integer32,
164 astIndCountry DisplayString,
165 astIndAlias DisplayString,
166 astIndDescription DisplayString
169 astIndIndex OBJECT-TYPE
170 SYNTAX Integer32 (1 .. 2147483647)
174 "Numerical index into the table of indication zones."
175 ::= { astIndicationsEntry 1 }
177 astIndCountry OBJECT-TYPE
182 "Country for which the indication zone is valid,
183 typically this is the ISO 2-letter code of the country."
184 ::= { astIndicationsEntry 2 }
186 astIndAlias OBJECT-TYPE
192 ::= { astIndicationsEntry 3 }
194 astIndDescription OBJECT-TYPE
199 "Description of the indication zone, usually the full
200 name of the country it is valid for."
201 ::= { astIndicationsEntry 4 }
205 astNumChannels OBJECT-TYPE
210 "Current number of active channels."
211 ::= { asteriskChannels 1 }
213 astChanTable OBJECT-TYPE
214 SYNTAX SEQUENCE OF AstChanEntry
215 MAX-ACCESS not-accessible
218 "Table with details of the currently active channels
219 in the Asterisk instance."
220 ::= { asteriskChannels 2 }
222 astChanEntry OBJECT-TYPE
224 MAX-ACCESS not-accessible
227 "Details of a single channel."
228 INDEX { astChanIndex }
229 ::= { astChanTable 1 }
231 AstChanEntry ::= SEQUENCE {
232 astChanIndex Integer32,
233 astChanName DisplayString,
234 astChanLanguage DisplayString,
235 astChanType DisplayString,
236 astChanMusicClass DisplayString,
237 astChanBridge DisplayString,
238 astChanMasq DisplayString,
239 astChanMasqr DisplayString,
240 astChanWhenHangup TimeTicks,
241 astChanApp DisplayString,
242 astChanData DisplayString,
243 astChanContext DisplayString,
244 astChanMacroContext DisplayString,
245 astChanMacroExten DisplayString,
246 astChanMacroPri Integer32,
247 astChanExten DisplayString,
248 astChanPri Integer32,
249 astChanAccountCode DisplayString,
250 astChanForwardTo DisplayString,
251 astChanUniqueId DisplayString,
252 astChanCallGroup Unsigned32,
253 astChanPickupGroup Unsigned32,
254 astChanState INTEGER,
255 astChanMuted TruthValue,
256 astChanRings Integer32,
257 astChanCidDNID DisplayString,
258 astChanCidNum DisplayString,
259 astChanCidName DisplayString,
260 astChanCidANI DisplayString,
261 astChanCidRDNIS DisplayString,
262 astChanCidPresentation DisplayString,
263 astChanCidANI2 Integer32,
264 astChanCidTON Integer32,
265 astChanCidTNS Integer32,
266 astChanAMAFlags INTEGER,
268 astChanToneZone DisplayString,
269 astChanHangupCause INTEGER,
270 astChanVariables DisplayString,
272 astChanTransferCap INTEGER
275 astChanIndex OBJECT-TYPE
276 SYNTAX Integer32 (1 .. 2147483647)
280 "Index into the channel table."
281 ::= { astChanEntry 1 }
283 astChanName OBJECT-TYPE
288 "Name of the current channel."
289 ::= { astChanEntry 2 }
291 astChanLanguage OBJECT-TYPE
296 "Which language the current channel is configured to
297 use -- used mainly for prompts."
298 ::= { astChanEntry 3 }
300 astChanType OBJECT-TYPE
305 "Underlying technology for the current channel."
306 ::= { astChanEntry 4 }
308 astChanMusicClass OBJECT-TYPE
313 "Music class to be used for Music on Hold for this
315 ::= { astChanEntry 5 }
317 astChanBridge OBJECT-TYPE
322 "Which channel this channel is currently bridged (in a
324 ::= { astChanEntry 6 }
326 astChanMasq OBJECT-TYPE
331 "Channel masquerading for us."
332 ::= { astChanEntry 7 }
334 astChanMasqr OBJECT-TYPE
339 "Channel we are masquerading for."
340 ::= { astChanEntry 8 }
342 astChanWhenHangup OBJECT-TYPE
347 "How long until this channel will be hung up."
348 ::= { astChanEntry 9 }
350 astChanApp OBJECT-TYPE
355 "Current application for the channel."
356 ::= { astChanEntry 10 }
358 astChanData OBJECT-TYPE
363 "Arguments passed to the current application."
364 ::= { astChanEntry 11 }
366 astChanContext OBJECT-TYPE
371 "Current extension context."
372 ::= { astChanEntry 12 }
374 astChanMacroContext OBJECT-TYPE
379 "Current macro context."
380 ::= { astChanEntry 13 }
382 astChanMacroExten OBJECT-TYPE
387 "Current macro extension."
388 ::= { astChanEntry 14 }
390 astChanMacroPri OBJECT-TYPE
395 "Current macro priority."
396 ::= { astChanEntry 15 }
398 astChanExten OBJECT-TYPE
404 ::= { astChanEntry 16 }
406 astChanPri OBJECT-TYPE
412 ::= { astChanEntry 17 }
414 astChanAccountCode OBJECT-TYPE
419 "Account Code for billing."
420 ::= { astChanEntry 18 }
422 astChanForwardTo OBJECT-TYPE
427 "Where to forward to if asked to dial on this
429 ::= { astChanEntry 19 }
431 astChanUniqueId OBJECT-TYPE
436 "Unique Channel Identifier."
437 ::= { astChanEntry 20 }
439 astChanCallGroup OBJECT-TYPE
445 ::= { astChanEntry 21 }
447 astChanPickupGroup OBJECT-TYPE
453 ::= { astChanEntry 22 }
455 astChanState OBJECT-TYPE
465 stateDialingOffHook(8),
472 ::= { astChanEntry 23 }
474 astChanMuted OBJECT-TYPE
479 "Transmission of voice data has been muted."
480 ::= { astChanEntry 24 }
482 astChanRings OBJECT-TYPE
487 "Number of rings so far."
488 ::= { astChanEntry 25 }
490 astChanCidDNID OBJECT-TYPE
496 ::= { astChanEntry 26 }
498 astChanCidNum OBJECT-TYPE
504 ::= { astChanEntry 27 }
506 astChanCidName OBJECT-TYPE
512 ::= { astChanEntry 28 }
514 astChanCidANI OBJECT-TYPE
520 ::= { astChanEntry 29 }
522 astChanCidRDNIS OBJECT-TYPE
527 "Redirected Dialled Number Service."
528 ::= { astChanEntry 30 }
530 astChanCidPresentation OBJECT-TYPE
535 "Number Presentation/Screening."
536 ::= { astChanEntry 31 }
538 astChanCidANI2 OBJECT-TYPE
543 "ANI 2 (info digit)."
544 ::= { astChanEntry 32 }
546 astChanCidTON OBJECT-TYPE
552 ::= { astChanEntry 33 }
554 astChanCidTNS OBJECT-TYPE
559 "Transit Network Select."
560 ::= { astChanEntry 34 }
562 astChanAMAFlags OBJECT-TYPE
573 ::= { astChanEntry 35 }
575 astChanADSI OBJECT-TYPE
585 "Whether or not ADSI is detected on CPE."
586 ::= { astChanEntry 36 }
588 astChanToneZone OBJECT-TYPE
593 "Indication zone to use for channel."
594 ::= { astChanEntry 37 }
596 astChanHangupCause OBJECT-TYPE
610 "Why is the channel hung up."
611 ::= { astChanEntry 38 }
613 astChanVariables OBJECT-TYPE
618 "Channel Variables defined for this channel."
619 ::= { astChanEntry 39 }
621 astChanFlags OBJECT-TYPE
632 autoIncrementingLoop(9)
637 "Flags set on this channel."
638 ::= { astChanEntry 40 }
640 astChanTransferCap OBJECT-TYPE
644 restrictedDigital(9),
646 digitalWithTones(17),
652 "Transfer Capabilities for this channel."
653 ::= { astChanEntry 41 }
655 astNumChanTypes OBJECT-TYPE
660 "Number of channel types (technologies) supported."
661 ::= { asteriskChannels 3 }
663 astChanTypeTable OBJECT-TYPE
664 SYNTAX SEQUENCE OF AstChanTypeEntry
665 MAX-ACCESS not-accessible
668 "Table with details of the supported channel types."
669 ::= { asteriskChannels 4 }
671 astChanTypeEntry OBJECT-TYPE
672 SYNTAX AstChanTypeEntry
673 MAX-ACCESS not-accessible
676 "Information about a technology we support, including
677 how many channels are currently using this technology."
678 INDEX { astChanTypeIndex }
679 ::= { astChanTypeTable 1 }
681 AstChanTypeEntry ::= SEQUENCE {
682 astChanTypeIndex Integer32,
683 astChanTypeName DisplayString,
684 astChanTypeDesc DisplayString,
685 astChanTypeDeviceState Integer32,
686 astChanTypeIndications Integer32,
687 astChanTypeTransfer Integer32,
688 astChanTypeChannels Gauge32
691 astChanTypeIndex OBJECT-TYPE
692 SYNTAX Integer32 (1 .. 2147483647)
696 "Index into the table of channel types."
697 ::= { astChanTypeEntry 1 }
699 astChanTypeName OBJECT-TYPE
704 "Unique name of the technology we are describing."
705 ::= { astChanTypeEntry 2 }
707 astChanTypeDesc OBJECT-TYPE
712 "Description of the channel type (technology)."
713 ::= { astChanTypeEntry 3 }
715 astChanTypeDeviceState OBJECT-TYPE
720 "Whether the current technology can hold device states."
721 ::= { astChanTypeEntry 4 }
723 astChanTypeIndications OBJECT-TYPE
728 "Whether the current technology supports progress indication."
729 ::= { astChanTypeEntry 5 }
731 astChanTypeTransfer OBJECT-TYPE
736 "Whether the current technology supports transfers, where
737 Asterisk can get out from inbetween two bridged channels."
738 ::= { astChanTypeEntry 6 }
740 astChanTypeChannels OBJECT-TYPE
745 "Number of active channels using the current technology."
746 ::= { astChanTypeEntry 7 }