7 SIP (II) Call flow for basic call scenario In the case of registration and finding the SIP user Collecting the bill Multiparty conferencing with SIP
Full text
(2) Burapha University. ก
(3) ! "#!
(4) $ Department of Computer Science. 7 SIP (II) Call flow for basic call scenario In the case of registration and finding the SIP user Collecting the bill Multiparty conferencing with SIP Ver. 0.1.
(5) ก
(6) : !"# $ !%
(7) !&' , [email protected].
(8) :#.0; Basic call scenario 4 SIP Call Flow 4 Call Termination 4 Busy Call. Call-Handling Services with SIP 4 Registration and Location 4 The proxy function 4 Multiparty Conferencing. Conclusion -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 2 "#ก 37.
(9) Basic call scenario. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 3 "#ก 37.
(10) Basic call scenario Mark wants to call John 4 sip:[email protected] 4 JohnNs IP address is known. SIP communicates using transactions Call steps 4 A SIP client calls another SIP endpoint by sending an INVITE request message. 4 The INVITE message usually contains enough information to allow the called terminal to immediately establish the requested media connection to the calling endpoint. 4 The called endpoint needs to indicate that it is accepting the request. This is the purpose of the 200 OK response message. 4 Since the request was an invitation, the 200 OK response usually also contains the media capabilities of the called endpoint, and where it is expecting to receive the media data. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 4 "#ก 37.
(11) Basic call scenario SIP - Call Flow. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 5 "#ก 37.
(12) Basic call scenario Example H INVITE and its ACK. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 6 "#ก 37.
(13) Basic call scenario Forking an INVITE request. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 7 "#ก 37.
(14) Basic call scenario Provisional Responses. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 8 "#ก 37.
(15) Basic call scenario Call Termination 4 Send the BYE message 4 Confirm with the ACK message John. Mark. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 9 "#ก 37.
(16) Basic call scenario Busy Call 4 486 BUSY HERE 4 600 BUSY EVERYWHERE. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 10 "#ก 37.
(17) Basic call scenario Complete call. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 11 "#ก 37.
(18) Basic call scenario Complete call. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 12 "#ก 37.
(19) Call-Handling Services with SIP. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 13 "#ก 37.
(20) Call-Handling Services with SIP A server could do as follow 4 4 4 4. Register SIP user agents in a certain area (registrar behavior). Reply to other SIP server location requests (location server behavior). Handle outgoing calls of locally registered SIP devices (stateful proxy). Propagate simple instant-messaging messages without modification (stateless proxy). 4 Implement certain complex applications such as contact center call distribution for calls to certain numbers, using back-to-back user agent behavior.. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 14 "#ก 37.
(21) Call-Handling Services with SIP The registrar function 4 A registrar is a server that accepts REGISTER requests. 4 The same server may also implement other SIP functions (e.g., serve as a proxy). 4 Registrars are needed to keep track of the current location of a user agent. 4 The IP address of a user agent may change under a number of situations: connection via an ISP providing dynamic addresses, connection on a LAN that provides addresses via DHCP, or a roaming user. 4 In order to be able to reach this user from its SIP address, an entity in the SIP network needs to maintain the mapping between SIP addresses and IP addresses: this is the purpose of the registrar. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 15 "#ก 37.
(22) Call-Handling Services with SIP The registrar function. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 16 "#ก 37.
(23) Call-Handling Services with SIP The registrar function H Updating registrar information. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 17 "#ก 37.
(24) Call-Handling Services with SIP Locating users from SIP addresses 4 SIP addresses are called URIs (Uniform Resource Identi.ers). 4 URIs are really names (except those SIP addresses that use an IP host address, such as the address used in our simple call example), they do not refer directly to the transport address to be called but to an abstract entity that can reach the user directly or indirectly. 4 SIP URIs have two major forms, an email-like form, and a telephone number form. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 18 "#ก 37.
(25) Call-Handling Services with SIP Locating users from SIP addresses 4 SIP URIs have two major forms 4 email-like form 4 The general format of email-form SIP URIs is user@host, where host is usually a fully qualified domain name that can be resolved to an IP address using the DNS system. In many cases the SIP address of a user will be the same as his email address. 4 telephone number form 4 The general format of a telephone number-form SIP is phone-number@host;user=phone 4 Because SIP is still mainly used for telephone calls, this is one of the most widely used formats in SIP networks. The host part is optional and may indicate a server that can reach this phone number 4 Most telephony systems, however, can decide where to route the phone call based on the phone number only so, the domain name part is not present in most telephony applications. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 19 "#ก 37.
(26) Call-Handling Services with SIP Common SIP URL formats. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 20 "#ก 37.
(27) Call-Handling Services with SIP Redirect server 4 A redirect server responds to an INVITE request with a 3xx reply (or rejects the call with a client error or server error) 4 A redirect server can be used in conjunction with a registrar to redirect calls to the current location(s) of the caller. 4 Redirect servers can be useful tools to improve the scalability of complex call management systems. 4 Using maddr parameter of the Contact field: 4 <sip:[email protected]:9999; maddr = sophisticatedACD3.callcenter.com> -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 21 "#ก 37.
(28) Call-Handling Services with SIP Redirect server. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 22 "#ก 37.
(29) Call-Handling Services with SIP The proxy function Definition 4 A proxy server acts as a server on one side (receiving requests) and as a client on the other side (possibly sending requests). 4 Strictly speaking, a proxy should be mostly transparent to user agent messages, simply passing messages and changing them in very limited ways. 4 A proxy can forward a request without any change to its final destination, it can decide to validate requests, authenticate users, fork requests, resolve addresses, and cancel pending calls, etc. 4 Depending on the level of control the proxy has over the SIP messages it processes it can be a stateless proxy, a stateful proxy, or even a back-to-back user agent -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 23 "#ก 37.
(30) Call-Handling Services with SIP The proxy function A stateless proxy 4 simply chooses the next hop destination for an incoming SIP message using To header information 4 keeps no state for the call or even the transaction (it will not handle retransmissions, but simply pass them on transparently). 4 For instance, a stateless proxy will not carry out any local processing for a CANCEL request other than forward it, and will not even acknowledge locally any response, but simply pass it transparently to the original sender of the request. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 24 "#ก 37.
(31) Call-Handling Services with SIP The proxy function A stateful proxy 4 more useful, as they can keep any state relative to the call and all transactions involved in the call. 4 Stateful proxies also manage locally some aspects of the transactions (e.g., they will handle retransmissions locally and acknowledge the final responses, except 200 OK and CANCEL requests). 4 Stateful proxies can serve most call control purposes required in a SIP network 4 Since a stateful proxy memorizes when a call has begun, it can generate call detail records about the duration of the call when the call ends. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 25 "#ก 37.
(32) Call-Handling Services with SIP The proxy function A stateful proxy H a simple call. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 26 "#ก 37.
(33) Call-Handling Services with SIP The proxy function A stateful proxy H 200 OK response. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 27 "#ก 37.
(34) Call-Handling Services with SIP The proxy function Billing for a SIP call 4 The user calls through the proxy 4 In order to force the user to go through the proxy to make calls, one option is to control a firewall in the network from the proxy 4 This prevents the user from trying to bypass the call-accounting feature of the proxy. 4 In reality, all VoIP devices in the network are configured to accept calls only if the INVITE comes from the service provider proxy 4 this can be done by simple access control lists (ACLs) restricting SIP signaling traffic on the routers connected to these resources. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 28 "#ก 37.
(35) Call-Handling Services with SIP The proxy function Billing for a SIP call. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 29 "#ก 37.
(36) Call-Handling Services with SIP Multiparty Conferencing Multicast Conferencing 4 A multicast conference is a conference in which media streams are sent using multicast 4 When multicast signaling is used to establish multiparty conferences, SIP requests are carried using UDP, since this is the only transport protocol that can be multicast over IP. 4 Multicast requests are expected to be used mostly to set up conference calls, and therefore the destination URL will generally be a conference name rather than an individual. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 30 "#ก 37.
(37) Call-Handling Services with SIP Multiparty Conferencing Multicast Conferencing. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 31 "#ก 37.
(38) Call-Handling Services with SIP Multiparty Conferencing Multi-unicast conferencing 4 In the case of multi-unicast signaling, there is no significant difference from the point-to-point case, except that the SDP session descriptions indicate multicast addresses and the offer/answer model is also a bit modified compared with the unicast media case 4 The support of SIP for multi-unicast media conferences is limited. 4 A central entity can be set up to act as an MCU to either mix or switch incoming media streams. 4 The central bridge could implement very simple foor control by using REINVITES with the inactive, recvonly, or sendrecv SDP attributes. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 32 "#ก 37.
(39) Call-Handling Services with SIP Multiparty Conferencing Multi-unicast conferencing. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 33 "#ก 37.
(40) Call-Handling Services with SIP Multiparty Conferencing Ad hoc conferencing 4 SIP provides a simple and elegant way to switch from an existing point-topoint unicast call (AfB) to a multiparty multicast conference (AfBfCf. . .). 4 The person (e.g., A) who wants to invite a new participant to the conference sends an INVITE message to the other party (B) and the new participant (C) with the parameters for the new session (i.e., a multicast address and eventually new coders instead of a unicast address) but keeps the old Call-ID. 4 Keeping the same Call-ID tells B that this is not a new call, but new parameters for the existing call. 4 This method can also be used to change session parameters in an existing call. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 34 "#ก 37.
(41) Call-Handling Services with SIP Multiparty Conferencing Ad hoc conferencing 4 Ad hoc conferencing using unicast streams is also possible; in this case the new INVITE message redirects all streams to a media-mixing function. 4 Many SIP phones implement such a mixing function locally for up to three media streams (three-way conferencing), in which case it is not necessary to redirect the media streams, the phone simply activates the mixing function for all the streams it receives.. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 35 "#ก 37.
(42) Conclusion. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 36 "#ก 37.
(43) Conclusion Conclusion 4 SIP quickly absorbs new applications and extensions (IETF drafts are a good wayof documenting most of these extensions before they actually get to the standardgif indeed they do). 4 There is no stability to the protocol: little or no attention is paid to actual deployment and migration issues. 4 Priority is given to the addition of features, as opposed to securing a robust design first and then add features. The ITU approach is almost the exact opposite: ITU authored many fundamental tools for telecom products designs, like the ASN.1 syntax or the SDL state machine description language, and only then designed protocols to build on this robust set of foundation tools. SIP has a very broad scope, but is still very fragile as a protocol. 4 Many Nbuzzwordh applications (e.g., presence) are getting much of the attention and standardization effort, while more fundamental revenue-generating features, but more boring, still have issues. This is the i99% completek syndrome. SIP still has many open issues for its application to basic telephony. -./"0ก12 "3456378/907. 310482: Internet Telephony, 7: SIP (II). 37 "#ก 37.
(44)
Related documents
March, 1989 FAIRFIELD
90 days prior to expiration, the WeLINK server will continually notify ALL conference room moderators of the approaching expiration date, so there is sufficient time to renew
Unique combinations of both the facies and petrophysical modeling algorithm have been used to build various realizations of static models and volumes were
Based on the analysis of the initial measurements, we proposed other architectures that combine OpenSAF high availability and the virtualization provided by VMware.. Our
Conference policy manipulation could be done, for example, using a web application or some pro- prietary protocol, but as stated by 3GPP, a standardized way would be
This paper presented a mechanism to provide scalable, stable and secure SIP services for MANETS, by adapting SIP service for Ad hoc networks using a nomination-based mechanism
For more explicit details specific to your organization, please reference the appropriate Office of Management and Budget (OMB) Circulars or your Grantor’s General
Action based on DTMF tones Ring group A virtual extension enabling a group of phones to ring Ring queue An advanced ring group with a queue. Call center An advanced