SIP was to some extent derived from HTTP and so the two protocols have much in common. Both are request-response protocols and messages have very similar structure and formats. However, in terms of providing services, there are important differences between the two protocols:
- HTTP services (including HTTP servlet applications) are almost exclusively hosted on HTTP origin servers, that is, on the Web server generating the final response to requests (as opposed to a proxy server). In contrast, an important function of SIP applications is intelligent request routing and the ability to act as a proxy is crucial in this context.
- HTTP is not a peer-to-peer protocol as is SIP and web applications never originate requests. SIP applications, on the other hand, need the ability to initiate requests of their own. An application that accepts an incoming call may have to terminate it by subsequently sending a BYE request towards the caller, a wakeup-call application may have to send the initial INVITE establishing a dialog, and a presence server application needs to be able to initiate NOTIFY requests. A back-to-back user agent (B2BUA) is a type of network based application that achieves a level of control over calls not attainable through proxying, and that requires client functionality, also. These examples demonstrate why client-side functionality is necessarily part of a SIP service infrastructure and explains the presence of such functionality in the SIP Servlet API.
It follows that, in addition to the ability inherited from the Servlet API of responding to incoming requests, the SIP Servlet API MUST support the following capabilities:
- generate multiple response (for example, one or more 1xx followed by a final response)
- proxying requests, possibly to multiple destinations
- initiate requests
- receive responses as well as requests
分享到:
相关推荐
Differences between C++ and C# 可以看看。
What are the differences between least-squares and Kalman filtering
however, there are some significant differences between the capabilities of Silverlight and WPF, as well as important differences in the programming features of the two technologies. There are ...
The Differences Between Chinese and American Cultures from the Perspective of Politeness Utterances.zip
Talk Show Differences Between China and America from the Perspective of the Form and Express.zip
Differences between EEWB and BDT
Differences Between S32K11x and S32K142,11x系列与K142的不同
Cultural Differences in Diets Between China and the West.zip
飞思卡尔为处理器IMX51与IMX53的区别
The differences in perception of the role of marketing innovation and creativity in achieving a competitive edge for commercial banks between the bank’s staff and client’s,Tareq Quporsi,Fadi ...
英语和汉语的区别
state 50 differences between marketing and sales
Exercise 2.1: What are the differences between int, long, long long, and short? Between an unsigned and a signed type? Between a float and a double? Exercise 2.2: To calculate a mortgage payment, what...
SQL相关资料
Diagnostic differences between educationally handicapped and learning disabled students Pr~.rhulugv in the Schuul.r PPVT and MSCA with Autistic Children 469 1980. 17. 469-473 SCHOPLER, E. ...
Identification of statistically significant differences between scaled scores and psycholinguistic ages on the ITPA IDENTIFICATION OF STATISTICALIiY SIGNIFICANT DIFFERENCES BETWEEN SCALED SCORES ...
This new edition includes the differences between the Cortex-M0 and Cortex-M0+ processors such as architectural features (e.g. unprivileged execution level, vector table relocation), new chapters on ...
The Differences of Chinese and English中英文写作差异
When two people have made independent changes to a common original, diff3 can report the differences between the original and the two changed versions, and can produce a merged file that contains ...
Pressure differences between the left and the right sides in the shield chamber, and at different longitudinal positions, were found to be subject to the discharge ratio in the chamber. Furthermore, ...