[asterisk-commits] jeffg: branch jeffg/jeffg-moresnmp-branch r144142 - /team/jeffg/jeffg-moresnm...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 23 16:43:40 CDT 2008
Author: jeffg
Date: Tue Sep 23 16:43:40 2008
New Revision: 144142
URL: http://svn.digium.com/view/asterisk?view=rev&rev=144142
Log:
Add asteriskCodecs group to ASTERISK-MIB
Modified:
team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt
Modified: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt
URL: http://svn.digium.com/view/asterisk/team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt?view=diff&rev=144142&r1=144141&r2=144142
==============================================================================
--- team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt (original)
+++ team/jeffg/jeffg-moresnmp-branch/doc/asterisk-mib.txt Tue Sep 23 16:43:40 2008
@@ -65,6 +65,7 @@
asteriskChannels OBJECT IDENTIFIER ::= { asterisk 5 }
asteriskApplications OBJECT IDENTIFIER ::= { asterisk 6 }
asteriskTechSpecific OBJECT IDENTIFIER ::= { asterisk 7 }
+asteriskCodecs OBJECT IDENTIFIER ::= { asterisk 8 }
asteriskTrapMIB OBJECT IDENTIFIER ::= { asterisk 255 }
@@ -2073,4 +2074,169 @@
"The current state of this SIP peer from Asterisk's perspective."
::= { sipPeerEntry 57 }
+
+-- asteriskCodecs
+
+asteriskCodecsRecognized OBJECT-TYPE
+ SYNTAX Gauge32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of codecs currently recognizes by this Asterisk system."
+ ::= { asteriskCodecs 1 }
+
+asteriskCodecsLoaded OBJECT-TYPE
+ SYNTAX Gauge32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The number of codec modules currently loaded in this Asterisk system."
+ ::= { asteriskCodecs 2 }
+
+asteriskCodecsEncTimeRaw OBJECT-TYPE
+ SYNTAX TimeTicks
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total centiseconds spent so far encoding with all codecs."
+ ::= { asteriskCodecs 3 }
+
+asteriskCodecsDecTimeRaw OBJECT-TYPE
+ SYNTAX TimeTicks
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total centiseconds spent so far decoding with all codecs."
+ ::= { asteriskCodecs 4 }
+
+AsteriskCodecIdentity ::= TEXTUAL-CONVENTION
+ STATUS current
+ DESCRIPTION
+ "Identifies a codec by its numeric identifier."
+ SYNTAX INTEGER {
+ g723(1),
+ gsm(2),
+ ulaw(4),
+ alaw(8),
+ g726aal2(16),
+ adpcm(32),
+ slin(64),
+ lpc10(128),
+ g729(256),
+ speex(512),
+ ilbc(1024),
+ g726(2048),
+ g722(4096),
+ jpeg(65536),
+ png(131072),
+ h261(262144),
+ h263(524288),
+ h263p(1048576),
+ h264(2097152)
+ }
+AsteriskCodecType ::= TEXTUAL-CONVENTION
+ STATUS current
+ DESCRIPTION
+ "Represents an Asterisk codec type."
+ SYNTAX INTEGER { audio(1), image(2), video(3) }
+
+AsteriskCodecsEntry ::= SEQUENCE {
+ codecId AsteriskCodecIdentity,
+ codecType AsteriskCodecType,
+ codecName DisplayString,
+ codecDescr DisplayString,
+ codecEncTimeRaw TimeTicks,
+ codecDecTimeRaw TimeTicks,
+ codecLicensesTotal Gauge32,
+ codecLicensesUsed Gauge32
+}
+
+asteriskCodecsTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF AsteriskCodecsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A table containing identity and performance information for
+ each codec module in use on this Asterisk system."
+ ::= { asteriskCodecs 5 }
+
+
+asteriskCodecsEntry OBJECT-TYPE
+ SYNTAX AsteriskCodecsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "An entry in the asteriskCodecsTable."
+ INDEX { codecId }
+ ::= { asteriskCodecsTable 1 }
+
+codecId OBJECT-TYPE
+ SYNTAX AsteriskCodecIdentity
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The numeric identifier for this codec within the Asterisk system."
+ ::= { asteriskCodecsEntry 1 }
+
+codecType OBJECT-TYPE
+ SYNTAX AsteriskCodecType
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The type of this codec (audio, image, video, etc.)."
+ ::= { asteriskCodecsEntry 2 }
+
+codecName OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The token name for this codec in the Asterisk system."
+ ::= { asteriskCodecsEntry 3 }
+
+codecDescr OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The descriptive name for this codec in the Asterisk system."
+ ::= { asteriskCodecsEntry 4 }
+
+codecEncTimeRaw OBJECT-TYPE
+ SYNTAX TimeTicks
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total time spent doing encoding with this codec."
+ ::= { asteriskCodecsEntry 5 }
+
+codecDecTimeRaw OBJECT-TYPE
+ SYNTAX TimeTicks
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total time spent doing decoding with this codec."
+ ::= { asteriskCodecsEntry 6 }
+
+codecLicensesTotal OBJECT-TYPE
+ SYNTAX Gauge32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total number of licenses provisioned for this codec on
+ this Asterisk system. For codecs without consumable licenses,
+ this object will have a value of 0.
+
+ As of September 2008, only G.729A has consumable licenses."
+ ::= { asteriskCodecsEntry 7 }
+
+codecLicensesUsed OBJECT-TYPE
+ SYNTAX Gauge32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The total number of licenses in use for this codec on this
+ Asterisk system."
+ ::= { asteriskCodecsEntry 8 }
+
END
More information about the asterisk-commits
mailing list