Internet Communications Using SIP : Delivering VoIP and Multimedia Services With Session Initiation Protocol {2Nd Ed.}

(Steven Felgate) #1

Table 6.4 SDP Offer Example with Line-by-Line Description


LINE DESCRIPTION
v=0 Version — Current version number of SDP
( 0 ) — not used by SIP.
o=usera 2890844526 2890844526 Origin — Only the version ( 2890844526 ) is
IN IP4 client.example.com used by SIP.
s=Subject Subject
c=IN IP4 128.2.3.1 Connection — network (INfor Internet),
address type (IP4for IP Version 4) and
address (128.2.3.1).
t=0 0 Time — start and stop time — not used
by SIP.
m=video 51372 RTP/AVP 34 98 Media — Media type (video), port number
( 51372 ), type (RTP/AVP Profile), and
number (Profiles 34 or 98 ).
a=rtpmap:34 H263/90000 Attribute — rtpmaplists attributes of
RTP/AVP video profile 34 , including codec
(H.263) and sampling rate ( 90000 Hz).
a=rtpmap:98 H264/90000 Attribute — rtpmaplists attributes of
RTP/AVP video profile 98 (dynamic payload)
including codec (H.264) and sampling rate
( 90000 Hz).
m=audio 4006 RTP/AVP 0 97 Media — Second media type (audio), port
number ( 4006 ), type (RTP/AVPProfile),
and number (Profiles 0 or 97 ).
a=rtpmap:0 PCMU/8000 Attribute — rtpmaplists attributes of
RTP/AVP audio profile 0 , including codec
(PCMU— PCM μ-Law) and sampling sate
( 8000 Hz).
a=rtpmap:97 iLBC/8000 Attribute — rtpmaplists attributes of
RTP/AVP audio profile 97 (dynamic
payload) including codec (iLBC) and
sampling rate ( 8000 Hz).

In the response to this offer, the other party declines the video media session
by setting the port number to 0, and accepts the audio session by selecting the
iLBCcodec and returning a nonzero port number, as shown in Table 6.5.
Further negotiation and changes to the media can be accomplished using a
re-INVITEonce the session is established, as described in the next section.
This type of limited media negotiation capability is supported by SDP and,
hence, in SIP. Currently work is underway to develop a successor to SDP,


SIP Overview 113
Free download pdf