Empty stream-level statistics descriptor
"Michael Dell" <[email protected]>
| Newsgroups | gmane.ietf.megaco |
|---|---|
| Message-ID | <[email protected]> |
Hi there
We have a quick question about the correct syntax for returning an empty
stream-level statistics descriptor on an audit response. This is
permitted at termination-level, but does not seem to be possible at
stream-level, given the ABNF below. We can see two possible solutions:
1. This is a clear omission in the ABNF, and it needs to be updated to
allow just SA (without brackets), probably by adding auditReturnItem to
the list of allowable entries in the streamParm field.
2. This is by design, and the response should not contain a statistics
descriptor at stream level if there are no statistics to return, even if
they were requested in the audit.
Could the list please advise how best to proceed, or point out how we
have misunderstood the ABNF.
Regards
Mike Dell
---
Termination level audit response
The following ABNF shows that we are allowed to return either a
statisticsDescriptor or a StatsToken on a AuditValue response. It also
shows that "SA{}" is not valid. Therefore the correct Megaco syntax for
a response with no statistics is SA.
Version 3 ABNF
auditReturnParameter = (mediaDescriptor / modemDescriptor /
muxDescriptor /
eventsDescriptor / signalsDescriptor /
digitMapDescriptor / observedEventsDescriptor /
eventBufferDescriptor / statisticsDescriptor /
packagesDescriptor / errorDescriptor /
auditReturnItem)
auditReturnItem = (MuxToken / ModemToken / MediaToken /
DigitMapToken / StatsToken / ObservedEventsToken /
PackagesToken)
statisticsDescriptor = StatsToken LBRKT statisticsParameter *(COMMA
statisticsParameter) RBRKT
Stream level audit response
Things are less clear here. The following ABNF shows that SA is not
valid but neither is SA{} (as statisticsDescriptor ABNF does not allow
this).
streamDescriptor = StreamToken EQUAL StreamID LBRKT streamParm *(COMMA
streamParm) RBRKT
streamParm = (localDescriptor / remoteDescriptor /
localControlDescriptor / statisticsDescriptor)
_______________________________________________
Megaco mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/megaco