[Home]

Summary:ASTERISK-06483: asterisk-mib.txt has minor syntax error
Reporter:Tim Panton (mexuar-tim)Labels:
Date Opened:2006-03-06 10:08:54.000-0600Date Closed:2008-01-15 17:16:24.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) mib.diff
Description:File /usr/src/asterisk-trunk/asterisk/doc/asterisk-mib.txt
LAST-UPDATED  "200602041900Z"
Line 614

Mibble Browser reports a parse error:
unexpected token "3" <NUMBER_STRING>, expected <IDENTIFIER_STRING>
   3kAudio(16),
   ^

astChanTransferCap OBJECT-TYPE
 SYNTAX    INTEGER {
   Speech(0),
   Digital(8),
   RestrictedDigital(9),
   3kAudio(16),
   DigitalWithTones(17),
   Video(24)
 }
 MAX-ACCESS  read-only
 STATUS    current
 DESCRIPTION
   "Transfer Capabilities for this channel."
 ::= { astChanEntry 41 }


As far as I know an identifier_string should start with an alphabetic
character. '3kAudio' is therefor illegal.
Maybe it can be changed it to 'ThreeKAudio'?
Comments:By: Thorsten Lockert (tholo) 2006-03-06 12:43:51.000-0600

I have uploaded a patch for this issue -- disclaimer on file.

By: Olle Johansson (oej) 2006-03-06 12:48:17.000-0600

tholo: Thanks for a quick patch.
mexuar-tim: Thanks for reporting this issue!

By: Digium Subversion (svnbot) 2008-01-15 17:16:24.000-0600

Repository: asterisk
Revision: 12108

U   trunk/doc/asterisk-mib.txt

------------------------------------------------------------------------
r12108 | oej | 2008-01-15 17:16:23 -0600 (Tue, 15 Jan 2008) | 2 lines

Issue ASTERISK-6483 - bad syntax in the Asterisk mib (fix by tholo)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=12108