Académique Documents
Professionnel Documents
Culture Documents
What is a SIP?
SIP Terms
SIP User Agents (UAs) are the end-user devices, used to create and manage a SIP session. A SIP
UA has two main components, the User Agent Client (UAC) sends messages and answers with SIP
responses, the User Agent Server (UAS) responds to SIP requests sent by the peer. SIP UAs may
work in point to point mode. Typical implementations of a UA are SIP softphones, SIP hardphones
and SIP-enabled ATAs. In my case the SIP UA is a Cisco 2811 acting as a VoIP Gateway.
Proxy, Proxy Server: An intermediary entity that acts as both a server and a client for the purpose
of making requests on behalf of other clients. A proxy server primarily plays the role of routing,
which means its job is to ensure that a request is sent to another entity "closer" to the targeted user.
Proxies are also useful for enforcing policy (for example, making sure a user is allowed to make a
call). A proxy interprets, and, if necessary, rewrites specific parts of a request message before
forwarding it.
A registrar is a server that accepts REGISTER requests and places the information it receives in
those requests into the location service for the domain it handles.
A redirect server is a user agent server that generates 3xx responses to requests it receives,
directing the client to contact an alternate set of URIs.The redirect server allows SIP Proxy Servers
to direct SIP session invitations to external domains.
SIP Signaling
A transaction is a SIP
message exchange between
two user-agents that starts
with a request and ends with
its final response. It is a part
of a dialog.
SIP Requests
Method
Description
I NVI TE
ACK
Message from client to indicate that a successful response to an I NVI TE has been received
CANCEL
Cancels any pending requests. Usually sent to a Proxy Server to cancel searches
REGI STER Used by client to register a particular address with the SI P server
SIP Message
Invite
INVITE sip:5620@172.22.5.10:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.12.3:5060;branch=z9hG4bK155691746
Remote-Party-ID: "JEFFERSON MARTI" <sip:8432762180@172.22.12.3>;party=calling;screen=yes;privacy=off
From: "JEFFERSON MARTI" <sip:8432762180@172.22.12.3>;tag=B064C8D4-DF3
To: <sip:5620@172.22.5.10>
Date: Wed, 28 Jul 2010 15:38:36 GMT
Call-ID: 54322D8-999511DF-99D69AFE-2081E384@172.22.12.3
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 81646792-2576683487-2605776921-107194714
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO,
REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1280331516
Contact: <sip:8432762180@172.22.12.3:5060>
Call-Info: <sip:172.22.12.3:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
Content-Type: multipart/mixed;boundary=uniqueBoundary
Mime-Version: 1.0
Content-Length: 1112
SIP Message
Trying 100
SIP/2.0 100 Trying
Date: Wed, 28 Jul 2010 15:38:36 GMT
From: "JEFFERSON MARTI" <sip:8432762180@172.22.12.3>;tag=B064C8D4-DF3
Allow-Events: presence
Content-Length: 0
To: <sip:5620@172.22.5.10>
Call-ID: 54322D8-999511DF-99D69AFE-2081E384@172.22.12.3
Via: SIP/2.0/UDP 172.22.12.3:5060;branch=z9hG4bK155691746
CSeq: 101 INVITE
SIP Message
Ringing 180
SIP/2.0 180 Ringing
Date: Wed, 28 Jul 2010 15:38:36 GMT
Call-Info: <sip:172.22.5.10:5060>;method="NOTIFY;Event=telephone-event;Duration=500"
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE,
NOTIFY
From: "JEFFERSON MARTI" <sip:8432762180@172.22.12.3>;tag=B064C8D4-DF3
Allow-Events: presence
P-Asserted-Identity: "Marty Jefferson" <sip:5620@172.22.5.10>
Supported: X-cisco-srtp-fallback
Supported: Geolocation
Remote-Party-ID: "Marty Jefferson" <sip:5620@172.22.5.10>;party=called;screen=yes;privacy=off
Content-Length: 0
To: <sip:5620@172.22.5.10>;tag=011176a9-9c00-4b03-b253-35ace3ee8112-19702291
Contact: <sip:5620@172.22.5.10:5060>
Call-ID: 54322D8-999511DF-99D69AFE-2081E384@172.22.12.3
Via: SIP/2.0/UDP 172.22.12.3:5060;branch=z9hG4bK155691746
CSeq: 101 INVITE
SIP Message
OK 200
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.22.5.10:5060;branch=z9hG4bK590fd0304b15ff
From: "Marty Jefferson" <sip:7049435620@172.22.5.10>;tag=011176a9-9c00-4b03-b25335ace3ee8112-19702287
To: <sip:918432762180@172.22.12.3>;tag=B05DBE70-718
Date: Wed, 28 Jul 2010 15:30:52 GMT
Call-ID: 19c7a380-c5014d2c-58464b-a0516ac@172.22.5.10
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY,
INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:918432762180@172.22.12.3>;party=called;screen=no;privacy=off
Contact: <sip:918432762180@172.22.12.3:5060>
Supported: replaces
Call-Info: <sip:172.22.12.3:5060>;method="NOTIFY;Event=telephone-event;Duration=500"
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-12.x
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: multipart/mixed;boundary=uniqueBoundary
Mime-Version: 1.0
Content-Length: 670
SIP Message
ACK
ACK sip:918432762180@172.22.12.3:5060 SIP/2.0
Date: Wed, 28 Jul 2010 15:38:37 GMT
From: "Marty Jefferson" <sip:7049435620@172.22.5.10>;tag=011176a9-9c00-4b03-b25335ace3ee8112-19702292
Allow-Events: presence, kpml
Content-Length: 0
To: <sip:918432762180@172.22.12.3>;tag=B064D884-10C
Call-ID: 2ef10200-c5014efd-584897-a0516ac@172.22.5.10
Via: SIP/2.0/UDP 172.22.5.10:5060;branch=z9hG4bK59121e2736c5b4
CSeq: 101 ACK
Max-Forwards: 70
SIP Message
BYE
BYE sip:5620@172.22.5.10:5060 SIP/2.0
Via: SIP/2.0/UDP 172.22.12.3:5060;branch=z9hG4bK1556CB3C
From: "JEFFERSON MARTI" <sip:8432762180@172.22.12.3>;tag=B064C8D4-DF3
To: <sip:5620@172.22.5.10>;tag=011176a9-9c00-4b03-b253-35ace3ee8112-19702291
Date: Wed, 28 Jul 2010 15:38:36 GMT
Call-ID: 54322D8-999511DF-99D69AFE-2081E384@172.22.12.3
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1280331524
CSeq: 103 BYE
Reason: Q.850;cause=16
Content-Type: multipart/mixed;boundary=uniqueBoundary
Mime-Version: 1.0
Content-Length: 281
SIP Responses
Description
Examples
1xx
180 Ringing
181 Call is Being Forwarded
2xx
200 OK
3xx
4xx
401 Unauthorized
408 Request Timeout
5xx
6xx
SIP Responses
SIP Headers
Via contains the address at which the originator is expecting to receive responses to this request.
Mandatory
To contains a display name and a SIP URI towards which the request was originally directed. Mandatory
Display names are described in RFC 2822
From also contains a display name and a SIP URI that indicate the originator of the request. The From also
contains a tag parameter which is used for identification purposes. Mandatory
Call-ID contains a globally unique identifier for this call. Mandatory
CSeq or Command Sequence contains an integer and a method name. The CSeq number is incremented
for each new request within a dialog and is a traditional sequence number. Mandatory
Contact contains a SIP URI that represents a direct route to the originator usually composed of a username
at a fully qualified domain name (FQDN). While an FQDN is preferred, many end systems do not have
registered domain names, so IP addresses are permitted. The Contact header field tells other elements
where to send future requests.
Max-Forwards serves to limit the number of hops a request can make on the way to its destination. It
consists of an integer that is decremented by one at each hop.
Content-Type contains a description of the message body. Mandatory
Content-Length contains an octet (byte) count of the message body.
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
Called Number
(User-URI)
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Destination IP
(Host-URI)
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
Signaling Port
Number of the
Source IP Address
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Source IP Address
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
From Address
This is used to make a
match in SBC LocalPolicy.
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
Destination Number
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Destination IP Signaling
Address
To Header (Mandatory)
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
Contact Address
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Contact Header
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Call-ID Header
This is a Mandatory
Header
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Command Sequence
Header (Mandatory)
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154`
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
User-Agent Header
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Allow Header
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Content-Type Header
(Mandatory)
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Content-Length Header
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: sip:8069664170@69.7.163.154
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
SIP Headers
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: sip:8069664170@69.7.163.154
Min-SE: 90
Session Expires: 300
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
SDP Parameters
Session description
v= (protocol version) Mandatory
o= (owner/creator and session identifier). Mandatory
s= (session name) Mandatory
t= (time the session is active) Mandatory
i=* (session information)
u=* (URI of description)
e=* (email address)
p=* (phone number)
c=* (connection information - not required if included in all media)
b=* (bandwidth information)
z=* (time zone adjustments)
k=* (encryption key)
a=* (zero or more session attribute lines)
r=* (zero or more repeat times)Media description
m= (media name and transport address) Mandatory
i=* (media title)
c=* (connection information - optional if included at session-level)
b=* (bandwidth information)
a=* (zero or more media attribute lines)
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
SDP Parameters
INVITE sip:01150259917040@67.135.76.4 SIP/2.0
Via: SIP/2.0/UDP 69.7.163.154:5060;branch=z9hG4bK400fc6e6
From: "8069664170" <sip:8069664170@69.7.163.154>;tag=as42e2ecf6
To: <sip:01150259917040@67.135.76.4>
Contact: <sip:8069664170@69.7.163.154>
Call-ID: 2485823e63b290b47c042f20764d990a@69.7.163.154
CSeq: 102 INVITE
User-Agent: MatrixSwitch
Date: Thu, 22 Dec 2005 18:38:28 GMT
Protocol
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 268
v=0
o=root 14040 14040 IN IP4 69.7.163.154
s=session
c=IN IP4 69.7.163.154
t=0 0
m=audio 26784 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=fmtp:18 annexb=no - - - -
Version Mandatory
Owner Mandatory
IP address for RTP
Bit-rate
kbps
Coding
Delay
Quality
(MOS)
G.711
PCM
G.726
64
<1ms
4.2
Good
ADPCM
32
<1ms
4.0
Good
G.728
CELP
16
2 ms
4.0
Good
GSM
RPE-LTP
13.2
2ms
3.7
Fair-Good
G.729
CELP
5ms
4.0
Good
G.723.1
CELP
6.4
7.5
3.8
Fair-Good
I
P
U
D
P
R
T
P
Quality
(Wireshark)
Capturing VoIP (SIP) Calls
Thank You