Presentation is loading. Please wait.

Presentation is loading. Please wait.

SIP Programming : SIP has texture encoding feature. [1] SIP allows third parties or user to program SIP follows HTTP programming model.

Similar presentations


Presentation on theme: "SIP Programming : SIP has texture encoding feature. [1] SIP allows third parties or user to program SIP follows HTTP programming model."— Presentation transcript:

1 SIP Programming : SIP has texture encoding feature. [1] SIP allows third parties or user to program SIP follows HTTP programming model

2 Programming Mechanisms: Programming Mechanisms: In order to develop services programmers needs APIs Three mechanisms suggested in IETF: [2] –SIP Call Processing Language ( SIP – CPL ) –SIP Common Gateway Interface ( SIP – CGI ) –SIP Servlet Other efforts –Parlay –JAIN™

3 Call Processing Language (CPL) : Designed by the IETF to support sophisticated telephony services –May be used by both SIP or H.323. XML based scripting language for describing controlling call services [3] –Simple Syntax –Extendible –Easily edited by GUI tools Scripts runs on network SIP signaling server to create end user services –Lightweight CPL interpreter is need to parser & validate scripts.

4 CPL Example : A simple script that blocks anonymous callers [4] ;

5 Common Gateway Interface (CGI) : Almost identical to HTTP CGI [5] Language independent ( Perl, Tcl, C, C++,... ) –Any binary may be executed as a separate program Suitable for services that contains substantial web content Passes message parameters through environmental variables to a separate program. –More flexible but more risky Feb. 1, 2001: RFC 3050 (Common Gateway Interface for SIP) published [6]RFC 3050

6 Java Servlets : Similar to HTTP servlets Instead of using a separate process, messages are passed to a class The class runs within a JVM (Java Virtual Machine) on server Security provided by Java Portable between OSs & servers

7 JAIN™ SIP API: Low level API that maps to IETF - RFC 2543 Interfaces for services across circuit switched and packet networks Three major objectives : –Service Portability – Write Once Run Anywhere –Network Converges – Any underlying network architecture IP, ATM,Wireless,... –Service Provider Access by Anyone

8 Three SIP APIs under JAIN initiative; –JAIN™ SIP API (JSR 32) : Low level API for almost any signaling protocol ( SIP, H.323,... ) Requires extensive knowledge of SIP. Avaliable at Final Release, http://jcp.org/jsr/stage/final.jsphttp://jcp.org/jsr/stage/final.jsp –JAIN™ SIP Lite : High Level API for rapid application development –Especially User Agent development Under development, http://jcp.org/jsr/detail/125.jsphttp://jcp.org/jsr/detail/125.jsp –SIP Servlets : [7] API for SIP servlets Under development, http://jcp.org/jsr/detail/116.jsphttp://jcp.org/jsr/detail/116.jsp JAIN™ SIP API: ( Cont.)

9 Conclusion: As the arena become more & more crowded for service providers, the choice of the appropriate service creation mechanism inherently follows HTTP service creation mechanisms and highly depends on different scenarios where security,portability and performance have different roles of importance.

10 References : [1],[5] Sisalem D.,Kuthan J., Understanding SIP, Http://iptel.org/sip/siptutorial.pdf Http://iptel.org/sip/siptutorial.pdf [2] Programming SIP, http://www.sipcenter.com/aboutsip/progsip.htmhttp://www.sipcenter.com/aboutsip/progsip.htm [3] Rosenberg D.J, Shockey R., The Session Initiation Protocol (SIP), ComputerTelephony, June 2000 [4] A Spotlight on Call Processing Language, http://www.ubiquity.net/cpl.htmlhttp://www.ubiquity.net/cpl.html [6] News, http://www.cs.columbia.edu/~hgs/sip/http://www.cs.columbia.edu/~hgs/sip/ [7] Java Specification Request,JSR 116,SIP Servlet API, http://jcp.org/jsr/detail/116.jsp http://jcp.org/jsr/detail/116.jsp


Download ppt "SIP Programming : SIP has texture encoding feature. [1] SIP allows third parties or user to program SIP follows HTTP programming model."

Similar presentations


Ads by Google