Developing rich SIP applications with SIPSIMPLE SDK
Upcoming SlideShare
Loading in...5
×
 

Developing rich SIP applications with SIPSIMPLE SDK

on

  • 3,965 views

Talk given at FOSDEM 2011.

Talk given at FOSDEM 2011.

Statistics

Views

Total Views
3,965
Views on SlideShare
2,851
Embed Views
1,114

Actions

Likes
0
Downloads
53
Comments
4

12 Embeds 1,114

http://saghul.net 997
http://code.saghul.net 90
url_unknown 17
http://static.slidesharecdn.com 2
http://codetest.saghul.net 1
http://localhost:8000 1
http://webcache.googleusercontent.com 1
http://feeds.feedburner.com 1
http://www.slideshare.net 1
http://posterous.com 1
http://www.saghul.net 1
https://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • @sammygo There is no silver bullet for auto-completion, but here are some examples you can follow: https://github.com/saghul/sipsimple-examples
    Are you sure you want to
    Your message goes here
    Processing…
  • Thanks Saul, that link is really helpful to know the methods. How do you suggest I use auto-completion while developing an App on SylkServer!?
    Probably few smaller applications closer to life rather 'hello World' would be better in understanding the server.
    I'm talking about some walk through/guided blog post on making a small application on sylkserver ! if you know what I mean!! ;)
    Are you sure you want to
    Your message goes here
    Processing…
  • @sammygo Well, you could say that about any language, if you are not using an editor with proper auto-completion :-) Currently there is no guide for SylkServer, you can check the SIPSIMPLE SDK documentation here: http://sipsimpleclient.com/projects/sipsimpleclient/wiki/SipMiddlewareApi and feel free to ask questions in our SIP Beyond VoIP mailing list: http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
    Are you sure you want to
    Your message goes here
    Processing…
  • Its really interesting but the problem I'm feeling with the python code is that one need to know exact spellings of functions and member variables when typing in linux editors.
    Unless I remember all the key-words OR I've a IDE for this I may not be able to write a good application !!
    Is there any guide available for sylkserver.?
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Developing rich SIP applications with SIPSIMPLE SDK Developing rich SIP applications with SIPSIMPLE SDK Presentation Transcript

  • Developing rich VoIP SIP applications with SIPSIMPLE SDKBecause G711 is not enough Saúl Ibarra Corretgé | AG Projects
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsWhat is SIPSIMPLE SDK? ● Framework to develop rich SIP applications ● Rich SIP applications? ● HD audio, MSRP chat, fle transfer, desktop sharing, presence, etc. ● Written in Python ● Core written in C + Python (Cython) ● Flexible ● Suitable for server and client applications FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsWhat is SIPSIMPLE SDK? (2) ● Extensible ● High level APIs for all expected functionality ● Standard ● RFC compliant ● Cross platform ● Windows, GNU/Linux, Mac OSX (10.5 or higher) ● Open Source: LGPL FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure Experts Feature set FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsFeatures (VoIP) ● HD audio (G722, speex) ● Secure RTP (SRTP) ● NAT traversal support with ICE ● Multi-party audio conferencing (builtin) FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsFeatures (Instant Messaging) ● Chat sessions over MSRP ● Simple messaging with SIP MESSAGE ● TLS support for MSRP ● NAT traversal using MSRP relay extension or ACM ● Support for subscribing to conference event FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsFeatures (File Transfer & Desktop Sharing) ● File transfer over MSRP stream ● Desktop sharing using VNC over MSRP ● Remote control! FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure Experts Implementation examples FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsImplementation example: Blink Cocoa FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsImplementation example: Blink Qt FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsImplementation example: SylkServer FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer birth Lets fix the chatserver and bring it up to date. That will require almost a complete rewrite! Then lets improve it: add audio support, subscriptions to the conference event, other applications... FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure Experts Talk is cheap. Show me the code. FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application skeleton FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application: James Bond ● Reject call if no audio is proposed ● Answer the call immediately ● Play the James Bond theme song FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application: Chuck NorrisMessenger ● Get a bunch of nice Chuck Norris Facts ● Reply with a random one for each incoming SIP MESSAGE FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application: Chuck NorrisMessenger 2 ● Get a bunch of nice Chuck Norris Facts ● Handle incoming sessions with MSRP chat ● Reply with a random Chuck Norris fact to any message received FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application: AudioConf ● Single room audio conference ● Bridge everyone into the same room when they join FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSylkServer application: Twitter Search ● Chat something@server ● Get a big chat message with the last 15 tweets with something on them FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSIP client: Hello World 1 ● Simple SIP client which calls to 3333@sip2sip.info ● Uses the default Bonjour account (always present) ● Simplest possible example FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsSIP client: Hello World 2 ● Extension of helloworld1 ● Call any SIP URI ● Hangup ● CLI style interface ● Also very simple FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsResources ● SIPSIMPLE SDK (LGPL) ● http://sipsimpleclient.com ● Blink SIP client (GPLv3) ● http://icanblink.com ● SylkServer SIP application server (GPLv3) ● http://sylkserver.com ● Code used in this presentation (GPLv3) ● http://github.com/saghul/sipsimple-examples FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsQuestions? FOSDEM 2011
  • AG Projects Developing rich SIP applications with SIPSIMPLE SDKThe SIP Infrastructure ExpertsBYE BYE sip:audience@fosdem2011 SIP/2.0 Via: SIP/2.0/UDP 192.168.99.23:49919;rport;branch=z9hG4bKPjDb30Dx0sH-ozn9QB.cCCboyU.atR97aM Max-Forwards: 70 From: "saghul" <sip:saul@ag-projects.com>;tag=UCpGKVZbQQx7BUKYtiuPEX668oa9jaU7 To: <sip:audience@fosdem2011>;tag=as59aef35c Call-ID: DEWDfu63OACwYeQk7MrhmRhRq.1cqqis CSeq: 10633 BYE Route: <sip:81.23.228.129;lr;ftag=UCpGKVZbQQx7BUKYtiuPEX668oa9jaU7;did=641.a8a9c553> User-Agent: blink-0.20.2 Content-Length: 0 @saghul saul@ag-projects.com sip:saul@ag-projects.com FOSDEM 2011