Goal We want to know SIP Architecture SIP Messages Syntax Basic Call Example Session Description Protocol (SDP) SIP Extensions Interworking with PSTN

Size: px
Start display at page:

Download "Goal We want to know SIP Architecture SIP Messages Syntax Basic Call Example Session Description Protocol (SDP) SIP Extensions Interworking with PSTN"

Transcription

1 Session Initiation Protocol (SIP) SIP, entity, interoperation

2 Goal We want to know SIP Architecture SIP Messages Syntax Basic Call Example Session Description Protocol (SDP) SIP Extensions Interworking with PSTN and H323 2 Question: 1 SIP message redundancy, response request header, We need get To: and From: once It is not necessary to send it many times Why? 2 If SIP agent finds the copied data is not consistent as the original one (ex: To, is it necessary to reply an error? 3 To: tag, From: tag, Call ID form a dialog ID Why not to use a unique value for dialog ID

3 SIP Architecture Introduction to SIP SIP Network Entities Simple Example

4 Introduction A powerful alternative to H323 More flexible, simpler Easier to implement Advanced features Better suited to the support of intelligent user devices A part of IETF multimedia data and control architecture SDP (Session Description Protocol), RTSP (Real-Time Streaming Protocol), SAP (Session Announcement Protocol) 4 SIP call setup, protocols, SDP (Session Description Protocol) session media codec RTSP (Real-Time Streaming Protocol) application-layer proposed standard, RFC 2205, multimedia streaming framework, TCP, UDP transport, RTP streaming data control signals SAP (Session Announcement Protocol) RFC 2974, multicast session directory announcement protocol multimedia conference, directory session setup (ex: pre-arranged conference) directory distributed, announcement,

5 The Popularity of SIP Originally Developed in the MMUSIC (Multiparty Multimedia Session Control) A separate SIP working group RFC 2543 The latest version: RFC 3261 SIP + MGCP/MEGACO The VoIP signaling in the future bake-off or SIPit (SIP Interoperability Tests) Various vendors come together and test their products against each other To ensure that they have implemented the specification correctly To ensure compatibility with other implementations 5 SIP IETF , Internet conferencing, telephony,,, Application protocol IETF (Internet Engineering Task Force) MMUSIC (Multiparty Multimedia Session Control) Working group SIP, SIP, SIP working group SIP 1999 RFC 2543 RFC 3261 (2002 May), proposed standard H323 SIP Text-based encoding HTTP request-response transcation model implement MGCP/MEGACO SIP, VoIP signaling protocol 3GPP SIP All IP Network, SIP SIPit (SIP Interoperability Tests) 7 bake-off ( ) Fig 5-1,, SIP SIPit-14 Feb 2004

6 SIP Basic (1/2) SIP is a peer-to-peer protocol End-devices initiate sessions SIP is an application layer signaling protocol Create, modify and terminate sessions Applications can be voice, video, gaming, instant messaging, presence, call control, etc SIP uses existing IETF protocols to provide: Message formatting (HTTP 11) Name resolution and mobility (DHCP and DNS) Media (RTP) Media negotiation (Session Description Protocol SDP) Application encoding (MIME) 6 : SIP service, SIP primitives ( ), service

7 SIP Basic (2/2) SIP is ASCII text-based Eases implementation and debugging Uses URI style addresses and syntax Flexible transport can use UDP, TCP, TLS, or SCTP Uses SDP for describing media sessions Audio, video, realtime text Simple extensible protocol Methods Define transaction Headers Describe transaction Body SDP and other MIME content 7

8 SIP Architecture A signaling protocol The setup, modification, and tear-down of multimedia sessions SIP + SDP Describe the session characteristics Separate signaling and (RTP) media streams SIP Signaling IP Network RTP Media Stream SIP User SIP User 8 SIP (signaling protocol) sessions SIP contents SDP session SDP codec SIP signaling media RTP signaling media H323 media signaling SIP user PC+ handset SIP phone

9 SIP Network Entities Client-Server Model Clients User agent clients (UAC) Application programs sending SIP requests Servers Responds to clients requests Four types of servers 9 SIP client-server, SIP client, server, client/server proxy : SIP (client) User Agent Client (UAC) SIP request SIP Client SIP Phone SIP Server Client request response Servers, Server agent server (UAS), UAC User Agent = UAC + UAS User agent client server

10 Types of Servers (1/3) Proxy servers Handle requests or forward requests to other servers Can be used for call forwarding, time-of-day routing, or follow-me services 1Request 2Request 4Response SIP Proxy 3Response 10 Server : Proxy server optional SIP component Proxy server web service proxy (routing) request response Proxy client server, Proxy server initiate SIP messages Proxy sever time-of-day routing, follow-me service Collins ( : ) 2 SIP devices ( ) SIP phone Collins Collins@workcom, workcom domain name SIP devices Collins@homenet Collins Caller ( Caller@workcom ) Collins Caller Invite proxy, proxy Collins, request Collins, response proxy caller Note: trunk proxy Proxy Caller ISP, ISP proxy

11 Types of Servers (2/3) Redirect servers Map the destination address to zero or more new addresses 1Request 2Moved temporarily Contact: 3ACK Redirect Server 4Request 5Response 11 Redirect server optional SIP component Redirect server, 1 redirect server 302 response UAC callee Caller Collins, Collins Caller redirect server, Collins Collins@workcom Redirect server, Collins SIP phone Collins@homenet, Caller Acknowledge Caller Invite request Collins, Collins response Note: redirect server call-forwarding, follow-me service Redirect server proxy redirect server request, UA trunk redirect server

12 Types of Servers (3/3) A user agent server (UAS) Accepts SIP requests and contacts the user The user responds an SIP response Usually, a SIP device = UAC+UAS A registrar Accepts SIP REGISTER requests Indicating that the user is at a particular address Personal mobility Typically combined with a proxy or redirect server 12 Server agent server (UAS), UAC request, UAC UAS UCS SIP Phone User agent, SIP peer-to-peer Registrar optional SIP component SIP,, Registrar Collins, PC registrar, SIP REGISTER request registrar user mobility Registrar request, UA registrar proxy, redirect server UAS UAC user agent proxy server

13 SIP Call Establishment It is simple, which contains a number of interim responses SIP device A SIP device B a b c d e INVITE Ringing OK ACK Conversation f g BYE OK 13 SIP INVITE, OK, ACK 3- way handshake Ringing response (provisional response) provisional response, caller B SIP device (INVITE), provisonal, INVITE, B 200 OK OK response (final response) A ACK request callee B final response caller Step e, ( A ), BYE B B, OK

14 Call Completion to Busy Subscriber Service SIP device A SIP device B a b c d e f g h INVITE Busy (Try at 4pm) ACK INVITE Ringing OK ACK Conversation i j BYE OK 14 SIP, Call Completion to Busy Subscriber Service A B Steps a,b,c: A B, device B Busy, A, 4pm Device A 4:00 pm A, B Steps d,e: Device A device B, Steps f, g: B, OK, Device A ACK Step h: Steps i, j :, ( A ), BYE B B, OK

15 SIP Advantages Attempt to keep the signaling as simple as possible Offer a great deal of flexibility Does not care what type of media is to be exchanged during a session or the type of transport to be used for the media Various pieces of information can be included within the messages Including non-standard information Enable the users to make intelligent decisions The control of the intelligent features is placed in the hands of the customer, not the network operator Eg, SUBJECT header 15, SIP,, :, SIP TCP, TLS, UDP transport layer, SIP application layer service, transport layer SIP optional,, ( ) SIP media format, media, SIP SIP INVITE SUBJECT Callee, SIP,,

16 Overview of SIP Messaging Syntax SIP Message Syntax SIP Request Messages Simple Example

17 SIP Messaging Syntax (1/2) Text-based Similar to HTTP (Hypertext Transfer Protocol) Disadvantage more bandwidth consumption SIP messages message = start-line *message-header CRLF [message-body] start-line = request-line status-line Request-line specifies the type of request Response line (status-line) indicates the success or failure of a given request 17 SIP message (text-based) HTTP binary-based SIP parsing 寛 SIP message start-line SIP Request SIP Response, SIP : request response start-line=request-line request startline=status-line response Ex: request-line = INVITE message header, header CRLF message-body * message-header [] message-body CRLF (carriage-return line-feed sequence)

18 SIP Messaging Syntax (2/2) Message headers Additional information of the request or response Eg, From: /To: headers for the originator and recipient Retry-after header Subject header Message body Describe the type of session The most common structure for the message body is SDP (Session Description Protocol) Could include an ISDN User Part message Examined only at the two ends 18 Message header request/response Ex: Retry-after header Subject Header entities lookup Message body session, media SIP, message body, SDP Ex: SDP G711 A-law Ex: SIP PSTN SS7, capability ISUP (ISDN User Part), SDP MIME content Ex: INVITE response HTML document, image message-body endpoints

19 SIP Requests Method SP Request-URI SP SIP-version CRLF Ex: INVITE SIP/20 Request-URI The address of the destination Methods RFC 2543: INVITE, ACK, OPTIONS, BYE, CANCLE, REGISTER RFC 3261: SUPPORT, RFC 2976: INFO, RFC 3262: PRACK, RFC 3265: SUSCRIBE & NOTIFY, RFC 3311: UPDATE, RFC 3428: MESSAGE, RFC 3515:REFER 19 Request SIP, Method( SP)Request- URI( SP)SIP-version( CRLF) Method sender session (ex: INVITE: ) Request-URI Request, SIP SIP-version 20 RFC methods: INVITE, ACK, OPTIONS, BYE, CANCLE, REGISTER, RFC 2976 INFO, RFC 3311 UPDATE, RFC 3315 REFER INFO, application-layer information UPDATE SDP session media REFER PRACK provisional acknowledgement, receiver provisional response, SUBSCRIBE/NOTIFY event (ex: presence, monitoring of calls), - MESSAGE page mode instant messaging service

20 SIP Methods (1/2) INVITE Initiate a session Information of the calling and called parties The type of media Similar to IAM (initial address message) of ISUP ACK Only when receiving the final response BYE Terminate a session Can be issued by either the calling or called party 20 INVITE session, session conference call INVITE SIP,, media ISUP IAM (Initial address message) ACK INVITE, response (ex: 200 OK, 1xx response) INVITE, (altering), caller altering,, ACK, INVITE, (busy), caller ACK method ACK BYE session,, BYE

21 SIP Methods (2/2) OPTIONS Query a server as to its capabilities CANCEL A particular type of media Terminate a pending request Eg, an INVITE did not receive a final response REGISTER Log in and register the address with a SIP server all SIP servers multicast address ( ) Can register with multiple servers Can have several registrations with one server 21 OPTIONS ( ) called party capabilities, media type (ex: response method, content types, extensions, codec) CANCEL session, INVITE, response, caller parallel search ( ) final response, caller CANCEL REGISTER user-agent client SIP server, (registrar) address User-agent local SIP server, multicast address SIP severs One number service SIP server

22 One number Service User at Address 2 User at Address 1 Registrar/Proxy Caller Register (address 1) Register (address 2) OK OK OK INVITE INVITE CANCEL OK (for CANCEL) ACK Conversation INVITE Trying OK (for INVITE) ACK 22 One number service follow me service message flow (Address1/address2) proxy forking proxy INVITE, 200 OK, proxy CANCEL sip:collins@workcom address, Collins, workcom domain name, registrar, collins, Question: Collins,, Collins ( or ) cancel

23 SIP Responses SIP-Version SP Status-Code SP Reason- Phrase CRLF Request: INVITE SIP/20 Response: SIP/ ok Status-Code A three-digit number Reason-Phrase A textual description of the outcome Could be presented to the user 23 Response SIP, SIP-version( )Status- Code( )Reason-Phrase( CRLF) Status Code response (Ex: INVITE sip:yoyo@s1yycom SIP/20),, (ex: 200: ), sender Reason Phrase status code (ex: OK), SIP SIP-version 20

24 Status Code Provisional response 1XX Informational (ex: 181 Ringing) Final response 2XX Success (ex: 200 OK) 3XX Redirection (ex: 302 Moved temporarily) 4XX Client Error (ex: 401 Unauthorized) 5XX Server Error (ex: 505 SIP version not supported) 6XX Global Failure (ex: 604 Does not exist anywhere) All responses, except for 1XX, are considered final and Should be ACKed 24 Status code 6, : 1XX (Provisional information),, request, Ex: 181 Ringing 2XX (Success) request,, SIP 200 OK Ex: INVITE, 200 OK REFER method, 202 accepted 3XX (Redirection) request agent Ex: 302, sender response address 4XX (Client Error): request syntax, request server Ex: 401 Unauthorized sender, 5XX (Server Error): request, server Ex: 505 SIP version not supported SIP 6XX (Global Failure): request, server Ex: 604 Does not exist anywhere 2XX - 6XX, response sender, 1XX response, ACK

25 SIP Addressing SIP URIs (Uniform Resource Identifier) Also called as URLs (Uniform Resource Locators) Two types of SIP URIs: Address of Record (AOR) (identifies a user) sip:collins@workcom Contact (identifies a device and is usually a Fully Qualified Domain Name, FQDN) sip:line2@ or sip:collins@station1workcom Other example: sip: @telcomnet sip: @telcomnet;user=phone sips:bob@biloxicom 25 Uniform Resource Indicators (URIs) Uniform Resource Locators (URLs) URI SIP, SIP (host) (user), URI user@host address, address mailto:collins@homenet, SIP sip:collins@homenet (ie, ),, SIP URIs : Address of Record (AOR) Ex: sip:collins@workcom, workcom domain name, DNS domain Contact Fully Qualified Domain Name (FQDN) Ex: sip:collins@station1workcom station1 : PSTN,, SIP address, sip: @telcomnet, gateway telcomnet SIP URI,, sip: @telcomnet;user=phone, user=phone user= PSTN, user name URI : sip:alice@examplecom SIP URI,, RFC 2543 sips:bob@biloxicom is a Secure SIP URI SIP URI, RFC 3261, security, TLS (transport layer security) over TCP Registrar, Proxy, Redirect TLS Note: hop-by-hop security, IPSec Tel:54065;phone-context=dialplanbiloxicomtel SIP URI, telephone numbers Tel: ;phone-context=e164arpa e164 ENUM

26 Message Headers Provide further information about the message Ex: Subject: vacation Ex: Content-Type:application/sdp Table 5-2, Table 5-3 Four main categories General, Request, Response, and Entity headers 26 start-line, SIP message headers, header (CRLF) Q931 information element message header Ex: INVITE Subject vacation, Content-Type message body SDP, : message header: general, request, response, entity header Table 5-2 request header, ie, request header Table 5-3 response header

27 General Headers Used in both requests and responses To, From, CSeq, Call-ID, and Via are mandatory for all SIP messages Basic information To: header in a REGISTER indicates the addressof-record of the user Ex: To: Collins@workcom To: header in an INVITE indicates the called party Ex: To: Boss<sip:Manager@workcom> Ex: To: Boss<sip:Manager@station2workcom> From: header indicates the originator Ex: From: Daniel<sip:Collins@workcom>;tag= (general header) request/response, To, From, CSeq, Call-ID, and Via SIP mandatory Max-Forwards SIP request mandatory To (callee URI) From (Caller URI) Call-ID ( session ) Contact ( SIP URI) Ex: REGISTER To:header Registrar user (address of record) Ex: INVITE To:header Ex: SIP From:header

28 To: Header The To header field first and foremost specifies The desired "logical" recipient of the request The address-of-record of the user or resource that is the target of this request The original recipient may or may not be the UAS processing the request, due to call forwarding or other proxy operations Request-URI identifies the UAS that is to process the request 28 To: header (From: ) (1) request logical & original, (2) request address-of-record resource Request URI request UA To: header request call forwarding, proxy Ex: To: Boss<sip:Manager@workcom> Boss addressof-record URI, proxy Manager@station2workcom request UAS, To: header URI, request ( software, ) SIP, UAS To: URI, request UAS 403 (Forbidden) request

29 Request-URI Request-URI identifies the UAS that is to process the request The initial Request-URI of the message SHOULD be set to the same value of the URI in the To field One notable exception is the REGISTER A UA uses the REGISTER method to bind its address-of-record to a specific contact address 29 To: header Request-URI : Request-URI request UA Request-URI SIP URI SIPS URI a general URI (RFC 2396) "tel" URI (RFC 2806) request UAS Request-URI, UAS 416 (Unsupported URI Scheme) request Request-URI request UAS, proxy 404 (Not Found) request UA REGISTER address-of-record contact (bind) UA SIP Request-URI (SHOULD) To: header URI (Request-URI ) REGISTER, Request-URI registrar, To: user address of record To: From: caller callee, specification proxy,

30 Contact: Header Provides a URI for use in future communication regarding a particular session Ex1: In a SIP INVITE, the Contact header might be different from the From header An third-party administrator initiates a multiparty session Ex 2: Used in response, it is useful for directing further requests directly to the called user Ex 3: It is used to indicate a more appropriate address if an INVITE issued to a given URI failed to reach the user 30 Contact INVITE transaction Contact header, : INVITE Contact: header, From: header, From: Address of record, ; session, session, Contact SIP URI multiparty session,, conference call request, proxy,, response request, proxy, response Contact: header,, request ( ACK) callee Contact: header INVITE INVITE URI ( ), receiver 302 moved temporarily Contact:, SIP URI Contact From

31 Request / Response Headers Request Headers Apply only to SIP requests Addition information about the request or the client Ex: Subject: vacation Ex: Priority: (emergency, urgent, normal, or nonurgent) Response Headers Further information about the response that cannot be included in the status line Ex: Unsupported Ex: Retry-After 31 Request Header header SIP request, Subject: header session Priority: header request session emergency, urgent, normal, non-urgent Response Header header SIP response, status code, Unsupported: header server Retry-After: header,

32 Entity Headers Indicate the type and format of information included in the message body Content-Length: the length of the message body Content-Type: media type of the message body Ex: Content-Type:application/sdp Content-Encoding: for message compression Content Disposition: how a message part should be interpreted session, icon, alert, render 32 Entity Header header SIP message body, Context-Length: header message body ( byte) Context-Type: header message body, SDP Context-Encoding: header message body Context-Disposition: header message body, session, message body session, session icon, message body sender, render, message body sender alert, message body ring tone ( audio clip ),

33 Examples Registration Invitation Termination of a Call

34 Registration Registrar a b REGISTER sip:registrarworkcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: sip:collins@workcom; tag = To: sip:collins@workcom Call-ID: @station1workcom CSeq: 1 REGISTER Contact: sip:collins@station1workcom Expires: 7200 Content-Length: 0 SIP/ OK Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 From: sip:collins@workcom; tag = To: sip:collins@workcom Call-ID: @station1workcom CSeq: 1 REGISTER Contact: sip:collins@station1workcom Expires: 3600 Content-Length: 0 34 Registration server, Daniel Collins log in station1workcom, Collins Registrar Request-URI, proxy, Request-URI callee To: header, Registration registrar address of record INVITE, To: header caller callee proxy To: header REGISTER header: Via: header request, Via : UDP SIP UDP TCP, SCTP, TLS Via response,, port number proxy, response via, originator Via branch parameter, proxy From: header ( manager, ) From tag parameter, sender, sender ID To: header Registrar, Collins (Address of record) Note: request To: tag, dialog, response To: receiver tag, receiver ID Dialog two user agents peer-to-peer dialog Call-ID sender, SIP (ex: @station1workcom), user, Registrar, Call-ID, local-id@host random number, URI CSeq (Command Sequence) transaction ( ) order ( ) 32-bit unsigned transaction request method Transaction Request 1xx response, dialog, transaction request / final response CSeq transaction (for new request) CSeq 1 request/response ACK Cancel, request CSeq ACK/Cancel transaction CSeq 31 bits of 32-bits clock, overflow (warp around) Contact Call-ID, Contact, Expires 32-bit unsigned 7200 ( sec) Collins 2 hours Registrar (3600 sec), 136 request Expire, Registrar status code 423 Interval too brief, client registration interval Content-Length payload SIP message SDP content 0 Collins,, Collins (, record)

35 Invitation A two-party call Subject: optional Content-Type: application/sdp Transaction: Command Sequence A dialog ID To identify a peer-to-peer relationship between two user agents Tag in From Tag in To Call-ID Daniel<sip:Collins@workcom> a Boss<sip:Manager@station2workcom> INVITE sip:manager@station2workcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 Contact: sip:collins@station1workcom To: Boss<sip:Manager@station2workcom> Call-ID: @station1workcom CSeq: 1 INVITE Subject: Vacation Content-Length: xxx Content-Type: application/sdp Content-Disposition: session (message body) b SIP/ Ringing Via:SIP/20/UDP station1workcom;branch=z9hg4bk123 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@station2workcom>; tag=11222 Contact: sip:manager@station2workcom Call-ID: @station1workcom CSeq: 1 INVITE Content-Length: 0 c SIP/ OK Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@station2workcom>; tag=11222 Contact: sip:manager@station2workcom Call-ID: @station1workcom CSeq: 1 INVITE Subject: Vacation Content-Length: xxx Content-Type: application/sdp Content-Disposition: session (message body) d ACK sip:manager@station2workcom SIP/20 Via:SIP/20/UDP station1workcom;branch= z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@station2workcom>; tag=11222 Call-ID: @station1workcom CSeq: 1 ACK Content-Length: 0 Conversation Collins ( Daniel) two-party, Manager (Boss) LAN INVITE sip:manager@station2workcom SIP/20, proxy, INVITE station2workcom, To: header URI caller callee Max-Forwards: 70 ( ) 70 proxy proxy 1 From: header URI, display name, Daniel, Boss, URI Subject: Contact: Daniel Collins@stations1workcom Context-Type: message body SDP Context-Disposition message body session Context-length message body message body caller media SIP/ Ringing, response request, Content-length=0 message body, Context-type: header To: header callee tag ( address tag), From tag, To tag, Call-ID dialog ID, peer-to-peer dialog ( ) From, To tag, dialog Note: session, 180 ring dialog dialog early 200 OK, dialog confirmed Boss, Invite, SIP/ OK response request, message body called media INVITE transaction ( ) ACK, response CSeq: header 1 ACK, request

36 Termination of a Call Daniel<sip:Collins@workcom> Boss<sip:Manager@station2workcom> a b BYE sip:manager@workcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@station2workcom>; tag=11222 Call-ID: @station1workcom CSeq: 2 BYE Content-Length: 0 SIP/ OK Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@station2workcom>; tag=11222 Call-ID: @station1workcom CSeq: 2 BYE Content-Length: 0 36 BYE request session media BYE header INVITE, CSeq BYE request 200 OK

37 Redirect and Proxy Servers Redirect Servers Proxy Servers proxy

38 Redirect Servers An alternative address 302 Moved temporarily Another INVITE Same Call-ID CSeq ++ a b c INVITE sip:manager@workcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 Contact: sip:collins@station1workcom To: Boss<sip:Manager@workcom> Call-ID: @station1workcom CSeq: 1 INVITE Subject: Vacation Content-Length: xxx Content-Type: application/sdp Content-Disposition: session (message body) SIP/ Moved Temporarily Via:SIP/20/UDP station1workcom;branch=z9hg4bk123 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@workcom>; tag=11222 Call-ID: @station1workcom CSeq: 1 INVITE Contact: sip:manager@pc1homenet ACK sip:manager@workcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 To: Boss<sip:Manager@workcom> Call-ID: @station1workcom CSeq: 1 ACK Redirect Server Boss<sip:Manager@pc1homenet> d INVITE sip:manager@pc1homenet SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk124 Max-Forwards: 70 From: Daniel<sip:Collins@workcom>; tag=44551 Contact: sip:collins@station1workcom To: Boss<sip:Manager@workcom> Call-ID: @station1workcom CSeq: 2 INVITE Subject: Vacation Content-Length: xxx Content-Type: application/sdp Content-Disposition: session (message body) Redirect server, 1 UAC callee redirect server 302 response UAC callee redirect server URI, 4xx, 5xx, 6xx Error redirect server CANCEL, 200 OK Daniel two-party, Boss Boss, Manager@pc1homenet, Daniel INVITE redirect server INVITE sip:manager@workcom SIP/20 Fig 5-9 INVITE, Request-URI To: header Boss, Address of record redirect server 302 response, Contact: header UAC callee Step c Daniel ACK, transaction Step c Daniel INVITE manager@pc1homenet, CSeq 1, Call-ID ( )

39 Proxy Servers Sits between a user-agent client and the farend user-agent server Numerous proxies can reside in a chain between the caller and callee The proxy may change the Request-URI caller p1 p2 Via: header INVITE The path taken by a request Loop detected, 482 (status code) For a response ACK The 1 st Via: header, Checked, Removed Branch: used to distinguish between multiple responses to the same request/ to detect loop 482 p3 p4 39 Proxy server web service proxy request response, caller callee, caller proxy, callee proxy proxy callee, Request-URI, ( proxy), INVITE callee caller callee path machines Via ( ) Via transport protocol Via loop request, proxy via, a loop 482 loop detected, proxy 2 loop, via 482 caller ACK (by SIP-URI), proxy state Callee Response, Via, proxy, Via Branch

40 Forking Proxy Forking Proxy: Issue a single request to multiple destinations A user is registered at several locations fork requests Branch: used to distinguish between multiple responses to the same request Ex: on Via: header ;branch=z9hg4bk123 In order to handle such forking, a proxy must be stateful 40 RFC 2543, SIP request forking proxy multicast ( branch, fork request) response, branch branch optional, transaction branch forking proxy fork request proxy forking proxy, stateful, response branched request, branch number (ex: step c z9hg4bk123 step d z9hg4bk456), RFC 3261, branch ID transaction ID, loop branch z9hg4bk, magic cookie, branch RFC 3261 ( z9hg4bk RFC 2543) client, transaction, branch 2xx response ACK, CANCEL, original request branch ( CSeq )

41 Proxy State Transaction stateless Proxy server forwards all methods and responses without interaction Transaction stateful Maintains state for the transaction until the final response is received Transaction Control Block (TCB) 41 Proxy : stateless stateful stateless proxy,, loop, stateful proxy,, incoming request, outgoing request proxy loop Proxy server method, Transaction Control Block (TCB), transaction, final response stateful proxy server, CANCEL method acknowledgement (ex: 100 Trying, INVITE, callee, proxy fork INVITE response,, proxy CANCEL transaction)

42 Record-Route: and Route: Record-Route: Use Contact: the messages may not pass through the same proxy A stateful proxy might require that it remains in the signaling path Insert its address into the Record-Route: header The response includes the Record-Route: header The information contained in the Record-Route: header is used in the subsequent requests related to the same call The Route: header = the Record-Route: header in reverse order 42 stateful proxy, signaling path, request via, ( ) response originator, Contact: header,,, proxy (stateful) proxy,, Record-Route: header Proxy Record-Route:, Record-Route: headers Record-Route: (steps d, e) Response, originator requests Originator Record-Route: list of proxy request (step f) Route: header Route: list proxy ( Request URI) proxy, Route: list, list, Request-URI loose routing (lr) Record-routing: lr loose routing proxy message, Request-URI (RFC 2543) SIP record-route strict routing Route:, Record proxy (ie, proxy ) Request-URI proxy SIP Request-URI

43 Strict Routing and Loose Routing INVITE: U1->P1->P2->P3->P4->U2 BYE: U2->P4->P3->P2->P1->U1 43 U1 INVITE U2, P3 strict router, proxy loose routing U2 BYE U1, P3, Request-URI P3 URI, U1 URI Route

44 Through a Proxy (1/2) Boss<sip:Manager@pc1homenet> sip:serverworkcom Daniel<sip:Collins@station1workcom> a b c d e INVITE sip:collins@workcom SIP/20 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Max-Forwards: 70 From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE SIP/ Trying Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE SIP/ OK INVITE sip:collins@station1workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bkxyz1 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Max-Forwards: 69 Record-route: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1workcom> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE SIP/ OK Via: SIP/20/UDP serverworkcom; branch=z9hg4bkxyz1 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Record-route: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 INVITE Contact: sip:collins@station1workcom 44 Daniel Boss Boss Daniel Proxy INVITE, proxy registrar, Daniel, Request-URI, INVITE Step b, INVITE Collins@station1worcom, Max-Forward:, proxy Via ( proxy/client Via ) proxy registrar, proxy URI location function, proxy INVITE URI, Daniel proxy, path proxy Via request, proxy via, a loop 482 loop detected, proxy via, request,, proxy Step c: proxy 100 Trying response, Step d: Daniel 200 OK message, path via proxy response, via via, via next hop, next hop, Record-route proxy state Note: Subject: message-body

45 Through a Proxy (2/2) Boss<sip:Manager@pc1homenet> sip:serverworkcom Daniel<sip:Collins@station1workcom> e f g SIP/ OK Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Record-route: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 INVITE Contact: sip:collins@station1workcom ACK sip:collins@station1workcom SIP/20 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7891 Max-Forwards: 70 Route: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 ACK ACK sip:collins@station1workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bkxyz2 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7891 Max-Forwards: 69 From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 ACK 45

46 Multiple Locations (1/2) sip:serverworkcom pc1 pc2 a b c d INVITE sip:collins@workcom SIP/20 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 Max-Forwards: 70 From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE SIP/ Trying Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE INVITE sip:collins@pc1workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bk123 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 Max-Forwards: 69 Record-coute: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1workcom> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE INVITE sip:collins@pc2workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bk456 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 Max-Forwards: 69 Record-coute: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1workcom> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 INVITE 46, Boss Daniel Daniel pc1, pc2 server proxy INVITE, step c, d pc1, pc2 branch number (ex: step c z9hg4bk123 step d z9hg4bk456),

47 Multiple Locations (2/2) sip:serverworkcom pc1 pc2 e f g SIP/ OK Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 Record-coute: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 INVITE Contact: sip:collins@pc2workcom SIP/ OK Via: SIP/20/UDP serverworkcom; branch=z9hg4bk456 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk789 Record-coute: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 To: Daniel<sip:Collins@workcom>; tag=xyz45 Call-ID: @pc1homenet CSeq: 1 INVITE Contact: sip:collins@pc2workcom CANCEL sip:collins@pc1workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bk456 Max-Forwards: 69 Record-coute: <sip:serverworkcom;lr> From: Boss<sip:Manager@homenet>; tag=ab12 Contact: Boss<sip:manager@pc1workcom> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 CANCEL 47 Response pc2, proxy Boss pc1, proxy CANCEL pc1 Note: CANCEL hop by hop, proxy, Via: originator pc1 487 request cancelled proxy Note: Subject:

48 Session Description Protocol (SDP) Introduction to SIP SIP Network Entities Simple Example

49 The Session Description Protocol The Most Common Message Body Be session information describing the media to be exchanged between the parties SDP, RFC 2327 (initial publication) SDP simply provides a format for describing session information to potential session participants RFC 3264 (An Offer/Answer Model with SDP) SIP uses SDP in an answer/offer mode An agreement between the two parties as to the types of media they are willing to share 49 VoIP SIP message-body SDP SDP session, RFC 2327 SDP session, (ex: SIP) Note: SIP SDP RFC 3264, An Offer/Answer Model with SDP, SIP SDP SDP answer/offer codec SDP codec codec media, offer answer

50 The Structure of SDP Text-based Protocol The Structure of SDP Session Level Information Name of the session Originator of the session Time that the session is to be active Media Level Information Media type Port number Transport protocol Media format Session Description Session Level Information Protocol Version Originator and Session ID Session Name Session Time Media Description 1 Media Name and Transport Connection Information Media Description 2 Media Name and Transport Connection Information 50 SDP, ISO character set SDP (session name) ASCII, SDP,, v version offer/answer model SDP, session RFC 2327 SDP multiple session description SDP (Session description) session level information media level information Session level information session, protocol version, session (originator), session ID, session name, session (session time) media-level information session 0 media stream, session stream media description media description media name, media type, media format, transport protocol, port number field offer media description, modified offer media stream media type audio, video port number port transport protocol RTP/AVP AVP: audio/video profile media format G711, G726 RTP payload type

51 SDP Syntax A number of lines of text In each line field=value Ex: v=0 field=<value of subfield1> <value of subfield2> <value of subfield3> Ex: m=audio RTP/AVP 0 field is exactly one character (case-significant) Session-level fields Begin with version description field (v=) Media-level fields Begin with media description field (m=) 51 SDP (description field) field=value field, value endpoint,, field ; ; value (subfield), space m media v version Ex: m=audio RTP/AVP 0 media type, port number, protocol, media format field, subfield, value subfield Subfield Session-level information, v=, session-level fields ; media-level information media-level information media streams media description m=, session-level fields

52 Mandatory Fields (1/3) v, o, s, t, m are mandatory fields v=(protocol version) (ex: v=0 ) s=(session name) (ex: s= ) A text string for multicast conference t=(time of the session) (ex: t=0 0 ) The start time and stop time for pre-arranged multicast conference 52 v, o, s, t, m session-level information fields: v protocol s session,, multicast conference SIP,, session name space (=0x20), s= dash s=- t pre-arranged multicast conference, session SIP, SIP session, time, time t=0 0

53 Mandatory Fields (2/3) o=(session origin or creator) Ex: o=collins IN IP4 s1yycom Username (ex: collins): the originator s login id or - Session ID (ex: ) Make use of NTP timestamp as a unique ID Version (ex: 001) Network type (ex: IN) IN refers to Internet Address type (ex: IP4) IP4, IP6 address (ex: s1yycom) A fully-qualified domain name or the IP address 53 o session, 6 subfields Username, login ID, login, - Session ID session,, SDP NTP (Network Time Protocol) timestamp unique ID Version session, (ex: media type) session, sender, Session ID subfields Network type IN Internet Address type, IP4 IPv4 addressing, IP6 IPv6 addressing Address media network address, s1yycom )

54 Mandatory Fields (3/3) m=(media) Ex: m=audio RTP/AVP Media type (ex: audio) Audio, video, application, data, control The transport port (ex: 45678) The transport protocol (ex: RTP/AVP) The media format, an RTP payload format (ex: ) List the various types of media format that can be supported 54 m (media) media-level information fields: m media, media type, transport port, transport protocol, media format Media type audio ( ), video, application, data, control Transport port media stream port port connection VoIP UDP RTP, port Transport protocol media RTP/AVP RTP Media format media format, transport protocol RTP, media format RTP payload type G728=15, GSM=3, G711/u-law=0

55 Optional Fields (1/4) Some optional fields can be applied at both session and media levels The value applied at the media level overrides that at the session level for that media instance c=(connection data) (ex: c=in IP4 s1yycom) The network and address at which media data will be received Network type (ex: IN) Address type (ex: IP4) Connection address (ex: s1yycom) At session or media level 55 Note: session-level media-level information fields, media stream, media description media stream session-level information optional fields: c connection, media Network type IN Internet Address type (ex: IPv4 ) Connection address ( media network address, s1yycom IP address, full qualified domain name, c session-level media-level information

56 Optional Fields (2/4) a=(attributes) (ex: a=sendonly) Describe additional attributes Property attribute Ex: a=sendonly / a=recvonly Value attribute Used in a shared whiteboard session Ex: a=orient:portrait / a=orient:landscape rtpmap provides additional information for dynamic payload type Ex: m=video RTP/AVP 98 a=rtpmap:98 L16/16000/2 Dynamic RTP payload type=98 16-bit linear encoded stereo (2 channels) audio sampled at 16kHz 56 a session-level media-level (ex: send only) SDP attributes, session-level medialevel information Attributes : 1 property attribute: Ex: a=sendonly send only SDP sender media stream, media stream RTP, sender RTP, RTCP Ex: a=reconly receive only 2 value attribute: Ex: whiteboard session, attribute portrait ( ) landscape ( ) media stream dynamic RTP payload type,, rtpmap : a=rtpmap:<payload type> <encoding name>/<clock rate> [/<encoding parameters>] encodling name Ex: m=video RTP/AVP 98 a=rtpmap:98 L16/16000/2 dynamic RTP/AVP payload type=98, 16-bit linear encoded stereo (2 channels) audio sampled at 16kHz

57 Optional Fields (2/4) i=(session information) A text description At both session and media levels It would be somewhat superfluous, since SIP already supports the Subject header u=(uri of description) Where further session information can be obtained Only at session level e=( address) Who is responsible for the session Only at the session level 57 optional fields: i session, topic( ), session information session-level media-level information SIP, SIP Subject header, information u URI, Web site, session pre-arranged conference SIP, session-level, session, URI e session address session-level, ,

58 Optional Fields (3/4) p=(phone number) Only at the session level b=(bandwidth information) In kilobits per second At session or media level r=(repeat times) For regularly scheduled session a session is to be repeated How often and how many times 58 optional fields: p session session-level,, b session, kilobits b session-level (for conference) media-level (for media stream) regularly scheduled session, r session SIP, r

59 Optional Fields (4/4) z=(timezone adjustments) For regularly scheduled session Standard time and daylight savings time k=(encryption key) An encryption key or a mechanism to obtain it for the purposes of encrypting and decrypting the media At session or media level 59 optional fields: regularly scheduled session, z, (daylight savings time), z SIP, z k media stream k session-level media-level information

60 Ordering of Fields Session Level Protocol version (v) Origin (o) Session name (s) Session information (i) URI (u) address (e) Phone number (p) Connection info (c) Bandwidth info (b) Time description (t) Repeat info (r) Time zone adjustments (z) Encryption key (k) Attributes (a) Media level Media description (m) Media info (i) Connection info (c) Optional if specified at the session level Bandwidth info (b) Encryption key (k) Attributes (a) 60

61 Usage of SDP with SIP Simple Example Negotiation of Media SIP

62 Usage of SDP with SIP SIP and SDP make a wonderful partnership for the transmission of session information SIP provides the messaging mechanism for the establishment of multimedia sessions SDP provides a structured language for describing the sessions The entity headers identifies the message body Ex: Content-Type:application/sdp 62 SIP multimedia session SDP session capabilities Question: SIP SDP? Answer: Entity header SIP message body, Context-Length, Context-Type, Context-Encoding, Context-Disposition SIP SDP

63 Offer/Answer Model Offer a selection of media formats Answer which the receiver is willing to accept Supported media type: returned with a transport port Unsupported media type: also be returned with a port number of zero Sender (1) Offer (2) Answer Receiver 63 SDP offer/answer Sender offer, media format Receiver sender, (accept), (reject) format answer sender SIP offer/answer: offer in INVITE, answer in 2XX ( ) offer in 2XX, answer in ACK INVITE offer

64 SDP Inclusion in SIP Messages (1/2) a INVITE sip:manager@station2workcom SIP/20 From: Daniel<sip:Collins@station1workcom>; tag = abcd1234 To: Boss<sip:Manager@station2workcom> CSeq: 1 INVITE Content-Length: 213 Content-Type: application/sdp Content-Disposition: session b v=0 o=collins IN IP4 station1workcom s= c=in IP4 station1workcom t=0 0 m=audio 4444 RTP/AVP 2 a=rtpmap 2 G726-32/8000 m=audio 4666 RTP/AVP 4 a=rtpmap 4 G723/8000 m=audio 4888 RTP/AVP 15 a=rtpmap 15 G728/8000 SIP/ OK 64, Collins G726, G7232, G728 Boss G728 INVITE message body, media format media format Media information: m=audio (media type) 4444 (transport port number) RTP/AVP ( RTP) 2 ( RTP payload type=2) Attribute media type : a=rtpmap: 2 ( RTP payload type=2) G726-32/8000 (media name, bit rate) Note: Collins media type, port number, 4444 port G726 media stream, 4666 port G723 media stream, Collins media stream Note: Via: headers, 180 Ring

65 SDP Inclusion in SIP Messages (2/2) port=4888 b c d SIP/ OK From: Daniel<sip:Collins@station1workcom>; tag = abcd1234 To: Boss<sip:Manager@station2workcom>; tag = xyz789 CSeq: 1 INVITE Content-Length: 163 Content-Type: application/sdp Content-Disposition: session v=0 o=collins IN IP4 station2workcom s= c=in IP4 station2workcom t=0 0 m=audio 0 RTP/AVP 2 m=audio 0 RTP/AVP 4 m=audio 6666 RTP/AVP 15 a=rtpmap 15 G728/8000 ACK sip:manager@station2workcom SIP/20 From: Daniel<sip:Collins@station1workcom>; tag = abcd1234 To: Boss<sip:Manager@station2workcom>; tag = xyz789 CSeq: 1 ACK Content-Length: 0 Conversation port= Step b: 200 OK message body INVITE message body G726, G7231 media type, port number 0 reject attribute G728 media type, 6666 Boss port number, G728 media stream attribute Step c: ACK, SDP, content-length=0 Step d: RTP G728,

66 Alternative Ways Offer m=audio 4444 RTP/AVP a=rtpmap 2 G726-32/8000 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000 Answer m=audio 6666 RTP/AVP 15 a=rtpmap 15 G728/ Collins media type,, port number, 4444 port media type, m field : m=audio 4444 RTP/AVP attributes media type Boss G728,

67 Negotiation of Media (1/3) Re-INVITE is issued when the server replies with more than one codec With the same dialog identifier (To and From tag), Call-ID and Request-URI Session version in o field is increased by 1 A mismatch 488 (Not acceptable here) or 606 (Not acceptable) A Warning header with warning code 304 (media type not available) 305 (incompatible media format) 67 media type, sender media type, INVITE, INVITE ( messages) INVITE dialog (in confirmed state) dialog identifier, Call-ID Request-URI Dialog identifier = From tag + To tag + Call ID offer media types receiver, receiver response: 488 (Not acceptable here) 606 (Not acceptable) response Warning: header, 3 warning code Warning code=304 media type not available session media types ( audio/video/app) Warning code =305 incompatible media format session media format ( G711 codec), caller INVITE

68 Negotiation of Media (2/3) a INVITE SIP/20 CSeq: 1 INVITE Content-Length: 183 Content-Type: application/sdp Content-Disposition: session Boss<sip:Manager@station2workcom> b v=0 o=collins IN IP4 station1workcom s= c=in IP4 station1workcom t=0 0 m=audio 4444 RTP/AVP a=rtpmap 2 G726-32/8000 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000 a=inactive SIP/ OK CSeq: 1 INVITE Content-Length: 157 Content-Type: application/sdp Content-Disposition: session v=0 o=collins IN IP4 station2workcom s= c=in IP4 station2workcom t=0 0 m=audio 6666 RTP/AVP 4 15 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/8000 a=inactive 68, Collins G726, G7232, G728, Boss G723 G728 Step a: Collins offer, G726, G7232, G728, media stream, port=4444 Step b: Boss answer G726, G728, port=6666

69 Negotiation of Media (3/3) c d ACK sip:manager@station2workcom SIP/20 From: Daniel<sip:Collins@station1workcom>; tag = abcd1234 To: Boss<sip:Manager@station2workcom>; tag = xyz789 CSeq: 1 ACK Content-Length: 0 INVITE sip:manager@station2workcom SIP/20 CSeq: 2 INVITE Content-Length: 126 Content-Type: application/sdp Content-Disposition: session v=0 o=collins IN IP4 station1workcom s= c=in IP4 station1workcom t=0 0 m=audio 4444 RTP/AVP 15 a=rtpmap 15 G728/ Step c: Collins ACK response 200 OK ACK message body, ACK media type Step d: Collins media types G728, INVITE CSeq 1 o field session version 1, subfield ( sender, session number=123456), session

70 OPTIONS Method Determine the capabilities of a potential called party Accept Header Indicate the type of information that the sender hopes to receive Allow Header Indicate the SIP methods that it can handle Supported Header Indicate the SIP extensions that it can be supported 70 OPTIONS called party capabilities, media type, methods, SIP extension, encoding (ex: gzip), encoding language (ex: en), content-type (ex: application/sdp),

71 Usage of the OPTIONS Method a b OPTIONS sip:manager@station2workcom SIP/20 Via: SIP/20/UDP Station1workcom; branch=z9hg4bk From: Daniel<sip:Collins@workcom>; tag=lmnop123 To: Boss<sip:Manager@station2workcom> Call-ID: @station1workcom Contact: Daniel<sip:Collins@station1workcom> CSeq: 1 OPTIONS Accept: application/sdp Content-Length: 0 SIP/ OK Via: SIP/20/UDP Station1workcom; branch=z9hg4bk From: Daniel<sip:Collins@workcom>; tag=lmnop123 To: Boss<sip:Manager@station2workcom>; tag=xyz5678 Call-ID: @station1workcom CSeq: 1 OPTIONS Allow: INVITE, ACK, CANCEL, OPTIONS, BYE Supported: newfield Content-Length: 146 Content-Type: application/sdp v=0 o=manager IN IP4 station2workcom s= c=in IP4 station2workcom t=0 0 m=audio 0 RTP/AVP 4 15 a=rtpmap 4 G723/8000 a=rtpmap 15 G728/ Collins Boss media type OPTIONS Accept: header sender Boss SDP Boss capabilities OPTIONS Accept: header, application/sdp Boss 200 OK SDP Boss Allow: header Boss SIP methods, REGISTER, spec Supported: header newfile SIP extension extensions, Content-type: message body codec Response Accept:, Accept-Encoding:, Accept- Language:,

72 SIP Extensions and Enhancements SIP INFO Method SIP Event Notification SIP for Instant Messaging SIP REFER Method Reliability of Provisional Responses SIP UPDATE Method Integration of SIP Signaling and Resource Management

73 SIP Extensions and Enhancements RFC 2543, March 1999 SIP has attracted enormous interest Traditional telecommunications companies, cable TV providers and ISP A large number of extensions to SIP have been proposed SIP will be enhanced considerably before it becomes an Internet standard RFC Session Progress Supported header SIP RFC 2543,, Cable TV, ISP SIP, RFC 3261 proposed standard, extension, proposed standard IETF SIP working group

74 183 Session Progress It has been included within the RFC 3261 To open one-way audio path from called end to calling end From the called party to calling party Enable in-band call progress information to be transmitted Tones or announcements Interworking with SS7 network ACM (Address Complete Message) Ring back tone in 183 Session Progress Session Progress response code RFC Session Progress response code callee caller, caller in-band call Tones announcement SS7 caller callee IAM ( ), callee ACM message ( ring-back tone ) caller, SIP ACM message, 183 SS7

75 The Supported Header The Require Header (client server) A client indicates that a server must support certain extension with Require header 420 bad extension with Unsupported header The Supported header Way 1: Options (client server) Response with Supported (server client) Way 2: Request with Supported (client server) 421 extension required with Require (server client) 75 Supported header RFC 3261 RFC 2543 Require header client, servers ( proxy) extensions, Require: head server RFC 3261 Supported header field server client extension client server extension request Required Require option tags list option tag extension, RFC (but ) server 420 Bad Extension, Unsupported header Supported header : client server extension, OPTIONS request server Sever Supported header, extensions client extensions request Supported header field sever client request, server extension Supported header, 421 extension required, Require header client extension Supported, extensions

76 SIP INFO Method Specified in RFC 2976 For transferring information during an ongoing session Application-layer information could be transferred in the middle of a call A powerful, flexible tool to support new services The transfer of DTMF digits The transfer of account balance information Pre-paid service The transfer of mid-call signaling information generated in another network and passed to the IP network via a gateway 76 SIP INFO method RFC 2976 The Session Initiation Protocol (SIP) INFO Method session ( ), application-layer INFO,, message body, INFO Dual-Tone Multi-frequency (DTMF) digits

77 SIP Event Notification RFC 3265 has addressed the issue of event notification SUBSCRIBE and NOTIFY Event header Subscriber a SUBSCRIBE b c 200 OK NOTIFY Notifier Current state information d e 200 OK NOTIFY Updated state information f 200 OK 77 SIP Event method RFC 3265 Session Initiation Protocol (SIP)- Specific Event Notification RFC 3265 general ( ), event (ex: instant message, presence, monitoring of calls), - Ex 1: Instant Messaging buddy list, SUBSCRIBER Instant Messaging server Event: header buddy Server NOTIFY Ex 2: ( ), SUBSCRIBER server message body, Event: header server message body Server authentication, 200 OK server NOTIFY,, ( Ex1, buddy ), server NOTIFY, NOTIFY 200 OK SIP, Event Notification, Event: header, message body,

78 SIP for Instant Messaging (1/3) The IETF working group SIP for Instant Messaging and Presence Leveraging Extensions (SIMPLE) RFC 3428 Session Initiation Protocol (SIP) Extension for Instant Messaging A new SIP method MESSAGE This request carries the actual message in a message body A MESSAGE request does not establish a SIP dialog 78 IETF SIP for Instant Messaging and Presence Leveraging Extensions (SIMPLE) working group, instant messaging RFC 3428 Session Initiation Protocol (SIP) Extension for Instant Messaging Instant messaging real-time,,, session, message INVITE session SIP MESSAGE method BYE session MESSAGE, message body text/plain, message/cpim cpim common presence and instant message MESSAGE SIP dialog To: From: header tag

79 SIP for Instant Messaging (2/3) sip:serverworkcom a b c d MESSAGE sip:collins@workcom SIP/20 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Max-Forwards: 70 From: Boss<sip:Manager@homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 MESSAGE Content-Type: text/plain Content-Length: 19 Content-Disposition: render Hello How are you? SIP/ OK Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 From: Boss<sip:Manager@homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 MESSAGE Content-Length: 0 MESSAGE sip:collins@workcom SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bkxyz1 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 Max-Forwards: 69 From: Boss<sip:Manager@homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 MESSAGE Content-Type: text/plain Content-Length: 19 Content-Disposition: render Hello How are you? SIP/ OK Via: SIP/20/UDP serverworkcom; branch=z9hg4bkxyz1 Via: SIP/20/UDP pc1homenet; branch=z9hg4bk7890 From: Boss<sip:Manager@homenet> To: Daniel<sip:Collins@workcom> Call-ID: @pc1homenet CSeq: 1 MESSAGE Content-Length: 0 79 Boss proxy MESSAGE Daniel Daniel 200 OK

80 SIP for Instant Messaging (3/3) sip:serverworkcom e f MESSAGE sip:manager@homenet SIP/20 Via: SIP/20/UDP serverworkcom; branch=z9hg4bkabcd Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 69 From: Daniel<sip:Collins@workcom> To: Boss<sip:Manager@homenet> Call-ID: @station1workcom CSeq: 1101 MESSAGE Content-Type: text/plain Content-Length: 22 Content-Disposition: render MESSAGE sip:manager@homenet SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 Max-Forwards: 70 From: Daniel<sip:Collins@workcom> To: Boss<sip:Manager@homenet> Call-ID: @station1workcom CSeq: 1101 MESSAGE Content-Type: text/plain Content-Length: 22 Content-Disposition: render I m fine How are you? I m fine How are you? g h SIP/ OK Via: SIP/20/UDP serverworkcom; branch=z9hg4bkabcd Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 From: Daniel<sip:Collins@workcom> To: Boss<sip:Manager@homenet> Call-ID: @station1workcom CSeq: 1101 MESSAGE Content-Length: 0 SIP/ OK Via: SIP/20/UDP station1workcom; branch=z9hg4bk123 From: Daniel<sip:Collins@workcom> To: Boss<sip:Manager@homenet> Call-ID: @station1workcom CSeq: 1101 MESSAGE Content-Length: 0 80 Daniel instant message, MESSAGE proxy protocol, MESSAGE MESSAGE proxy MESSAGE, Contact: header why? dialog MESSAGE, Record-Route: Route: ( SIP dialog, ) MESSAGE SIP dialog Boss 200 OK

81 SIP REFER Method RFC 3515 The Session Initiation Protocol (SIP) Refer Method To enable the sender of the request to instruct the receiver to contact a third party With the contact details for the third party included within the REFER request For Call Transfer applications The Refer-to: and Refer-by: Headers The dialog between Mary and Joe remains established Joe could return to the dialog after consultation with Susan 81 RFC The Session Initiation Protocol (SIP) Refer Method REFER REFER sender, receiver Call Transfer ( ) REFER message-body Call Transfer Refer-by: header REFER, INVITE (optional), Joe Mary Susan, Susan 200 OK Mary Joe dialog, Susan, Mary Mary Joe dialog, BYE request,

82 Call Transfer (1/2) a b c REFER sip:joe@station2workcom SIP/20 Via: SIP/20/UDP station1workcom; branch=z9hg4bk789 Max-Forwards: 70 From: Mary<sip:Mary@workcom>; tag= To: Joe<sip:Joe@workcom>; tag=67890 Contact: Mary<Mary@station1workcom> Refer-To: Susan<sip:Susan@station3workcom> Call-ID: @station1workcom CSeq: 123 REFER Content-Length: 0 SIP/ Accepted Via: SIP/20/UDP station1workcom; branch=z9hg4bk789 From: Mary<sip:Mary@workcom>; tag= To: Joe<sip:Joe@workcom>; tag=67890 Contact: Joe<Joe@station2workcom> Call-ID: @station1workcom CSeq: 123 REFER Content-Length: 0 INVITE sip:susan@station3workcom SIP/20 Via: SIP/20/UDP station2workcom; branch=z9hg4bkxyz1 Max-Forwards: 70 From: Joe<sip:Joe@workcom>; tag=abcxyz To: Susan<sip:Susan@station3workcom> Contact: Joe<Joe@station2workcom> Call-ID: 67890@station2workcom CSeq: 567 INVITE Content-Type: application/sdp Content-Length: xx Content-Disposition: session 82 {message body} Mary Joe,, Joe Susan, Mary, Mary, Mary Call Transfer, Mary Mary Joe session Susan, Mary Susan Call Transfer Step a: Mary Susan, REFER Joe Refer- To: header Susan Step b: Joe 202 Accept Mary,, Jeo NOTIFY (Step f) Mary, Step c: Joe INVITE Susan

83 Call Transfer (2/2) e f g sip:mary@station1workcom NOTIFY sip:mary@station1workcom SIP/20 Via: SIP/20/UDP station2workcom; branch=z9hg4bk123 Max-Forwards: 70 To: Joe<sip:Joe@workcom>; tag=67890 From: Mary<sip:Mary@workcom>; tag= Contact: Joe<Joe@station2workcom> Call-ID: @station1workcom CSeq: 124 NOTIFY Content-Type: message/sipfrag;version=20 Content-Length: 15 SIP/ OK h SIP/ OK Via: SIP/20/UDP station2workcom; branch=z9hg4bk123 To: Joe<sip:Joe@workcom>; tag=67890 From: Mary<sip:Mary@workcom>; tag= Call-ID: @station1workcom CSeq: 124 NOTIFY Content-Length: 0 sip:joe@station2workcom SIP/ OK Via: SIP/20/UDP station2workcom; branch=z9hg4bkxyz1 From: Joe<sip:Joe@workcom>; tag=abcxyz To: Susan<sip:Susan@station3workcom>; tag=123xyz Call-ID: 67890@station2workcom CSeq: 567 INVITE Content-Type: application/sdp Content-Length: xx Content-Disposition: session {message body} ACK sip:susan@station3workcom SIP/20 Via: SIP/20/UDP station2workcom; branch=z9hg4bkxyz1 Max-Forwards: 70 From: Joe<sip:Joe@workcom>; tag=abcxyz To: Susan<sip:Susan@station3workcom>; tag=123xyz Call-ID: 67890@station2workcom CSeq: 567 ACK Content-Length: 0 83 Step e, f: Susan Joe INVITE, 200 OK Joe ACK Step g: Joe NOTIFY Mary, message body Susan 200 OK message body, Content-type: message/sipfrag: verison 20 SIP (NOTIFY) SIP (200 OK), ie, tunnel Step h: Mary 200 OK Joe Mary Joe BYE, dialog, Joe Susan session

84 Reliability of Provisional Responses (1/2) Provisional Responses 100 (trying), 180 (ringing), 183 (session in progress) Are not answered with an ACK If the messages is sent over UDP Unreliable Lost provisional response may cause problems when interoperating with other network 180 (ring), 183 (session progress) Q931 alerting or ISUP ACM (Address Complete Message) These external networks need these information to drive a state machine Trying, 180 Ringing, 183 Session in Progress response provisional response SIP entities ACK caller provisional response 180, 183 Q931 alerting, ISUP ACM, (state machine) SIP extension provisional response RSeq, Rack, PRACK

85 Reliability of Provisional Responses (2/2) Eg, a call to an unassigned number ACM to create a one-way path to relay an announcement such as The number you have called has been changed If the provisional response is lost, the caller might left in the dark and not understand why the call did not connect RFC 3262 Reliability of Provisional Responses in SIP Response sequence (RSeq): a request header Response ACK (RAck): a response header Option tag=100rel with supported:/unsupported: Provisional Response ACK (PRACK) method 85 ISUP ACM callee caller Caller, ACM,, ***** ACM provisional response, caller, RFC 3262 Reliability of Provisional Responses in SIP headers option tag, PRACK method, end-to-end provisional response response sequence (RSeq): request header server provisional response, provisional response transaction, RSeq (ie, RSeq scope transaction) transaction, RSeq response ACK (RAck): response header caller PRACK, RAck RSeq, PRACK RSeq response Supported: header option tag, 100rel, provisional responses option tag=100rel Unsupported: header, server option tag,, RSeq, RAck extension 100rel 100% reliability Provisional Response ACK (PRACK) method caller

86 Provisional Response ACK (1/2) INVITE SIP/20 Via: SIP/20/UDP ClientAnetworkcom; branch=z9hg4bk Supported: 100rel Require: 100rel From: tag=lmnop123 To: Call-ID: CSeq: 1 INVITE?? SIP/ Ringing Via: SIP/20/UDP ClientAnetworkcom; branch=z9hg4bk Require: 100rel RSeq: From: sip:clienta@networkcom; tag=lmnop123 To: sip:serverb@networkcom; tag = xyz123 Call-ID: @ClientAnetworkcom CSeq: 1 INVITE SIP/ Ringing Via: SIP/20/UDP ClientAnetworkcom; branch=z9hg4bk Require: 100rel Start timer T1 default=05 sec 86, Client A Server B, Sever B provisional response,, Step a: Client A INVITE Client A PRACK, INVITE Supported: 100rel Client A, Required: 100rel Step b: Sever B 180 Ringing, timer T1=05sec 180 Ringing RSeq, provisional response Require: 100rel optional tag, caller PRACK RSeq random number bits, 1 4,294,967,295 timer T1, 05 sec Step c: Timeout, Sever B PRACK, 180 Ringing RSeq, response,, RSeq 1 RSeq= PRACK, sever

87 Provisional Response ACK (2/2) 87 Step d: Client A 180 Ringing, PRACK callee RAck: 3 subfields RSeq, RSeq response CSeq dialog, INVITE method final response, CSeq 2 PRACK, transaction Step e: sever B PRACK, 200 OK (for PRACK) 200 OK, INVITE PRACK, reliable, call setup delay (PRACK 200 OK ) UDP unreliable transport protocol PRACK SIP, TCP Application

88 The SIP UPDATE Method RFC 3311 The Session Initiation Protocol (SIP) UPDATE Method To enable the modification of session information before a final response to an INVITE is received Eg, to change the codec One important usage is when reserving network resources as part of a SIP session establishment 88 ( 200 OK) session, codec, INVITE INVITE, (confirmed state) dialog, INVITE, dialog early state Note: dialog early state caller 2xx response, confirmed state, early state dialog,, session callee 183 session progress, message body ring tone music, early state caller media, media, ring tone RFC3311 UPDATE method caller INVITE, final response, UPDATE session dialog, early confirmed state, caller callee, SDP offer UPDATE, session UPDATE response (2XX), answer network resource management,, media INVITE Allow: header, UPDATE

89 Integration of SIP Signaling and Resource Management (1/2) Ensuring that sufficient resources are available to handle a media stream is a very important The signaling might take a different path from the media Assume resource-reservation mechanisms are available (Chapter 8) End-to-end status End-to-end network resources are reserved as part of session establishment Segmented status A certain amount of network resources are reserved in advance for a certain type of usage Policing functions at the edge of the network 89 carrier-grade, resource media streams signaling voice, signaling? 8 : End-to-end status: session, end-to-end (, ),,,, RSVP Segmented Status: UAs an aggregate ( ) basis, (ex: voice, data, management traffic) UA ( link ), session,,, ( ), INVITE request UAs, SIP, session media

90 Integration of SIP Signaling and Resource Management (2/2) Way I: A rejected Internet draft Way II: RFC 3312 Integration of Resource Management and Session Initiation Protocol (SIP) By using and UPDATE method and the provisional responses By involving extensions to SDP By SIP extensions 580 precondition failure 90, 1999 Internet draft, SIP header INVITE, caller header callee, INVITE,, SIP, header, callee header,, SIP, extension rejected, rfc3312: Integration of Resource Management and SIP, provisional response, UPDATE SDP, QoS SDP ( SIP ) SDP stream,, QoS audio video QoS, UPDATE 183 session progress SDP,, PRACK/200 OK, SIP extension 580 precondition failure ( BYE CANCEL) session, codec, RFC precondition option tag, offer, SIP Require header precondition RFC Supported header precondition PRACK, UPDATE, 100rel session, session, QoS, RFC 3312 Ex1: media IP address, re-invite, SDP Ex2: codec,,

91 End-to-end Resource Reservation Reserving network b resources in advance of c altering the called d user a e f g h i j k l INVITE Session Description (with pre-condition attributes) PRACK UPDATE Session Description (with updated pre-condition attributes) PRACK (for 180 response) ACK Resource Reservation UserB@networkcom SIP/ Session Progress Session Description (with pre-condition attributes) SIP/20 200(OK) (for PRACK) SIP/ (OK) (for UPDATE) Session Description (with updated pre-condition attributes) SIP/ (Ringing) (response to initial INVITE) SIP/20 200(OK) (for PRACK) SIP/20 200(OK) (for INVITE) 91, User A User B RSVP Step a: User A INVITE, session description User A (offer media), media streams, (preconditions), ex: end-to-end User A User B, Step b: User B 183 Session Progress answer, User A, ( B-to- A, B ), User B User A A-to-B (B recv) stream resource User B 183 Session Progress, B-to-A Step c: User A PRACK response (A A-to-B ) Step d: User B PRACK 200 OK Step e: User A User B Step f: User A, User A UPDATE, offer (A-to-B OK) Step g: User B 200 OK UPDATE, B-to-A Step h: User B, 180 Ringing (for INVATE) Step i, j: PRACK 200 OK (for 180 Ringing) Ringing Step k: User B, 200 OK (for INVATE) Step l: User A ACK Note: A INVITE offer, B 1xx offer, A PRACK answer

92 Media Level SDP Attributes Precondition-type = qos token Three status: des (desired) / curr (current) / conf (confirmed) Status type: e2e (end-to-end) / local / remote Direction tag: send (sending) / recv (receiving) / sendrecv (both) / none Strength tag: none / mandatory / optional / failure / unknown 92 SDP preconditions, media level SDP attributes: precondition-type qos, SDP : desired/current/confirm Current tag Desired Confirmed QoS,, offer (confirmed answer offer, answer ) media stream direction-tag: send/recv/senrecv/none send/recv SDP UA, media stream User A SDP User A User B, send User B SDP User A User B, recv sendrecv media stream send, recv streams, precondition,, sendrecv none status type: e2e/local/remote e2e end-to-end, end-to-end segmented, SDP UA, local, remote local, local network, remote, Strength tag, callee none, mandatory, session optional optional,,, session failure 580 pre-condition failure, SDP, a=des:qos failure e2e send unknown offer mandatory, offer ex: a=des:foo unknown e2e send

93 Example of e2e Resource Reservation (1/2) SDP for initial INVITE v=0 o=usera IN IP4 stationanetworkcom s= c=in IP4 stationaneworkcom t=0 0 m=audio 4444 RTP/AVP 0 a=curr: qos e2e none a=des: qos mandatory e2e sendrecv SDP for 183 response v=0 o=userb IN IP4 stationbnetworkcom s= c=in IP4 stationbneworkcom t=0 0 m=audio 6666 RTP/AVP 0 a=curr: qos e2e none a=des: qos mandatory e2e sendrecv a=conf: qos e2e recv , SDP SDP for initial INVITE (step a) m=audio 4444 RTP/AVP 0 A to B RTP type=0 audio, A s port # =4444 media stream attributes: a=curr: qos e2e none end-to-end QoS a=des: qos mandatory e2e sendrecv User A sending receiving QoS SDP for 183 Session Progress (step b) m=audio 6666 RTP/AVP 0 B to A RTP type=0 audio, B s port # =6666 media stream attributes: a=curr: qos e2e none end-to-end QoS a=des: qos mandatory e2e sendrecv User B sending receiving QoS a=conf: qos e2e recv User B User A A-to-B, offer User B B-to-A

94 Example of e2e Resource Reservation (2/2) SDP for UPDATE v=0 o=usera IN IP4 stationanetworkcom s= c=in IP4 stationaneworkcom t=0 0 m=audio 4444 RTP/AVP 0 a=curr: qos e2e send a=des: qos mandatory e2e sendrecv SDP for 200 response v=0 o=userb IN IP4 stationbnetworkcom s= c=in IP4 stationbneworkcom t=0 0 m=audio 6666 RTP/AVP 0 a=curr: qos e2e sendrecv a=des: qos mandatory e2e sendrecv , SDP SDP for UPDATE (step f) a=curr: qos e2e send caller caller-to-callee, send end-to-end QoS a=des: qos mandatory e2e sendrecv caller sending receiving QoS SDP for 200 OK (for UPDATE) (step g) a=curr: qos e2e sendrecv end-to-end QoS a=des: qos mandatory e2e sendrecv callee sending receiving QoS

95 Segmented Status Reservation Each participant deals with network access permission at its own end a b c d e f Local resource reservation INVITE v=0 0=userA IN IP4 stationanetworkcom s= c= IN IP4 stationanetworkcom t=0 0 m=audio 4444 RTP/AVP 0 a=curr: qos local sendrecv a=curr: qos remote none a=des: qos mandatory local sendrecv a=des: qos mandatory remote sendrecv PRACK (for 180 response) ACK UserB@networkcom Local resource reservation SIP/ Ringing v=0 0=userB IN IP4 stationbnetworkcom s= c= IN IP4 stationbnetworkcom t=0 0 m=audio 6666 RTP/AVP 0 a=curr: qos local sendrecv a=curr: qos remote sendrecv a=des: qos mandatory local sendrecv a=des: qos mandatory remote sendrecv SIP/ (OK) (for PRACK) SIP/ (OK) (for INVITE) 95, User A User B segmented status (ie, aggregate) local policing Step a: User A local network, INVITE, session description: m=audio 4444 RTP/AVP 0 A-to-B RTP type=0 audio, A s port # =4444 media stream attributes: a=curr: qos local sendrecv User A, a=curr: qos remote none (User B) a=des: qos mandatory local sendrecv User A sending receiving QoS a=des: qos mandatory remote sendrecv User A sending receiving QoS Step b: User B User A,, 180 Ring ( ), session description: m=audio 6666 RTP/AVP 0 B-to-A RTP type=0 audio, B s port # =6666 media stream attributes: a=curr: qos local sendrecv User B, a=curr: qos remote sendrecv User A a=des: qos mandatory local sendrecv User B sending receiving QoS a=des: qos mandatory remote sendrecv User B User A sending receiving QoS

96 Usage of SIP for Features and Services Call Forwarding Consultation Hold

97 Usage of SIP for Features/Services (1/2) Personal Mobility (Registrar) Call-transfer application (with REFER method) One number service through forking proxy Call-completion services (by Retry-After: header) Click-to-call applications or Web service (SIP address is a URL) Existing supplementary services in traditional telephony Call waiting, call forwarding, multi-party calling, call screening 97 SIP SIP extension, : SIP registrar personal mobility REFER call transfer, Fig 5-20 forking proxy one-number service, Fig 5-7 Retry-After: header call-completion service, Fig 5-6 SIP Web URL, MIME content HTML document, image, click-to-call service CLASS services, call waiting, call forwarding, multiparty calling, call screening

98 Usage of SIP for Features/Services (2/2) Proxy invokes various types of advanced feature logic Policy server (call-routing, QoS) Feature server (subscriber-specific feature data, ex: screening lists, forwarding information) Authentication server Use the services of an IN SCP over INAP Use Open Service Access (OSA) 98 Proxy, Proxy Policy server call-routing, QoS, Proxy screening lists, forwarding, (other example: pre-pay call) Proxy Authentication server, proxy Intelligent network (IN) Service Control Point (SCP), IN proxy IN Application Part Open Service Access (OSA), Application Programming Interfaces (API) proxy SCP

99 Call Forwarding Call-forwardingon-busy Call-forwardingon-no-answer Timeout CANCEL method Call-forwarding unconditional 99 SIP call forwarding : Call-forwarding-on-busy: callee, Call-forwarding-on-no-answer: callee, Call-forwarding- unconditional service: callee, call-forwarding-on-busy User 1 User 2 User 2, User 3 User 1 INVITE, proxy User 2 User 2, 486 busy here proxy Proxy database, INVITE User 3 To: header User 2, User 3 call forwarding 486 callee,, callee response Retry-after: header, (ex: voice mail) callee callee, 600 busy everywhere User OK, Contact: header User 3, User 1 User 3 trunk proxy,, Recordroute: header Call-forwarding-on-no-answer: proxy INVITE User 2, timer callee, proxy CANCEL User 2, INVITE User 3 Call-forwarding- unconditional service callee, proxy

100 Consultation Hold User A asks User B a question, and User B need to check with User C for the correct answer User B could use the REFER method to transfer the call to User C A SIP UPDATE User A User B User C a INVITE sip:user A@there SIP/20 From: sip:user B@here Call-ID: SDP Description b SIP/ OK From: sip:user B@here Call-ID: SDP Description c ACK sip:user A@there SIP/20 From: sip:user B@here Call-ID: d Conversation e UPDATE sip:user A@there SIP/20 From: sip:user B@here Call-ID: Session Description a=inactive f SIP/ OK From: sip:user B@here Call-ID: Session Description a=inactive g h On hold i User B calls User C, speaks, then hangs up j UPDATE sip:user A@there SIP/20 From: sip:user B@here Call-ID: Session Description a=sendrecv SIP/ OK From: sip:user B@here Call-ID: Session Description a=sendrecv 100 User A B (ex: A B ), User B User A ( hold, ) User B User C (ex: B C ), User B User C, User A (ex: B A, Consultation Hold) REFER, call waiting Steps a-d: User A User B Step e: User B UPDATE, inactive UPDATE, hold, Call-ID: INVITE SDP media attribute inactive, hold, SDP media attribute sendonly Steps f, g: 200 OK, media on hold Step h: User B (INVITE - BYE) User C Step i, j: User B UPDATE, active UPDATE, Call-ID: , SDP media attribute sendrecv,,

101 Interworking PSTN Interworking Interworking with H323 SIP IP, PSTN H323 interworking

102 SIP to PSTN Call Proxyworkcom NGW PSTN switch a INVITE b c d e f g h i j k l m ACK n o 100 (Trying) INVITE 183 (Session Progress) Session description 200 (OK) Updated session description One-way audio 100 (Trying) 183 (Session Progress) Session description 200 (OK) Updated session description ACK Two-way audio IAM ACM One-way audio ANM Two-way audio 102 SIP PSTN : seamless interworking, SIP device PSTN PSTN SS7 ISUP gateway SIP ISUP SIP-based, media gateway signaling gateway SS7 Boss SIP phone PSTN (Collins ), NGW (Network Gateway), NGW (network gateway) To: header PSTN, IAM (initial address message) calling party number From: header SIP URI, Caller-ID IAM INVITE, ACM (Address Complete Message) 183 Session Progress), ANM (Answer Message) 200 OK parameters PSTN SIP phone, Fig 5-28 SIP 180 ring PSTN phone ring tone 183 session progress ring tone media,, PRACK

103 PSTN Interworking RFC Session Initiation Protocol for Telephones (SIP-T): Context and Architectures PSTN SIP PSTN RFC MIME media types for ISUP and QSIG Objects MIME media types For ISUP The whole issue of interworking with SS7 is fundamental to the success of VoIP in the real world 103 PSTN SIP ISUP 1 1, RFC SIP-T (Session Initiation Protocol for Telephones (SIP-T):Context and Architectures) BCP (Best Current Practice), SIP extension, SIP PSTN SIP-T SIP message body (multiparts), ISO MIME, ISUP QSIG RFC MIME media types for ISUP and QSIG Objects QSIG is the analogous signaling protocol used between PBXs to support calls within private telephony networks SIP INFO PSTN VoIP, SS7

104 Interworking with H323 SIP-H323 interworking gateway H323 endpoint Interworking Gateway SIP Client H323 Signaling SIP H323 gatekeeper H323 Endpoint SIP User Agent SIP Server H323 Signaling SIP 104 SIP-H323 Interworking group standard draft draft-agrawal- SIP-h323-interworking-reqs-07txt, 2001 Feb IESG, Information RFC version 7, 2005 Jan 5 approvedannouncement sent RFC Ed Queue, RFC Editor State Interworking gateway protocols SIP, SIP registrar, proxy H323, gatekeeper

105 A Call from SIP to H323 (1/2) SIP Client Gateway H323 Terminal Fast connect is used a b INVITE To: Terminal@H323net c=in IP m=audio 8000 RTP/AVP 0 Setup faststart [logical chan info = G711 Tx, G711 RX :8000 c Alerting d e f 180 (Ringing) 200 (OK) To: Terminal@H323net c=in IP m=audio 2000 RTP/AVP 0 Connect faststart [logical chan info = G711 Tx, G711 RX :2000 g h ACK Two-way voice Two-way voice 105 SIP caller H323 H323 Fast Connect procedure, gatekeeper gatekeeper, RAS, SIP SDP Q931 SETUP faststart logical channel information RTP payload type=0 G711 Tx ( ), G711 Rx ( ), SIP client IP= port, Rx, H323 terminal Connect logical channel, gateway 200 OK SIP client H323 terminal Altering Call Proceeding logical channel information, gateway, 200 OK SIP client IP:port, RTP payload type, media Gateway

106 A Call from SIP to H323 (2/2) SIP Client Gateway H323 Terminal Fast Connect is not used a b c d e f g h i j INVITE To: Terminal@H323net c=in IP m=audio 8000 RTP/AVP (OK) To: Terminal@H323net Setup faststart [logical chan info = G711 TX, G711 RX :8000 Terminal Capability Set G711 TX G711 RX Connect (no faststart) Terminal Capability Set Ack Terminal Capability Set Ack Open Logical Channel Terminal Capability Set G711 TX, G711 RX Open Logical Channel Ack RX= :2000 k l ACK m c=in IP m=audio 2000 RTP/AVP 0 Open Logical Channel Ack RX= :8000 Open Logical Channel H2250 H245 SIP H323 terminal H323 Fast Connect procedure, Q931 SETUP faststart logical channel information H323 terminal, Connect H323, Connect, H254 capacity, H323 terminal gateway media Gateway 200 OK SIP client gateway H323 terminal media

107 A Call from H323 to SIP with Fast Connection H323 Terminal Gateway SIP Client a b Setup faststart [logical chan info = G711 TX, G711 RX :2000 INVITE To: User@SIPnet c d e f g Alerting Connect faststart [logical chan info - G711 TX G711 RX :800 c=in IP m=audio 2000 RTP/AVP 0 ACK 180 (Ringing) 200 (OK) To: User@SIPnet c=in IP m=audio 8000 RTP/AVP 0 h Two-way voice Two-way voice 107 H323 SIP H323 Fast Connect procedure, gatekeeper Q931 SETUP H225 session SIP SDP 180 Ring Alerting SIP 200 OK Connect H323 terminal H323 Fast Connect procedure, Q931 SETUP faststart logical channel information Gateway INVITE session capacity H245, UPDATE SIP client media 5-33

108 Summary The future for signaling in VoIP networks Simple, yet flexible Easier to implement Fit well with the media gateway control protocols SIP is the protocol of choice for the evolution of third-generation wireless networks SIP-based mobile devices will become available SIP-based network elements will be introduced within mobile networks 108

目 录(目录名)

目  录(目录名) 1 SIP... 1 1.1 SIP... 1 1.2 SIP... 1 1.3 SIP... 2 2 SIP... 3 2.1... 3 2.2... 4 3 SIP... 6 3.1 SIP... 6 3.2 SIP... 6 3.3... 6 3.3.1... 6 3.3.2... 8 4 SIP... 11 4.1... 11 4.2 1xx... 11 4.3 2xx... 12 4.4

More information

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat Realtime Application QOS Monitoring (RAQMON) Dan Romascanu [email protected] 1 RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming

More information

SIP/ENUM Trial

SIP/ENUM Trial Taiwan SIP/ENUM trial ENUM Director of TWNIC IP Department 2004/12/15 1 Outline What is ENUM Taiwan SIP/ENUM Trial Project ENUM 2 What is ENUM ENUMDNSE.164 ENUMDNS ENUM 3 ENUMDNSE.164 Enum telephone Number

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

IP505SM_manual_cn.doc

IP505SM_manual_cn.doc IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

PL600 IPPBX 用户手册_V2.0_.doc

PL600 IPPBX 用户手册_V2.0_.doc VoIP 网 络 交 换 机 PL-600 IPPBX 用 户 手 册 深 圳 普 联 讯 电 子 科 技 有 限 公 司 版 权 所 有 2009 深 圳 市 普 联 讯 电 子 科 技 有 限 公 司 第 1 共 1 目 录 1. 前 言...3 2. 安 装 前 准 备...3 3. 硬 件 安 装...4 4. 登 陆 及 一 般 操 作 介 绍...4 5. 基 本 配 置...6 6.

More information

ICS 13.310 A 91 SZDB/Z 深 圳 市 标 准 化 指 导 性 技 术 文 件 SZDB/Z 158 2015 交 通 运 输 行 业 视 频 监 控 联 网 系 统 通 用 技 术 要 求 General technical specification for video monitoring network system of transportation industry in

More information

財金資訊-80期.indd

財金資訊-80期.indd IPv6 / LINE YouTube TCP/IP TCP (Transmission Control Protocol) IP (Internet Protocol) (node) (address) IPv4 168.95.1.1 IPv4 1981 RFC 791 --IP IPv4 32 2 32 42 IP (Internet Service Provider ISP) IP IP IPv4

More information

一.NETGEAR VPN防火墙产品介绍

一.NETGEAR VPN防火墙产品介绍 NETGEAR VPN NETGEAR 6 http://www.netgear.com.cn - 1 - NETGEAR VPN... 4 1.1 VPN...4 1.2 Dynamic Domain Name Service...4 1.3 Netgear VPN...4 Netgear VPN... 6 2.1 FVS318 to FVS318 IKE Main...7 2.1.1 A VPN

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

untitled

untitled NGN 第三讲 NGN中的协议 OSS Router Server IN LDAP/TRIP INAP Open Service Application Server XML/FTP /Radius Parlay NMS SNMP SG SS7 TUP/ISUP TG PSTN Softswitch BICC/SIP-T Sigtran Softswitch H.323 Megaco/H.248 Other

More information

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP TCP/IP : TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP 1. ASCII EBCDIC Extended Binary-Coded Decimal Interchange Code 2. / (1) (2) Single System Image SSI) (3) I/O (4) 3.OSI OSI Open System Interconnection

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder [email protected] UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG --------------------------------------------TABLE OF CONTENTS------------------------------------------

More information

Microsoft PowerPoint ARIS_Platform_en.ppt

Microsoft PowerPoint ARIS_Platform_en.ppt ARIS Platform www.ixon.com.tw ARIS ARIS Architecture of Integrated Information System Prof. Dr. Dr. h.c. mult. August-Wilhelm Scheer ARIS () 2 IDS Scheer AG International Presence >> Partners and subsidiaries

More information

工程师培训

工程师培训 .1 TCP/IP TCP/IP 1 .2.2.1 Host 1960 S 1970 S Host Low Speed Lines 1970 S 1980 S pc Server Local Interneting 1980 S 1990 S Branch. pc Branch. WAN Branch. pc pc IBM SNA IBM X.25 2 .2.2 OSI OSI Application

More information

Logitech Wireless Combo MK45 English

Logitech Wireless Combo MK45 English Logitech Wireless Combo MK45 Setup Guide Logitech Wireless Combo MK45 English................................................................................... 7..........................................

More information

( Version 0.4 ) 1

( Version 0.4 ) 1 ( Version 0.4 ) 1 3 3.... 3 3 5.... 9 10 12 Entities-Relationship Model. 13 14 15.. 17 2 ( ) version 0.3 Int TextVarchar byte byte byte 3 Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate

More information

2002 7 2 Session Number E-Business PSTN PSTN Remote Site Frame Relay X.25 Leased Line : & Self Replicating Code Password Guessing 1980 Exploiting Known Vulnerabilities Password Cracking Back Doors

More information

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I 2004 5 IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I Abstract The techniques of digital video processing, transferring

More information

...1 What?...2 Why?...3 How? ( ) IEEE / 23

...1 What?...2 Why?...3 How? ( ) IEEE / 23 .... IEEE 1588 2010 7 8 ( ) IEEE 1588 2010 7 8 1 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 2 / 23 ...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 3 / 23 IEEE 1588 ( ) IEEE 1588 2010

More information

Chn 116 Neh.d.01.nis

Chn 116 Neh.d.01.nis 31 尼 希 米 书 尼 希 米 的 祷 告 以 下 是 哈 迦 利 亚 的 儿 子 尼 希 米 所 1 说 的 话 亚 达 薛 西 王 朝 二 十 年 基 斯 流 月 *, 我 住 在 京 城 书 珊 城 里 2 我 的 兄 弟 哈 拿 尼 和 其 他 一 些 人 从 犹 大 来 到 书 珊 城 我 向 他 们 打 听 那 些 劫 后 幸 存 的 犹 太 人 家 族 和 耶 路 撒 冷 的 情 形

More information

ch_code_infoaccess

ch_code_infoaccess 地 產 代 理 監 管 局 公 開 資 料 守 則 2014 年 5 月 目 錄 引 言 第 1 部 段 數 適 用 範 圍 1.1-1.2 監 管 局 部 門 1.1 紀 律 研 訊 1.2 提 供 資 料 1.3-1.6 按 慣 例 公 布 或 供 查 閱 的 資 料 1.3-1.4 應 要 求 提 供 的 資 料 1.5 法 定 義 務 及 限 制 1.6 程 序 1.7-1.19 公 開 資

More information

目 彔 1. 准 备 工 作... 1 2. 登 彔 设 置... 2 3. 功 能 说 明... 4 3.1 实 时 监 控... 4 3.1.1 基 本 控 制... 4 4.1.2 功 能 设 置... 4 3.1.3 画 质 调 节... 6 3.1.4 彔 像 与 抓 拍... 6 3.1

目 彔 1. 准 备 工 作... 1 2. 登 彔 设 置... 2 3. 功 能 说 明... 4 3.1 实 时 监 控... 4 3.1.1 基 本 控 制... 4 4.1.2 功 能 设 置... 4 3.1.3 画 质 调 节... 6 3.1.4 彔 像 与 抓 拍... 6 3.1 嵌 入 式 Web Server 用 户 手 册 V2.0 感 谢 您 选 用 本 公 司 的 产 品, 请 您 在 使 用 本 产 品 前 仔 细 阅 读 用 户 手 册, 本 用 户 手 册 将 为 您 提 供 正 确 的 使 用 说 明 版 权 声 明 : 本 用 户 手 册 版 权 归 天 津 市 亚 安 科 技 股 仹 有 限 公 司 所 有, 未 经 本 公 司 许 可, 仸 何 机 构

More information

PS PS GMM SM.zte.com.

PS PS GMM SM.zte.com. WBUB-010-1 ZXWN PS V0411.zte.com. PS PS GMM SM.zte.com. PS TMSI Packet-Temporary mobile subscriber identification number P-TMSI) GPRS MS P- TMSI 4 BCD 3G TS 23.003 MSC SGSN SGSN P-TMSI 11 MSC TMSI 00 01

More information

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Microsoft PowerPoint - ATF2015.ppt [相容模式] Improving the Video Totalized Method of Stopwatch Calibration Samuel C.K. Ko, Aaron Y.K. Yan and Henry C.K. Ma The Government of Hong Kong Special Administrative Region (SCL) 31 Oct 2015 1 Contents Introduction

More information

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南 Symantec Sygate Enterprise Protection 防 护 代 理 安 装 使 用 指 南 5.1 版 版 权 信 息 Copyright 2005 Symantec Corporation. 2005 年 Symantec Corporation 版 权 所 有 All rights reserved. 保 留 所 有 权 利 Symantec Symantec 徽 标 Sygate

More information

實現架構在SIP的V2oIP與即時影音錄放

實現架構在SIP的V2oIP與即時影音錄放 SIP 錄 V 2 oip Designing a SIP-based V 2 oip System with Real-time AV Playback Functions 1 2 葉 1 June-Hue Chen Sheng-Cheng Yeh Her-Chang Chao 1 1 Department of Computer Science and Information Engineering,

More information

入學考試網上報名指南

入學考試網上報名指南 入 學 考 試 網 上 報 名 指 南 On-line Application Guide for Admission Examination 16/01/2015 University of Macau Table of Contents Table of Contents... 1 A. 新 申 請 網 上 登 記 帳 戶 /Register for New Account... 2 B. 填

More information

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d WeChat Search Visual Identity Guidelines WEDESIGN 2018. 04 Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies

More information

「人名權威檔」資料庫欄位建置表

「人名權威檔」資料庫欄位建置表 ( version 0.2) 1 3 3 3 3 5 6 9.... 11 Entities - Relationship Model..... 12 13 14 16 2 ( ) Int Varchar Text byte byte byte Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate Type Varchar 10

More information

1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源

1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源 1. 請 先 檢 查 包 裝 內 容 物 AC750 多 模 式 無 線 分 享 器 安 裝 指 南 安 裝 指 南 CD 光 碟 BR-6208AC 電 源 供 應 器 網 路 線 2. 將 設 備 接 上 電 源, 即 可 使 用 智 慧 型 無 線 裝 置 進 行 設 定 A. 接 上 電 源 B. 啟 用 智 慧 型 裝 置 的 無 線 Wi-Fi C. 選 擇 無 線 網 路 名 稱 "edimax.setup"

More information

untitled

untitled LBS Research and Application of Location Information Management Technology in LBS TP319 10290 UDC LBS Research and Application of Location Information Management Technology in LBS , LBS PDA LBS

More information

VIDEOJET connect 7000 VJC-7000-90 zh- CHS Operation Manual VIDEOJET connect 7000 zh-chs 3 目 录 1 浏 览 器 连 接 7 1.1 系 统 要 求 7 1.2 建 立 连 接 7 1.2.1 摄 像 机 中 的 密 码 保 护 7 1.3 受 保 护 的 网 络 7 2 系 统 概 述 8 2.1 实 况

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内 容 分 发 网 络 Alibaba Cloud Content Delivery Network 一

More information

untitled

untitled SIPv6 Analyzer Whai-En Chen Research Assistant Professor Dept. of Computer Science and Information Engineering National Chiao Tung University [email protected] 1 Outline Introduction Install and

More information

IPv6 Ready Logo Phase II SIP符合性測試平台建置技術報告

IPv6 Ready Logo Phase II SIP符合性測試平台建置技術報告 年度 路 SIPv6 年 907 908 SIPv6 錄 1... 911 1.1 SIP 歷... 911 1.2 SIP... 911 1.3 SIP... 911 2 參... 912 2.1 參... 912 2.2 參... 912 3... 912 4 SIP... 912 4.1 TN... 912 4.2 SIP... 913 5 SIP... 913 5.1 TN... 913 5.2

More information

LH_Series_Rev2014.pdf

LH_Series_Rev2014.pdf REMINDERS Product information in this catalog is as of October 2013. All of the contents specified herein are subject to change without notice due to technical improvements, etc. Therefore, please check

More information

OpenScape OpenScape OpenScape OpenScape OpenScape UC OpenScape SP OpenScape CEBP BPI OpenScape OpenScape TDM ICT OpenScape IP PBX E/A Cockpit CTI Xpre

OpenScape OpenScape OpenScape OpenScape OpenScape UC OpenScape SP OpenScape CEBP BPI OpenScape OpenScape TDM ICT OpenScape IP PBX E/A Cockpit CTI Xpre OpenScapeV4 OpenScape OpenScape IT TCORoI www.siemens-enterprise.com/cn OpenScape OpenScape OpenScape OpenScape OpenScape UC OpenScape SP OpenScape CEBP BPI OpenScape OpenScape TDM ICT OpenScape IP PBX

More information

2015年4月11日雅思阅读预测机经(新东方版)

2015年4月11日雅思阅读预测机经(新东方版) 剑 桥 雅 思 10 第 一 时 间 解 析 阅 读 部 分 1 剑 桥 雅 思 10 整 体 内 容 统 计 2 剑 桥 雅 思 10 话 题 类 型 从 以 上 统 计 可 以 看 出, 雅 思 阅 读 的 考 试 话 题 一 直 广 泛 多 样 而 题 型 则 稳 中 有 变 以 剑 桥 10 的 test 4 为 例 出 现 的 三 篇 文 章 分 别 是 自 然 类, 心 理 研 究 类,

More information

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 1.2.4 计 算 机 网 络 在

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 1.2.4 计 算 机 网 络 在 计 算 机 网 络 ( 第 4 版 ) 课 件 第 1 章 计 算 机 网 络 概 述 郭 庆 北 [email protected] 2009-02-25 第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特

More information

C3_ppt.PDF

C3_ppt.PDF C03-101 1 , 2 (Packet-filtering Firewall) (stateful Inspection Firewall) (Proxy) (Circuit Level gateway) (application-level gateway) (Hybrid Firewall) 2 IP TCP 10.0.0.x TCP Any High Any 80 80 10.0.0.x

More information

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot OSI OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Protocol OSI OSI OSI OSI OSI O S I 2-1 Application

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx ENSC 427 Communication Networks Spring 2016 Group #2 Project URL: http://www.sfu.ca/~rkieu/ensc427_project.html Amer, Zargham 301149920 Kieu, Ritchie 301149668 Xiao, Lei 301133381 1 Roadmap Introduction

More information

Microsoft PowerPoint - 数据通信-ch1.ppt

Microsoft PowerPoint - 数据通信-ch1.ppt 主 要 内 容 与 基 本 要 求 主 要 内 容 数 据 通 信 与 计 算 机 网 络 计 算 机 网 络 的 发 展 过 程 分 类 以 及 主 要 性 能 指 标 ; 分 组 交 换 的 基 本 原 理 及 其 与 电 路 交 换 报 文 交 换 的 联 系 与 区 别 ; 计 算 机 网 络 的 协 议 与 体 系 结 构 第 1 章 概 述 基 本 要 求 掌 握 分 组 交 换 电 路

More information

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile.. WebSphere Studio Application Developer IBM Portal Toolkit... 1/21 WebSphere Studio Application Developer IBM Portal Toolkit Portlet Doug Phillips ([email protected]),, IBM Developer Technical Support Center

More information

PowerPoint Presentation

PowerPoint Presentation TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice

More information

Microsoft Word - CX VMCO 3 easy step v1.doc

Microsoft Word - CX VMCO 3 easy step v1.doc Abacus Fully Automated Process of VMCO on CX, KA, CPH & KAH 16 Nov 2009 To streamline the VMCO handling on CX, KA, CPH & KAH, Abacus is pleased to inform you that manual submission of VMCO to CX/KA/CPH/KAH

More information

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - Aqua-Sim.pptx Peng Xie, Zhong Zhou, Zheng Peng, Hai Yan, Tiansi Hu, Jun-Hong Cui, Zhijie Shi, Yunsi Fei, Shengli Zhou Underwater Sensor Network Lab 1 Outline Motivations System Overview Aqua-Sim Components Experimental

More information

Microsoft Word - ChineseSATII .doc

Microsoft Word - ChineseSATII .doc 中 文 SAT II 冯 瑶 一 什 么 是 SAT II 中 文 (SAT Subject Test in Chinese with Listening)? SAT Subject Test 是 美 国 大 学 理 事 会 (College Board) 为 美 国 高 中 生 举 办 的 全 国 性 专 科 标 准 测 试 考 生 的 成 绩 是 美 国 大 学 录 取 新 生 的 重 要 依

More information

iGENUS爱琴思邮件系统技术白皮书

iGENUS爱琴思邮件系统技术白皮书 igenus 爱 琴 思 邮 件 系 统 技 术 白 皮 书 Http://www.iGENUS.cn 版 权 信 息 igenus 爱 琴 思 邮 件 系 统 版 权 所 有 2009 爱 琴 思 科 技 ( 成 都 ) 有 限 公 司 igenus information technologies Inc.,Chengdu 文 档 保 证 声 明 本 文 档 以 提 供 信 息 为 目 的, 所

More information

東莞工商總會劉百樂中學

東莞工商總會劉百樂中學 /2015/ 頁 (2015 年 版 ) 目 錄 : 中 文 1 English Language 2-3 數 學 4-5 通 識 教 育 6 物 理 7 化 學 8 生 物 9 組 合 科 學 ( 化 學 ) 10 組 合 科 學 ( 生 物 ) 11 企 業 會 計 及 財 務 概 論 12 中 國 歷 史 13 歷 史 14 地 理 15 經 濟 16 資 訊 及 通 訊 科 技 17 視 覺

More information

coverage2.ppt

coverage2.ppt Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions

More information

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論

國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 表 11 國 立 政 治 大 學 教 育 學 系 博 士 班 資 格 考 試 抵 免 申 請 表... 46 論 文 題 目 申 報 暨 指 導 教 授... 47 表 12 國 立 政 治 大 學 碩 博 士 班 論 國 立 政 治 大 學 教 育 學 系 2016 新 生 入 學 手 冊 目 錄 一 教 育 學 系 簡 介... 1 ( 一 ) 成 立 時 間... 1 ( 二 ) 教 育 目 標 與 發 展 方 向... 1 ( 三 ) 授 課 師 資... 2 ( 四 ) 行 政 人 員... 3 ( 五 ) 核 心 能 力 與 課 程 規 劃... 3 ( 六 ) 空 間 環 境... 12 ( 七 )

More information

豐佳燕.PDF

豐佳燕.PDF Application of Information Literacy to [email protected] information literacy Theme-oriented teaching. Abstract Based on the definition of Information Literacy and Six core concepts of the problem

More information

软件测试(TA07)第一学期考试

软件测试(TA07)第一学期考试 一 判 断 题 ( 每 题 1 分, 正 确 的, 错 误 的,20 道 ) 1. 软 件 测 试 按 照 测 试 过 程 分 类 为 黑 盒 白 盒 测 试 ( ) 2. 在 设 计 测 试 用 例 时, 应 包 括 合 理 的 输 入 条 件 和 不 合 理 的 输 入 条 件 ( ) 3. 集 成 测 试 计 划 在 需 求 分 析 阶 段 末 提 交 ( ) 4. 单 元 测 试 属 于 动

More information

編 輯 室 手 札 Editor Navigation 刑 事 資 訊 科 技 再 造 整 合 分 析 犯 罪 情 資 文 / 編 輯 室 刑 事 資 訊 科 技 的 發 展, 從 最 初 定 位 於 犯 罪 資 料 電 子 數 位 化, 再 隨 著 犯 罪 手 法 科 技 化 的 趨 勢, 刑 事 資 訊 科 技 在 犯 罪 偵 查 工 作 上 的 角 色 也 愈 顯 重 要, 刑 事 資 訊 業

More information

EC51/52 GSM /GPRS MODEN

EC51/52 GSM /GPRS MODEN EC51/52 GSM /GPRS MODEN AT SMS aoe EC66.com 2004.11 ... 2 1 GSM AT... 3 2 EC51... 4 3 PDU... 4 4 PDU... 5 5... 7 6 TEXT... 8 7... 9 8.... 9 9.... 9 http://www.ec66.com/ 1 AT GPRS Modem SMS AT EC51 EC52

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

untitled

untitled 2006 6 Geoframe Geoframe 4.0.3 Geoframe 1.2 1 Project Manager Project Management Create a new project Create a new project ( ) OK storage setting OK (Create charisma project extension) NO OK 2 Edit project

More information

1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論..

1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論.. 如 何 準 備 研 究 所 甄 試 劉 富 翃 1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論... 20 8. 附 錄 8.1 推 甄 書 面 資 料...

More information

2008 Nankai Business Review 61

2008 Nankai Business Review 61 150 5 * 71272026 60 2008 Nankai Business Review 61 / 62 Nankai Business Review 63 64 Nankai Business Review 65 66 Nankai Business Review 67 68 Nankai Business Review 69 Mechanism of Luxury Brands Formation

More information

VoIP Make a Rtp Call VoIP Abstract... 2 VoIP RTP...3 Socket IP...9 Config Two Voice-hub

VoIP Make a Rtp Call VoIP Abstract... 2 VoIP RTP...3 Socket IP...9 Config Two Voice-hub VoIP... 2... 2 Abstract... 2... 3... 3 RTP...3 Socket...4...6...7 IP...9 Config Two Voice-hub... 10 1 12 VoIP VoIP voice-hub voice-hub Abstract At the beginning of this paper, we introducted the essential

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

WTO

WTO 10384 200015128 UDC Exploration on Design of CIB s Human Resources System in the New Stage (MBA) 2004 2004 2 3 2004 3 2 0 0 4 2 WTO Abstract Abstract With the rapid development of the high and new technique

More information

Product Type Batteries (only) Circuit Breatkers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC N

Product Type Batteries (only) Circuit Breatkers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC N 1201 South Second Street Milwaukee, Wisconsin U.S.A. 53204 Tel 414-382-2000 1 July 2016 RE: China Restriction of Hazardous Substances (RoHS) Dear Customer, Rockwell Automation is committed to demonstrating

More information

Microsoft Word - (web)_F.1_Notes_&_Application_Form(Chi)(non-SPCCPS)_16-17.doc

Microsoft Word - (web)_F.1_Notes_&_Application_Form(Chi)(non-SPCCPS)_16-17.doc 聖 保 羅 男 女 中 學 學 年 中 一 入 學 申 請 申 請 須 知 申 請 程 序 : 請 將 下 列 文 件 交 回 本 校 ( 麥 當 勞 道 33 號 ( 請 以 A4 紙 張 雙 面 影 印, 並 用 魚 尾 夾 夾 起 : 填 妥 申 請 表 並 貼 上 近 照 小 學 五 年 級 上 下 學 期 成 績 表 影 印 本 課 外 活 動 表 現 及 服 務 的 證 明 文 件 及

More information

Microsoft Word - Final Exam Review Packet.docx

Microsoft Word - Final Exam Review Packet.docx Do you know these words?... 3.1 3.5 Can you do the following?... Ask for and say the date. Use the adverbial of time correctly. Use Use to ask a tag question. Form a yes/no question with the verb / not

More information

weblogic

weblogic Weblogic Allen Long [email protected] http://www.huihoo.com 2004-04 1 WebLogic, WLS WLS Domain 2 Weblogic6.1 Weblogic6.1 J2EE1.2,J2EE1.3 HTTP 1.1 J2EE Connector Architecture 1.0 J2EE EJB 2.0 J2EE JDBC 2.0

More information

untitled

untitled Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen

More information

USPTO Academic research Corporate needs Global/International Inventors Libraries News Media/Publication Patent Attorney or Agent USPTO e (ebusiness Ce

USPTO Academic research Corporate needs Global/International Inventors Libraries News Media/Publication Patent Attorney or Agent USPTO e (ebusiness Ce I 2002.03.27 2 http://www.uspto.gov/ http://www.wipo.org/ http://ipdl.wipo.int/ esp@cenet http://www.european-patent-office.org/ http://ep.espacenet.com/ http://www.cpo.cn.net/ 3 4 USPTO USPTO First time

More information

9 Internet 10 Internet

9 Internet 10 Internet 1 2 3 4 5 6 Internet 7 8 9 Internet 10 Internet 11 12 1 1.1 1.2 1.3 1.4 1.5 1.6 1.1 1.1.1 20 50 20 60 ARPANET ARPANET Internet 20 70 ISO International Organization for Standardization TCP/IP 20 90 Internet

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

2. 佔 中 對 香 港 帶 來 以 下 影 響 : 正 面 影 響 - 喚 起 市 民 對 人 權 及 ( 專 制 ) 管 治 的 關 注 和 討 論 o 香 港 市 民 總 不 能 一 味 認 命, 接 受 以 後 受 制 於 中 央, 沒 有 機 會 選 出 心 中 的 理 想 特 首 o 一

2. 佔 中 對 香 港 帶 來 以 下 影 響 : 正 面 影 響 - 喚 起 市 民 對 人 權 及 ( 專 制 ) 管 治 的 關 注 和 討 論 o 香 港 市 民 總 不 能 一 味 認 命, 接 受 以 後 受 制 於 中 央, 沒 有 機 會 選 出 心 中 的 理 想 特 首 o 一 220 參 考 答 案 專 題 1. 公 民 抗 命 與 革 命 的 異 同 如 下 : 公 民 抗 命 革 命 相 同 之 處 目 的 兩 種 行 動 都 是 為 了 抗 拒 當 權 政 府 不 受 歡 迎 的 決 定 及 政 策 方 法 兩 者 都 是 在 嘗 試 其 他 合 法 的 抗 爭 行 動 後, 無 可 奈 何 的 最 後 手 段 不 同 之 處 目 的 只 是 令 政 府 的 某 些

More information

NSC-161

NSC-161 IP Session IP? IP Cisco IP IP IP IP IP? LAN Software Bluetooth,, 802.11 IP IP IP QoS IP Trust Domain (TD 1 ) TD 2 AR AR AP AP (MN) (MN) IP IP ( ) (MR) IP LAN MR (AP) IP 802.11 (AL) LAN/PAN 802.11, 802.15,

More information

Product Type Batteries (only) Circuit Breakers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC Ne

Product Type Batteries (only) Circuit Breakers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC Ne 1201 South Second Street Milwaukee, Wisconsin U.S.A. 53204 Tel 414-382-2000 1 July 2016 RE: China Restriction of Hazardous Substances (RoHS) Dear Customer, Rockwell Automation is committed to demonstrating

More information

IP Audio Conference Phone 2033 User Guide

IP Audio Conference Phone 2033 User Guide ±ÍÃ Š Nortel Communication Server 1000 Nortel IP 音 频 会 议 话 机 2033 用 户 指 南 修 订 历 史 修 订 历 史 2005 年 4 月 标 准 版 1.00 此 文 档 是 适 用 于 Communication Server 1000 IP 音 频 会 议 话 机 2033 的 新 文 档 3 修 订 历 史 4 目 录 目 录

More information

背 景 资 料 对 于 在 华 经 营 的 企 业 里, 人 力 资 源 管 理 绝 不 是 一 件 轻 松 的 工 作 HR 从 业 者 除 了 要 具 备 猎 人 的 眼 光 心 理 学 家 的 耐 心 谈 判 专 家 的 口 才, 更 为 重 要 的 是, 还 需 要 具 备 专 业 的 法

背 景 资 料 对 于 在 华 经 营 的 企 业 里, 人 力 资 源 管 理 绝 不 是 一 件 轻 松 的 工 作 HR 从 业 者 除 了 要 具 备 猎 人 的 眼 光 心 理 学 家 的 耐 心 谈 判 专 家 的 口 才, 更 为 重 要 的 是, 还 需 要 具 备 专 业 的 法 R Professional Information for You 人 力 资 源 法 务 合 规 系 列 Human Resource Legal Compliance Management Series 深 圳 Shenzhen Putonghua / 普 通 话 9:00am-5:30pm 系 列 一 : 人 力 资 源 合 规 风 险 分 析 与 员 工 关 系 管 理 2013 年 11

More information

计算机网络概论

计算机网络概论 1 repeater bridge router gateway V.S OSI Repeater(Hub) 1 Repeater 2 3 ( Hub 4 Bridge 1 Bridge 2 N N DL1 DL1 DL2 DL2 Ph1 Ph1 Ph2 Ph2 1 2 Bridge 3 MAC Ethernet FDDI MAC MAC Bridge 4 5 6 7 50873EA6, 00123456

More information