Re: [Megaco] Ambiguous definition of auditReturnParameter in v2 ABNF

Tom Taylor <taylor@nortelnetworks.com> Fri, 08 August 2003 20:24 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA24498 for <megaco-archive@lists.ietf.org>; Fri, 8 Aug 2003 16:24:34 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19lDmQ-0005Xq-10; Fri, 08 Aug 2003 16:24:06 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19lD0o-0003mt-1w for megaco@optimus.ietf.org; Fri, 08 Aug 2003 15:34:54 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA23421 for <megaco@ietf.org>; Fri, 8 Aug 2003 15:34:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19lD0l-0003HO-00 for megaco@ietf.org; Fri, 08 Aug 2003 15:34:51 -0400
Received: from zcars04f.nortelnetworks.com ([47.129.242.57]) by ietf-mx with esmtp (Exim 4.12) id 19lD0k-0003Gz-00 for megaco@ietf.org; Fri, 08 Aug 2003 15:34:50 -0400
Received: from zcard307.ca.nortel.com (zcard307.ca.nortel.com [47.129.242.67]) by zcars04f.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h78JXYa23674; Fri, 8 Aug 2003 15:33:34 -0400 (EDT)
Received: from zcard0kc.ca.nortel.com ([47.129.242.164]) by zcard307.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QBRD4MAV; Fri, 8 Aug 2003 15:33:34 -0400
Received: from nortelnetworks.com (acart1fq.ca.nortel.com [47.129.129.165]) by zcard0kc.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QHD6K33B; Fri, 8 Aug 2003 15:33:34 -0400
Message-ID: <3F33FB08.50903@nortelnetworks.com>
Date: Fri, 08 Aug 2003 15:33:28 -0400
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Tom Taylor <taylor@nortelnetworks.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-ca, en-us, en, fr
MIME-Version: 1.0
To: micael.karlberg@ericsson.com
CC: Troy Cauble <troy@bell-labs.com>, Christian Groves <Christian.Groves@ericsson.com.au>, Anil Jangam <anilj@mahindrabt.com>, megaco@ietf.org, Tom-PT Taylor <taylor@nortelnetworks.com>, Kevin Boyle <kboyle@nortelnetworks.com>
Subject: Re: [Megaco] Ambiguous definition of auditReturnParameter in v2 ABNF
References: <16150.27894.389089.986520@gargle.gargle.HOWL> <00e301c34c58$c21b2de0$4c0d050a@mahindrabt.com> <16151.48138.771516.776631@gargle.gargle.HOWL> <3F31E2EF.5030800@ericsson.com.au> <16178.7310.437463.16305@gargle.gargle.HOWL> <3F332FD0.90309@ericsson.com.au> <3F33B8E3.9030409@bell-labs.com> <16179.63254.17278.479615@gargle.gargle.HOWL>
In-Reply-To: <16179.63254.17278.479615@gargle.gargle.HOWL>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: megaco-admin@ietf.org
Errors-To: megaco-admin@ietf.org
X-BeenThere: megaco@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/megaco>, <mailto:megaco-request@ietf.org?subject=unsubscribe>
List-Id: Media Gateway Control <megaco.ietf.org>
List-Post: <mailto:megaco@ietf.org>
List-Help: <mailto:megaco-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/megaco>, <mailto:megaco-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

You should now be using RFC 3525 as the equivalent to H.248.1 version 1.

Micael Karlberg wrote:

> Hi,
> 
> I made the changes described by Troy:
> 
>     auditReturnParameter = ( mediaDescriptor / modemDescriptor /
>                              muxDescriptor / eventsDescriptor /
>                              signalsDescriptor / digitMapDescriptor /
>                              observedEventsDescriptor /
>                              eventBufferDescriptor /
>                              statisticsDescriptor / packagesDescriptor /
>                              errorDescriptor / auditReturnItem)
>  
>     auditReturnItem = ( MuxToken / ModemToken / MediaToken /
>                         DigitMapToken / StatsToken /
>                         ObservedEventsToken / PackagesToken )
> 
>     auditItem = ( auditReturnItem / SignalsToken /
>                   EventBufferToken / EventsToken /
>                   indAudterminationAudit )
> 
> This seems to work just fine, and since it is the way it's done
> in the IG (h248s-ig) why not use this construction in version 2?
> 
> By the way. I have been using the draft-ietf-megaco-3015corr-03.txt
> document assuming it to be up-to-date with the latest IG. It was only 
> when Troy pointed out the auditReturnItem that I realized that something
> was not right. h248s-ig.pdf is dated 25 October 2002 and 
> draft-ietf-megaco-3015corr-03.txt is dated December 2002 (i.e. later). 
> Is there a later version of the draft-ietf-megaco-3015corr document
> or is it dead (it did expire June 2003)?
> 
> Regards,
> 	/BMK
> 
> Troy Cauble writes:
>  > Christian Groves wrote:
>  > 
>  > 
>  > >>
>  > >>  >  > So as has been mentioned by Tom we need to fix this. So how 
>  > >> about we delete  > audititem from? It removes the ambiguity.
>  > >>  > auditReturnParameter = (mediaDescriptor / modemDescriptor /
>  > >>  >                          muxDescriptor / eventsDescriptor /
>  > >>  >                          signalsDescriptor / digitMapDescriptor /
>  > >>  >                        observedEventsDescriptor / 
>  > >> eventBufferDescriptor /
>  > >>  >                          statisticsDescriptor / packagesDescriptor /
>  > >>  >                           errorDescriptor / auditItem)
>  > >>  >  > and restore this to v1.
>  > >>
>  > >> Delete auditItem from auditReturnParameter? But auditItem was part of 
>  > >> auditReturnParameter even in v1. 
>  > > 
>  > > 
>  > > [CHG] Yes, must have been looking at an old version of v1.
>  > > 
>  > >>
>  > >>
>  > >>  > The individual auditing mechanism was only meant to change the 
>  > >> request  > mechanisn not what was returned as the "usual" audit reply 
>  > >>  > should have been enough to send the data back that you need. Does 
>  > >> this  > solve the problem. If not, Micael as you need unambiguous 
>  > >> syntax can you  > propose a simple ABNF fix that would solve your 
>  > >> problem/s?
>  > >>
>  > >>
>  > >> I really hope that I am not the only one who is writing a version 2
>  > >> parser, or else I am wasting my time (or are about to strike gold :)
>  > >>
>  > >> As for a solution, how about adding a token and changing the 
>  > >> definition of indAudterminationAudit to:
>  > >>
>  > >> indAudterminationAudit = IndAudTerminationAuditToken 
>  > >>                          indAudauditReturnParameter  
>  > >>                          *(COMMA indAudauditReturnParameter)         
>  > >> Not pretty, but it should do the trick. I have not tested it
>  > >> with real messages, but atleast my parser generator did not complain 
>  > >> anymore.
>  > > 
>  > > 
>  > > [CHG] I think the point is that the MGC shouldn't be concerned whether 
>  > > the audited parameter is from a descriptor audit or an individual audit. 
>  > > The syntax provided for a descriptor audit is enough to return an 
>  > > individual audit. The problem lies that AuditItem is used both in the 
>  > > command request and reply ABNF. I was thinking about a token yesterday 
>  > > myself but when I had a look at the ASN1 and saw that it used existing 
>  > > AuditDescriptor reply syntax I thought we shouldn't allow using the 
>  > > IndAudRep.
>  > > Would a rule that,
>  > > 
>  > > ; For audit replys the indAudterminationAudit SHALL not be used.
>  > > auditItem            = ( MuxToken / ModemToken / MediaToken /
>  > >                         SignalsToken / EventBufferToken /
>  > >                         DigitMapToken / StatsToken / EventsToken /
>  > >                         ObservedEventsToken / PackagesToken ) /
>  > >                         indAudterminationAudit)
>  > > 
>  > > Be a solution?
>  > > 
>  > > Regards, Christian
>  > 
>  > IG item 6.3 fixed the related conflicts for V1.  It's not clear if being
>  > in the IG means it applies to V2 as well.
>  > 
>  > I think 6.3 should be explicitly applied to V2 because
>  > 1) it makes the two versions more alike, and
>  > 2) it fixes the conflicts.
>  > 
>  > 
>  > IG item #6.3 (http://www.itu.int/itudoc/itu-t/com16/implgd/h248s-ig.pdf)
>  > 
>  >    auditReturnParameter = (mediaDescriptor / modemDescriptor /
>  > 			muxDescriptor / eventsDescriptor /
>  > 			signalsDescriptor / digitMapDescriptor /
>  > 			observedEventsDescriptor /
>  > 			eventBufferDescriptor /
>  > 			statisticsDescriptor / packagesDescriptor /
>  > 			errorDescriptor / auditReturnItem)
>  > 
>  >    auditReturnItem = (MuxToken / ModemToken / MediaToken /
>  > 			DigitMapToken / StatsToken /
>  > 			ObservedEventsToken / PackagesToken )
>  > 
>  >    ;at-most-once, and DigitMapToken and PackagesToken are not allowed
>  >    ;in AuditCapabilities command
>  >    auditItem = ( auditReturnItem / SignalsToken /
>  > 			EventBufferToken / EventsToken )
>  > 
>  > 
>  > Note that indAudterminationAudit was not in V1.  It must be added to
>  > auditItem.  I think Christian is arguing that those resulting token
>  > conflicts are not critical, because the indAud variations are always
>  > followed by "{" or "=", which can distinguish them from the individual
>  > tokens of an auditItem.  So no other changes are necessary.
>  > 
>  > -troy
>  > 
>  > 
>  > 
> 
> 


_______________________________________________
Megaco mailing list
Megaco@ietf.org
https://www1.ietf.org/mailman/listinfo/megaco