IMS General BC en Theoretical Basic Inetface and Protocol Introduction of SIP Protocol 1 PPT 201010 44
IMS General BC en Theoretical Basic Inetface and Protocol Introduction of SIP Protocol 1 PPT 201010 44
SIP Protocol
Objectives
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
SIP, H.323 and H.248
H.225
SIP H.248/Megaco
H.245 Q.931 RAS RTP RTCP RTSP
TCP UDP
IP
What is SIP?
”
What is SIP?
”
Outline
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
SIP Components – distributed architecture
LDAP SIP
LDAP
Location Redirect Registrar
Server Server SIP Server SIP
SIP SIP
PSTN
Network servers
Redirect server
reduce the processing load on proxy servers
improve signaling path robustness
push routing information for a request back in a
response to the client
Basic SIP components (3/5)
Network Servers
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
ensure that a request is sent to another entity
"closer" to the targeted user
Basic SIP components (4/5)
Network servers
Registrar server
accepts REGISTER requests
places the information it receives in those requests
into the location service
Basic SIP components (5/5)
Network servers
location server
is used by a SIP redirect or proxy server
store information about a callee's possible
location(s).
a list of bindings of address-of- record keys to zero
or more contact addresses
The bindings can be created and removed in many
way
SIP in ZXSS10 architecture
Video-phone
Soft-phone
Outline
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
SIP Message – Request/Reply
SIP components rely on the interaction of SIP
messages to communicate with each other, the
messaging mechanism is based on Client/Server,
and can be divided into two categories (request
and reply)
SIP Request
Message Function
REGISTER Registration
Message Function
2XX Success
3XX Redirect
Soft-phone Video-phone
IP:202.202.21.31
IP:202.202.41.8
SIP port: 5060
SIP port: 5060
Number:6130000 Number:613000
1
SIP request message format
start line INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 202.202.41.8:5060
From: "iwf" <sip:[email protected]>;tag=aab7090044b2-195254e9
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 101 INVITE
Message head Expires: 180
User-Agent: Cisco-SIP-IP-Phone/2
Accept: application/sdp
Contact: sip:[email protected]:5060
Content-Type: application/sdp
Content-Length: 224
v=0
o=CiscoSystemsSIP-IPPhone-UserAgent 17052 15931 IN IP4 202.202.41.8
s=SIP Call
c=IN IP4 202.202.41.8
t=0 0
SDP body m=audio 17522 RTP/AVP 0 8 18 101
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
SIP Reply message sample
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
SIP Call scenario analysis
ZXSS10 SS1B
IP:10.41.6.1
sip H.248
I704
Core Packet Network
IP:10.52.31.237
IP:10.66.74.136
0755-26778086
SIP port: 5060
Number: #0* 109316
SIP Call scenario analysis
INVITE No.:12
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP
10.66.74.136:5060;branch=z9hG4bK3af571e7266a
To: "0755526778086"<sip:[email protected]>
From: "#0*109316"<sip:#0*[email protected]>;tag=884a420a-
7062206315162668
Call-ID: [email protected]
CSeq: 23944 INVITE
Contact: <sip:#0*[email protected]:5060>
Max-Forwards: 70
User-Agent: ZTE MULTIMEDIA SIPPHONE/V1.0 04-01-10
Content-Type: application/sdp
Content-Length: 288
v=0
o=#0*109316 3507761179 3608424475 IN IP4 10.66.74.136
s=session SDP
c=IN IP4 10.66.74.136
t=0 0
m=audio 10000 RTP/AVP 0 4 8 18
a=ptime:20
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
m=video 10002 RTP/AVP 34
a=rtpmap:34 H263/90000
SIP Call scenario analysis
No.:14
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP
10.66.74.136:5060;branch=z9hG4bK3af571e7266a INVITE
To:"0755526778086"<sip:0755526778086@
10.41.6.1>;tag=a290601-31939 183 Ring
From:"#0*109316"<sip:#0*[email protected]>;ta
g=884a420a-7062206315162668
Call-ID: 072a13acfdc2669-
[email protected]
CSeq: 23944 INVITE
Contact: <sip:[email protected]>
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PR
ACK,UPDATE
User-Agent: ZTE Softswitch/1.0.0
Content-Type: application/sdp
Content-Length: 115
v=0
o=ZTE 32 32 IN IP4 10.41.6.1
s=phone-call
c=IN IP4 10.52.31.237
t=0 0
m=audio 4006 RTP/AVP 0
a=ptime:20
SIP Call scenario analysis
No.:15
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.66.74.136:5060;branch=z9hG4bK3af571e7266a
To:"0755526778086"<sip:[email protected]. INVITE
6.1>;tag=a290601-31939
From:"#0*109316"<sip:#0*[email protected]>;tag
183 Ring
=884a420a-7062206315162668
Call-ID: 072a13acfdc2669-
[email protected]
CSeq: 23944 INVITE 200 OK
Contact: <sip:[email protected]>
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PR
ACK,UPDATE
Record-Route: <sip:10.41.6.1;lr>
User-Agent: ZTE Softswitch/1.0.0
Content-Type: application/sdp
Content-Length: 115
v=0
o=ZTE 32 32 IN IP4 10.41.6.1
s=phone-call
c=IN IP4 10.52.31.237
t=0 0
m=audio 4006 RTP/AVP 0
a=ptime:20
SIP Call scenario analysis
INVITE
No.:16
ACK sip:10.41.6.1;lr SIP/2.0
183 Ring
Via: SIP/2.0/UDP
10.66.74.136:5060;branch=z9hG4bK3af571e7266a
200 OK To: "0755526778086"<sip:[email protected]>
From:
ACK "#0*109316"<sip:#0*[email protected]>;tag=884a420
a-7062206315162668
Call-ID: [email protected]
CSeq: 23944 ACK
Contact: <sip:#0*[email protected]:5060>
Max-Forwards: 70
Route: <sip:[email protected]>
SIP Call scenario analysis
No.:17
BYE sip:#0*[email protected]:5060 INVITE
SIP/2.0
Via: SIP/2.0/UDP 183 Ring
10.41.6.1:5060;branch=776249e9.0
Via: SIP/2.0/UDP
10.52.31.237:5060;branch=4dcf5bd7
200 OK
To:
"#0*109316"<sip:#0*[email protected]>;tag=
884a420a-7062206315162668 ACK
From:
"0755526778086"<sip:[email protected].
6.1>;tag=a290601-31939
Call-ID: 072a13acfdc2669- conversation
[email protected]
CSeq: 18927 BYE
Max-Forwards: 69
User-Agent: ZTE Softswitch/1.0.0 BYE
Content-Length: 0
SIP Call scenario analysis
INVITE
No.:18
183 Ring SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.41.6.1:5060;branch=776249e9.0
Via: SIP/2.0/UDP
200 OK
10.52.31.237:5060;branch=4dcf5bd7
To:
ACK "#0*109316"<sip:#0*[email protected]>;ta
g=884a420a-7062206315162668
From:
"0755526778086"<sip:0755526778086@10.
conversation 41.6.1>;tag=a290601-31939
Call-ID: 072a13acfdc2669-
[email protected]
CSeq: 18927 BYE
BYE Max-Forwards: 69
200 OK
SIP in ZXSS10
ZXSS10 SS1A/B
ZXSS10 SS1A/B
Proxy server
Proxy server
Registrar server
Registrar server
Video-phone
Soft-phone
Outline
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
SIP-T introduction
Softswitch network is an integrated servce network, apart
from providing service for IAD, SIP subscribers, it also has
to consider to inherit the existing PSTN subscribers without
losing certain service properties
SS SS
MG
PSTN
Video-phone
SIP-T introduction
SIP-T means "SIP for Telephones", which is an
expansion of SIP protocol
SS SIP-T SS
MG
PSTN
Video-phone
Essentials of SIP-T
SIP-T is trying to provide a framework to
incorporate the traditional PSTN signals into SIP
message. SIP-T uses encapsulation and
translation to achieve the two essentials for SIP
network: transparency and routable
In the inter-connecting node of PSTN and SIP
network, SS7 ISUP message has been
encapsulated into SIP message to make sure that
the service content will remain intact, while the
associating specific message has been extracted
and translated into corresponding SIP header to
make the routing possible
SIP-T example
LS-1
LS-2
SIP-T sample analysis
After the SS1 receives the ISUP message coming from
LS1, it will encapsulate and translate the package into SIP
form. Firstly, it will finish the header according to the
caller/callee information in ISUP, such as the From/TO
domain and Request-URI domain.
For SS2, as the callee has been analyzed to be a PSTN
subscriber, the ss2 will extract the ISUP message from SIP
and route the call according to the local information
As for the intermediate message, such as SUS or INR,
they have been encapsulated into Info. Message in SIP
SIP-T sample analysis
SIP ISUP
Invite IAM
180 Ring ACM
200 OK ANM
Bye/Cancel REL
SIP-T sample analysis
IAM
Invite (SDP+IAM)
IAM
ACM
180 (ACM)
ACM
Ack
ANM
conversation
SIP introduction
SIP components
SIP message structure
Call scenario analysis
SIP-T introduction
SIP/H323 comparison
Goals in generation of protocols
SIP H.323
Based on simple Internet
Based on the Telco model of
Protocol models; designed to
communications; evolved from
meet converged (data, video,
the telephone connectivity world
voice) connectivity challenges
Standards established by the
Standards established by the ITU
IETF
Able to address the needs of a Evolved from a LAN-centric view
distributed WAN infrastructure of the Internet; disproportionate
focus on telephone connectivity to
suitable for carrier-class
the exclusion of a rich data or
deployment
video feature set
CAPABILITIES AND DESIGN INTENT
SIP H.323
Edge devices are identified in a standard
Internet manner (URLs, DNS lookup, MIME IP is the carrier protocol for RTP (Real Time
encoding) and protocol interaction is Protocol) but the underlying behaviors of the
consistent with the general TCP/UDP/IP protocols are specified uniquely by H.323
world
Circuit reliability, or the lack thereof, is the Reliability is inherent in H.323 often
responsibility of the underlying network introducing unnecessary levels of service
infrastructure
SIP messages are transmitted as ASCII text Evolved from a LAN-centric view of the
strings, consistent with email and web Internet; disproportionate
messages (SMTP, POP, HTTP, etc.)
SIP allows architectural as well as
command/response extensions using well H.323 uses binary messaging
documented methods
Efficient code implementation supporting Complex, cumbersome code that is difficult
easy of embedding in minimum memory to implement in embedded systems
model devices
Architecture minimizes setup delay As much as 7 or 8 seconds may be required
to negotiate circuit setup
Scalable, hierarchical addressing based on Telco-like addressing with limitations on
URL syntax scalability
APPLICATION SERVICES
SIP H.323
Ability to ring more than 1 telephone end-
point for an incoming call (call 'forking') ie:
No ability to fork calls
office, home, and cell phones all ring when
a call is received.
Individual user profile management
'Unified messaging'
Presence management
Media can be mixed in a single connection
No ability to mix media in a single call
(voice, data, streaming video)
Connection initiation through URL's that can
be embedded in web pages or other No ability to identify end-points with URL's
browser-based devices
SIP allows seamless integration with other H.323 capabilities are fixed and must be
IP-based protocols used in the voice context of the PSTN
IP-based services allow easy interoperation SS7 PSTN service model requires H.323
with various types of gateway and Internet devices, often with vendor-proprietary
devices implementations