rfc3108.txt
来自「RFC 的详细文档!」· 文本 代码 · 共 1,523 行 · 第 1/5 页
TXT
1,523 行
On the other hand, call IDs, connection IDs and context IDs can be
can be 32 hex digits long.
Kumar & Mostafa Standards Track [Page 11]
RFC 3108 ATM SDP May 2001
The <sessionID> field is represented as a decimal or hex number of up
to 32 digits. A "0x" prefix is used before the hex representation.
The <version> refers to the version of the SDP session descriptor
(not that of the SDP protocol). This is can be set to one of the
following:
* 0.
* an NTP timestamp referring to the moment when the SDP session
descriptor was modified. If the SDP session descriptor has not
been modified by an intermediate entity (such as an MGC), then
the <version> timestamp will be the same as the <sessionId>
timestamp, if any. As with the <sessionId>, only the integer
part of the NTP timestamp is used.
When equated to the integer part of an NTP timestamp, the <version>
field is 10 digits wide. This is more restricted than [1], which
allows unlimited size. As in [1], the most significant digit is
non-zero when an NTP timestamp is used.
The <networkType> in SDP session descriptions for ATM applications
should be assigned the string value "ATM" or wildcarded to a "$" or
"-".
The <addressType> and <address> parameters are identical to those
for the connection information ('c') line (Section 5.3). Each of
these parameters can be wildcarded per the conventions described for
the 'c' line in Section 5.3. These parameters should not me omitted
since this would violate SDP syntax [1].
As with the 'c' line, SDP parsers are not expected to check the
consistency of <networkType> with <addressType>, <address> pairs.
The <addressType> and <address> need to be consistent with each
other.
5.2 The Session Name Line
In general, the session name line is structured as follows:
s=<sessionName>
For ATM-based sessions, the <sessionName> parameter is set to a "-".
The resulting line is:
s=-
Kumar & Mostafa Standards Track [Page 12]
RFC 3108 ATM SDP May 2001
5.3 The Connection Information Line
In general, the connection information line [1] is structured as
follows:
c=<networkType> <addressType> <address>
For ATM networks, additional values of <networkType>, <addressType>
and <address> are defined, over and above those listed in [1]. The
ABNF syntax (Section 9) for ATM SDP does not limit the ways in which
<networkType> can be combined with <addressType>, <address> pairs.
However, some combinations will not be valid in certain applications,
while others will never be valid. Invalid combinations should be
rejected by application-specific functions, and not by generic
parsers. The ABNF syntax does limit the ways in which <addressType>
and <address> can be paired.
For ATM networks, the value of <networkType> should be set to "ATM".
Further, this may be wildcarded to "$" or "-". If this is done, an
node using ATM as the basic transport mechanism will select a value
of "ATM". A node that interfaces with multiple network types ("IN",
"ATM" etc.) that include ATM can also choose a value of "ATM".
When the SDP description is built by a node such as a media gateway,
the <address> refers to the address of the node building the SDP
description. When this description is forwarded to another node, it
still contains the original node's address. When the media gateway
controller builds part or all of the SDP description, the local
descriptor contains the address of the local node, while the remote
descriptor contains the address of the remote node. If the <address>
and/or <addressType> are irrelevant or are known by other means, they
can be set to a "$" or a "-", as described below.
Additionally, in all contexts, the 'm' line can have an ATM address
in the <virtualConnectionId> subparameter which, if present, is the
remote address if the 'c' line address is local, and vice versa.
For ATM networks, the <addressType> can be NSAP, E164 or GWID
(ALIAS). For ATM networks, the <address> syntax depends on the
syntax of the <addressType>. SDP parsers should check the
consistency of <addressType> with <address>.
NSAP: If the addressType is NSAP, the address is expressed in the
standard dotted hex form. This is a string of 40 hex digits, with
dots after the 2nd, 6th, 10th, 14th, 18th, 22nd, 26th, 30th, 34th and
38th digits. The last octet of the NSAP address is the 'selector'
field that is available for non-standard use. An example of a line
with an NSAP address is:
Kumar & Mostafa Standards Track [Page 13]
RFC 3108 ATM SDP May 2001
c=ATM NSAP 47.0091.8100.0000.0060.3e64.fd01.0060.3e64.fd01.00
A "0x" prefix shall not be used in this case since this is always in
hexadecimal format.
E164: If the addressType is E164, the address is expressed as a
decimal number with up to 15 digits. For example:
c=ATM E164 9738294382
The use of E.164 numbers in the B-ISDN context is defined in ITU
E.191. There is a disparity between the ATM forum and the ITU in the
use of E.164 numbers for ATM addressing. The ATM forum (e.g., UNI
Signaling 4.0) allows only International Format E.164 numbers, while
the ITU (e.g., Q.2931) allows private numbering plans. Since the
goal of this SDP specification is to interoperate with all bearer
signaling protocols, it allows the use of numbers that do not conform
to the E.164 International Format. However, to maximize overall
consistency, network administrators can restrict the provisioning of
numbers to the E.164 International Format.
GWID (ALIAS): If the addressType is GWID, it means that the address
is a Gateway Identifier or Node Alias. This may or may not be
globally unique. In this format, the address is expressed as an
alphanumeric string ("A"-"Z", "a"-"z", "0" - "9",".","-","_"). For
example:
c=ATM GWID officeABCmgx101vism12
Since these SDP conventions can be used for more than gateways, the
string "ALIAS" can be used instead of "GWID" in the 'c' line. Thus,
the example above is equivalent to:
c=ATM ALIAS officeABCmgx101vism12
An example of a GWID (ALIAS)is the CLLI code used for telecom
equipment. For all practical purposes, it should be adequate for the
GWID (ALIAS) to be a variable length string with a maximum size of 32
characters.
The connection information line is always present in an SDP session
descriptor. However, each of the parameters on this line can be
wildcarded to a "$" or a "-", independently of whether other
parameters on this line are wildcarded or not. Not all syntactically
legal wildcard combinations are meaningful in a particular
application.
Kumar & Mostafa Standards Track [Page 14]
RFC 3108 ATM SDP May 2001
Examples of meaningful wildcard combinations in the ATM context are:
c=- - -
c=$ $ $
c=ATM - -
c=ATM $ $
c=ATM <addressType> -
c=ATM <addressType> $
Specifying the ATM address type without specifying the ATM address is
useful when the recipient is asked to select an ATM address of a
certain type (NSAP, E.164 etc.).
Examples of syntactically legal wildcard combinations of dubious
utility are:
c=- $ -
c=- $ $
c=- <addressType> -
c=$ <addressType> $
c=- <addressType> <address>
c=$ <addressType> <address>
Note that <addressType> and/or <address> should not omitted without
being set to a "-" or "$" since this would violate basic SDP syntax
[1].
5.4 The Timestamp Line
The timestamp line for an SDP session descriptor is structured as
follows:
t= <startTime> <stopTime>
Per Ref. [49], NTP time stamps use a 32 bit unsigned representation
of seconds, and a 32 bit unsigned representation of fractional
seconds. For ATM-based sessions, the <startTime>parameter can be
made equal to the NTP timestamp referring to the moment when the SDP
session descriptor was created. It can also be set to 0 indicating
its irrelevance. If it made equal to the NTP timestamp in seconds,
the fractional part of the NTP timestamp is omitted. When equated to
the integer part of an NTP timestamp, the <startTime> field is 10
digits wide. This is more restricted than [1], which allows
unlimited size. As in [1], the most significant digit is non-zero
when an NTP timestamp is used.
The <stopTime> parameter is set to 0 for ATM-based SDP descriptors.
Kumar & Mostafa Standards Track [Page 15]
RFC 3108 ATM SDP May 2001
5.5 Media Information Line for ATM connections
The general format of the media information line adapted for AAL1 and
AAL5 applications is:
m=<media> <virtualConnectionId> <transport> <format list>
The general format of the media information line adapted for AAL2
applications is:
m=<media> <virtualConnectionId> <transport#1> <format list#1>
<transport#2> <format list#2> ... <transport#M> <format list#M>
Note that <virtualConnectionId> is equivalent to <port> in [1].
The subparameter <media> can take on all the values defined in [1].
These are: "audio", "video", "application", "data" and "control".
When the <transport> parameter has more than one value in the 'm'
line, the <transport> <format list> pairs can be arranged in
preferential order.
5.5.1 The Virtual Connection ID
In applications in which the media-level part of a session descriptor
is bound to an ATM virtual circuit, the <virtualConnectionId> can be
in one of the following formats:
* <ex_vcci>
* <addressType>-<address>/<ex_vcci>
* <address>/<ex_vcci>
* <ex_bcg>/<ex_vcci>
* <ex_portId>/<ex_vpi>/<ex_vci>
* <ex_bcg>/<ex_vpi>/<ex_vci>
* <ex_vpci>/<ex_vci>
* <addressType>-<address>/<ex_vpci>/<ex_vci>
* <address>/<ex_vpci>/<ex_vci>
In applications in which the media-level part of a session descriptor
is bound to a subchannel within an ATM virtual circuit, the
<virtualConnectionId> can be in one of the following formats:
* <ex_vcci>/<ex_cid>
* <addressType>-<address>/<ex_vcci>/<ex_cid>
* <address>/<ex_vcci>/<ex_cid>
* <ex_bcg>/<ex_vcci>/<ex_cid>
* <ex_portId>/<ex_vpi>/<ex_vci>/<ex_cid>
* <ex_bcg>/<ex_vpi>/<ex_vci>/<ex_cid>
Kumar & Mostafa Standards Track [Page 16]
RFC 3108 ATM SDP May 2001
* <ex_vpci>/<ex_vci>/<ex_cid>
* <addressType>-<address>/<ex_vpci>/<ex_vci>/<ex_cid>
* <address>/<ex_vpci>/<ex_vci>/<ex_cid>
Here,
<ex_vcci> = VCCI-<vcci>
<ex_vpci> = VPCI-<vpci>
<ex_bcg> = BCG-<bcg>
<ex_portId> = PORT-<portId>
<ex_vpi> = VPI-<vpi>
<ex_vci> = VCI-<vci>
<ex_cid> = CID-<cid>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?