📄 megaco_text_parser_prev3a.yrl
字号:
%% ``The contents of this file are subject to the Erlang Public License,%% Version 1.1, (the "License"); you may not use this file except in%% compliance with the License. You should have received a copy of the%% Erlang Public License along with this software. If not, it can be%% retrieved via the world wide web at http://www.erlang.org/.%% %% Software distributed under the License is distributed on an "AS IS"%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See%% the License for the specific language governing rights and limitations%% under the License.%% %% The Initial Developer of the Original Code is Ericsson Utvecklings AB.%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings%% AB. All Rights Reserved.''%% %% $Id$%%%%----------------------------------------------------------------------%% Purpose: YECC grammar for text encoding of Megaco/H.248%%----------------------------------------------------------------------%%----------------------------------------------------------------------%% Annex B TEXT ENCODING OF THE PROTOCOL (NORMATIVE)%%%% B.1 Coding of wildcards%%%% In a text encoding of the protocol, while TerminationIDs are%% arbitrary, by judicious choice of names, the wildcard character, "*"%% may be made more useful. When the wildcard character is encountered,%% it will "match" all TerminationIDs having the same previous and%% following characters (if appropriate). For example, if there were%% TerminationIDs of R13/3/1, R13/3/2 and R13/3/3, the TerminationID%% R13/3/* would match all of them. There are some circumstances where%% ALL Terminations must be referred to. The TerminationID "*" suffices,%% and is referred to as ALL. The CHOOSE TerminationID "$" may be used to%% signal to the MG that it has to create an ephemeral Termination or%% select an idle physical Termination.%%%% B.2 ABNF specification%%%% The protocol syntax is presented in ABNF according to RFC2234. The%% protocol is not case sensitive. Identifiers are not case sensitive.%% %% NOTE 1 - This syntax specification does not enforce all restrictions %% on element inclusions and values. Some additional %% restrictions are stated in comments and other restrictions %% appear in the text of this Recommendation. These additional %% restrictions are part of the protocol even though not %% enforced by this Recommendation.%% NOTE 2 - The syntax is context-dependent. For example, "Add" can be %% the AddToken or a NAME depending on the context in which it %% occurs.%% %% Everything in the ABNF and text encoding is case insensitive. This %% includes TerminationIDs, digitmap Ids etc. SDP is case sensitive as %% per RFC 2327.%% %%----------------------------------------------------------------------%%----------------------------------------------------------------------%% Number of expected shift/reduce warnings%% This is ugly but...%%----------------------------------------------------------------------Expect 103.%%----------------------------------------------------------------------%% Non-terminals%%----------------------------------------------------------------------Nonterminals actionReply actionReplyBody actionReplyList actionRequest actionRequestBody actionRequestItem actionRequestItems actionRequestList alternativeValue ammParameter ammParameters ammRequest ammRequestBody ammToken ammsReply ammsReplyBody ammsToken auditDescriptor auditDescriptorBody auditItem auditItemList auditOther auditReply auditRequest auditReturnItem auditReturnParameter auditReturnParameterList authenticationHeader commandReplyList commandReplys %% v3 commandRequest contextAttrDescriptor %% v3 contextAttrDescProp %% v3 contextAttrDescProps %% v3 contextAudit contextAuditProperties contextAuditProperty contextID contextProperties %% v3 contextProperty contextTerminationAudit daddr deviceName digitMapDescriptor direction %% v3 domainAddress domainName embedFirst embedNoSig embedSig embedWithSig errorCode errorDescriptor errorText eventBufferControl eventBufferControlState eventBufferDescriptor eventDM eventParameter eventParameterName eventParameters eventSpec eventSpecList eventStream eventStreamOrOther eventsDescriptor extension extensionParameter %% v2 - start indAudauditReturnParameter indAuddigitMapDescriptor indAudeventBufferDescriptor indAudeventSpec indAudeventSpecParameter %% indAudeventSpecParameterList indAudeventsDescriptor indAudlocalControlDescriptor indAudlocalParm indAudlocalParmList indAudmediaDescriptor indAudmediaParm %% indAudmediaParmList indAudpackagesDescriptor indAudrequestedEvent indAudsignalsDescriptor indAudsignalList %% indAudsignalListParm indAudsignalParm %% indAudsignalRequest indAudstreamDescriptor indAudstreamParm indAudstatisticsDescriptor indAudterminationAudit indAudterminationAuditList indAudterminationStateDescriptor indAudterminationStateParm %% indAudterminationStateParmList optIndAudeventSpecParameter optIndAudsignalParm %% v2 - end indAudcontextAttrDescriptor %% v3 localControlDescriptor localParm localParmList mId mediaDescriptor mediaParm mediaParmList megacoMessage message messageBody modemDescriptor % Deprecated as of Corr 1 modemType % Deprecated as of Corr 1 modemTypeList % Deprecated as of Corr 1 mtpAddress muxDescriptor muxType notificationReason notificationReasons notifyReply notifyReplyBody notifyRequest notifyRequestBody observedEvent observedEventBody observedEventParameter observedEventParameters % observedEventTimeStamp observedEvents observedEventsDescriptor onOrOff optAuditDescriptor optImmAckRequired optPropertyParms optSep packagesDescriptor packagesItem packagesItems %% parmName parmValue pathName pkgdName portNumber priority propertyParm propertyParms requestID requestedEvent requestedEventBody requestedEvents safeToken secondEventParameter secondEventParameters secondRequestedEvent secondRequestedEventBody secondRequestedEvents servChgReplyParm servChgReplyParms serviceChangeAddress serviceChangeDelay serviceChangeDescriptor serviceChangeMethod serviceChangeMgcId serviceChangeParm serviceChangeParms serviceChangeProfile serviceChangeReason serviceChangeReply serviceChangeReplyBody serviceChangeReplyDescriptor serviceChangeRequest serviceChangeVersion serviceState serviceStates sigParameter sigParameters signalList signalListId signalListParm signalListParms signalName signalParm signalParms signalRequest signalsDescriptor signalType statisticsDescriptor statisticsParameter statisticsParameters streamDescriptor streamID streamModes streamParm streamParmList subtractRequest terminationA terminationAudit terminationB terminationID terminationIDList terminationIDListRepeat terminationStateDescriptor terminationStateParm terminationStateParms timeStamp topologyDescriptor topologyDirection topologyTriple topologyTripleList transactionAck transactionAckList transactionID transactionItem transactionList transactionPending transactionReply transactionReplyBody transactionRequest transactionResponseAck value valueList.%%----------------------------------------------------------------------%% Terminals%%----------------------------------------------------------------------Terminals 'AddToken' 'AuditCapToken' 'AuditToken' 'AuditValueToken' 'AuthToken'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -