SIPintro

SIP Introduction

SIP Components

Server Controls Service Logic

SIP Commands

SIP Headers

Messages 常用代碼

SIP Applications

SIP Applications

SIP Applications

SIP Applications

SIP Phone

Baseline Architecture

Baseline Architecture

Architecture Overview

Baseline Architecture Components

SIP 101

Operation in Proxy Mode

Operation in Redirect Mode

User Registration

SIP Protocol Stack

Application Servers

Application Servers Connectivity

Application Server Platform

Possible AP Server Applications

AP Server Execution

SIPService Creation

SIP Program Example

SIP Program Example

XML Style CPL

RFC List and FAQ

Document Tree


Untitled Document
SIP Introduction

⊕ SIP Benefits

Open, simple, extensible, and lightweight protocol
Design for IPNeetworks – easier to integrate with telephony and Internet functions
Supports multiple call legs (i.e., forking)
Same protocol used between services and call control entities
Text-based encoding

⊕ SIP Shortcoming

 
SIP's current features are mostly for call initiation
 
Need features for post-call setup
Transfer Multi-party Dial-in bridges
Tue Apr 26 09:03:32 CST 2011

Untitled Document
SIP Components

⊕ User Agents

User Agent Client - UAC Initiate SIP Requests
User Agent Server - UAS Accepts or Rejects call
Reside in Softswitches IP and soft phones
Handheld and wireless devices DSL/Cable equipment PBX/UnPBX

⊕ Servers

Proxy Heart of SIP network which contains all service logic
Redirect Returns routing information to the initiating endpoint
Registration Registration enables subscriber mobility
 
Reside in
Service Provider Networks ITSP's
Long distance carriers
Cable MSO’s
Firewalls Network address translations
Network Access Points Cross network interoperability
Tue Apr 26 09:03:32 CST 2011 Untitled Document
Server Controls Service Logic
 
Server is the Primary Place for SIP Services
   
Controls all service logic
   
Central point for location and billing services
 
Internet Integration
   
SIP integrates with web, email and chat applications
 
Call Processing Language
   
XML language for creating services and applications
Tue Apr 26 09:03:32 CST 2011 Untitled Document
SIP Commands
Invite 主要為啟發一多媒體服務,內含主叫方及被叫方的資訊、和所要進行的服務類別等訊息。
Ack 當一服務要求送達UAC後,需由UAC回應一訊息至UAS端,表示己收到Invite 訊息。
Options 此一訊令主要是用來了解User agent 所能處理事務有那些。如 可處理Media type 。
BYE 結束一多媒體服務時所使用的指令。
Cancel 由主叫方取消其服務要求時所使用之指令。
Register 由User agent主動向Registrar Server報告目前位置,供未來各類服務使用。
Tue Apr 26 09:03:33 CST 2011 Untitled Document
SIP Headers
General Headers
Call-ID Contact CSeq Date Encryption Expires
From Record-Route Timestamp To Via
Entity Headers
Content-Encoding Content-Length Content-Type
Request Headers
Accept Accept-Encoding Accept-Language Authorization Contact
Max-Forwards Organization Priority Proxy-Authorization Proxy-Require
Route Require Response-Key Subject User-Agent
Response Headers
Allow Proxy-Authenticate Proxy-After Server
Unsupported Warning WWW-Authenticate
Tue Apr 26 09:03:33 CST 2011 Untitled Document
Messages 常用代碼
1xx Provisional
100Trying 180Ringing 181Call Is Being Forwarded 182Queued
2xx Successful
200OK
3xx Redirection
300Multiple Choices 301Moved Permanently 302Moved Temporarily 305User Proxy
380Alternative Service
4xx Failure
400Bad Request 401Unauthorized 402Payment Required 403Forbidden
404Not Found 405Method Not Allowed 409Conflict 410Gone
411Length Required 413Request Entity Too Large 414Request URL Too Long 415Unsupported Media Type
420Bad Extension 480Temporarily Unavailable 481Call Leg Transaction Does Not Exist 482Loop Detected
483Too Many Hops 484Address Incomplete 485Ambiguous 486Busy Here
5xx Server Failure
500Server Internal Error 501Not Implemented 502Bad Gateway 503Service Unavailable
504Gateway Time-out 505Version Not Supported
6xx Global Failure
600Busy Everywhere 603Decline 604Does Not Exist Anywhere 606Not Acceptable
Tue Apr 26 09:03:33 CST 2011 Untitled Document
SIP Applications
Integrate Telephony Services with
web email text chat
instant messging interactive games
Examples
IM Notify when busy subscriber gets instant messages when friends phones (IP or POTS) available
Call redirect to web web page returnd instead of busy signal
Web IVR web page of menus, final choice rings phone
Shared web browsing talk and browse jointly
Transfer to email Caller is disconnected and mail tool pops up
Email call logs Unanswered calls cause email notification
IM notification of conference join On a conference bridge, instant message indicates participant joins/leaves
Web call-ID web page of caller pops up when phone rings
Tue Apr 26 09:03:34 CST 2011 Untitled Document
SIP Applications
Tue Apr 26 09:03:34 CST 2011 Untitled Document
SIP Applications
Tue Apr 26 09:03:34 CST 2011 Untitled Document
SIP Applications
Tue Apr 26 09:03:34 CST 2011 Untitled Document
SIP Phone
MIC Worldcom
3Com
Nortel
Siemens
Cisco
PingTel
Tue Apr 26 09:03:35 CST 2011 Untitled Document
Baseline Architecture
Tue Apr 26 09:03:35 CST 2011 Untitled Document
Baseline Architecture
Tue Apr 26 09:03:35 CST 2011 Untitled Document
Architecture Overview
Tue Apr 26 09:03:35 CST 2011 Untitled Document
Baseline Architecture Components
Tue Apr 26 09:03:36 CST 2011 Untitled Document
SIP 101
1 SIP = signaling protocol for establiing session/calls/conference/...
2 session = audio, video, games, chat, ...
3 called server may map name to user@host
4 callee acceps, rejects, forward to new address
5 if new address, go to step 2
7 conversation ...
8 caller or callee sends BYE
Tue Apr 26 09:03:36 CST 2011 Untitled Document
Operation in Proxy Mode
Tue Apr 26 09:03:36 CST 2011 Untitled Document
Operation in Redirect Mode
Tue Apr 26 09:03:36 CST 2011 Untitled Document
User Registration
Tue Apr 26 09:03:37 CST 2011 Untitled Document
SIP Protocol Stack
Tue Apr 26 09:03:37 CST 2011 Untitled Document
Application Servers
Tue Apr 26 09:03:37 CST 2011 Untitled Document
Application Servers Connectivity
Tue Apr 26 09:03:37 CST 2011 Untitled Document
Application Server Platform
Tue Apr 26 09:03:38 CST 2011 Untitled Document
Possible AP Server Applications
Tue Apr 26 09:03:38 CST 2011 Untitled Document
AP Server Execution
Tue Apr 26 09:03:38 CST 2011 Untitled Document
SIPService Creation
 
Easy service creation based on open standards by
   
Service providers,
   
End users,
   
3rd parties
Tue Apr 26 09:03:38 CST 2011 Untitled Document
SIP Program Example

<call>
 <location url="sip:jones@pc.ex.com">
  <proxy timeout="8s">
   <busy>
    <location url="sip:jones@vmail.ex.com”
     merge="clear” id="voicemail" >
     <proxy />
    </location>
   </busy>
   <noanswer>
    <link ref="voicemail" />
   </noanswer>
  </proxy>
 </location>
</call>
SIP Program Example
INVITE sip:jdrosen@bell-labs.com SIP/2.0
To: sip:jdrosen@bell-labs.com
From: sip:machine@bell-labs.com
Call-ID: 10
Cseq: 0 INVITE
Content-Length: 0
PROXY_REQUEST_TO sip:hgs@cs.columbia.edu SIP/2.0
Max-Forwards:
SIP/2.0 180 Ringing User
CGI_SCRIPT_COOKIE aoi988ans0naa SIP/2.0
Tue Apr 26 09:03:39 CST 2011 Untitled Document
SIP Program Example

<call>
 <location url="sip:jones@pc.ex.com">
  <proxy timeout="8s">
   <busy>
    <location url="sip:jones@vmail.ex.com”
     merge="clear” id="voicemail" >
     <proxy />
    </location>
   </busy>
   <noanswer>
    <link ref="voicemail" />
   </noanswer>
  </proxy>
 </location>
</call>
SIP Program Example
INVITE sip:jdrosen@bell-labs.com SIP/2.0
To: sip:jdrosen@bell-labs.com
From: sip:machine@bell-labs.com
Call-ID: 10
Cseq: 0 INVITE
Content-Length: 0
PROXY_REQUEST_TO sip:hgs@cs.columbia.edu SIP/2.0
Max-Forwards:
SIP/2.0 180 Ringing User
CGI_SCRIPT_COOKIE aoi988ans0naa SIP/2.0
Tue Apr 26 09:03:39 CST 2011 Untitled Document
XML Style CPL
<call>
 <string-switch field=“from”>
  <string is=“boss@company.com”>
   <location url=“sip:joe@att.com”>
    <proxy>
     <busy>
      <location url=“tel:5551212”>
       <proxy>
        <busy>
         <location url=“sip:voicemail@att.com”
                   link=“vm”>
          <proxy/>
         </location>
        </busy>
        <noanswer>
         <link id=“vm”/>
        </noanswer>
       </proxy>
      </location>
     </busy>
     <noanswer>
      <link id=“vm”/>
     </noanswer>
    </proxy>
   </location>
  </string>
  <otherwise>
   <link id=“vm”/>
  </otherwise>
 </string-switch>
</call>                  
Tue Apr 26 09:03:39 CST 2011 Untitled Document
RFC List and FAQ
Tue Apr 26 09:03:39 CST 2011 Untitled Document
Document Tree
 
SIP Architecture and Functionality
Guidelines for Authors of SIP Extensions
SIP MIB
SIP and SOAP
SIP Extensions for supporting distributed call state
SIP INFO vn. 5
SIP INFO method for event reporting
SIP INFO method for DTMF digit transport and collection
SDP media alignment in SIP
 
Services
Emergency Call Services (911)
A SPIRITS solution based on virtual SIP user agents
Third party call control in SIP
SIP message waiting
SIP call control transfer
SIP for the hearing disabled
SIP for home appliances
 
Infrastructure: AAA, QoS and Security
SIP transport of OSP token
SIP firewall solution
 
PSTN and H.323 support
H.323-SIP
MIME media types for ISUP and QSIG objects
Tue Apr 26 09:03:40 CST 2011