[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Megaco] Property value type ENUMERATED



The short answer is that the specification has given you the character
sequences to be used in your enumeration: "1", "2", and "no".  The longer
answer is that the authors of this specification were clearly
binary-oriented and didn't consider a more natural text encoding. 

-----Original Message-----
From: akalra@hss.hns.com [mailto:akalra@hss.hns.com]
Sent: Tuesday, May 07, 2002 7:56 AM
To: megaco@ietf.org
Subject: [Megaco] Property value type ENUMERATED




Hi all,
      Below given a package defintion in which the type of the property
      TUNNELLING OPTIONS
is given to be Enumeration but the possible values are given to be 1 ,2 and
NO
      . Now shouldn't the values
be some strings rather than 1,2. How are we supposed to encode them as 1/2
or
      ONE/TWO or enum
defined like TUNOPT_1 , TUNOPT_2.

regards/
Amit Kalra
(Megaco Stack Development Team)
Hughes Software Systems
Gurgaon, INDIA

****************************************************************************
**********


7     Bearer Control Tunnelling Package

Package Name: BT
PackageID: 0x0022
Description: This package describes the functionality to be able to support
the
transport of "Bearer Information Transport" information between an MGC and
MG.
Version: 1
Extends: None
7.1   Properties
7.1.1 Tunnelling Option
Property Name: Tunnelling Options
PropertyID: 0x01, TunOpt
Description: This property is set to indicate when the MG shall send the
      tunnelled data information (BIT) to an MGC.
Type: Enumeration
Possible values:
1, [0x01]  In the same message as the command response to the command which
      generated the bearer control tunnel.
2, [0x02]  Tunnel message at any time
NO, [0x03]    No tunnel is used
****************************************************************************
*********



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

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