streamMode variable

mwilligs@REDACTED mwilligs@REDACTED
Mon Oct 27 16:21:57 CET 2003


In the file megaco_message_v1.hlr the structure LocalControlDescriptor
have the streamMode variable.

Witch are the posible values of streamMode?
In the RFC 3015 page 91 is defined as follow:
StreamMode ::= ENUMERATED
{
	sendOnly(0),
	recvOnly(1),
	sendRecv(2),
	...
}
The point is: Is it right to write it this way in erlang?:
	LCD1=#'LocalControlDescriptor'{streamMode=2}
or shall I write it in this way?:
	LCD1=#'LocalControlDescriptor'{streamMode=recvOnly}

Because, appareantly neither of this ways is correct.

thanks in advance



More information about the erlang-questions mailing list