Project

General

Profile

DesignXMPP » History » Version 70

Adrian Georgescu, 09/03/2012 01:32 PM

1 1 Tijmen de Mes
h1. SIP/XMPP Gateway
2
3 70 Adrian Georgescu
h2. Background
4 1 Tijmen de Mes
5 70 Adrian Georgescu
Interoperability between XMPP and SIP protocol has become a necessity given that all closed or public Internet Services for Real Time Communications have migrated to a variant of these protocols, if not internally at least at their borders. Both protocols share common features, the most important one being the usage of Internet identifiers in the form of user@domain and replace the need for classic telephone numbers.
6
7
h2. Motivation
8
9
Various projects in the open source domain emerged to tackle the interoperability between XMPP and SIP but all focused on Presence Signaling or VoIP alone, never in the context of complete interoperability for all signaling and media. SylkServer XMPP gateway application goal is to cover this gap and provide an open source implementation for interoperability for all relevant media types and multimedia conferencing for them.
10
11
The goal is to implement a bidirectional signaling and media gateway for Presence, Session based Instant Messaging, Multiparty IM, Audio, and File Transfer for SIP and XMPP signaling protocols, RTP and MSRP media planes. This software will work with ZERO configuration, a simple command like  "apt-get install sylkserver"  will be enough for deployment of the gateway on a Debian Linux OS.
12
13 1 Tijmen de Mes
This research and development is part of the WormHole Project sponsored by "NLNet and AG Projects":http://nlnet.nl/project/xmpp-sip/.
14
15
!http://sylkserver.com/images/sylk-server-diagram.png!
16
17
h2. Deployment Scenario
18
19 69 Adrian Georgescu
By pointing the correspondent DNS records for SIP or XMPP services of a given Internet domain to the address of this gateway, any packet sent to or connection established to the gateway by one of the protocols is transparently translated into the other. The server is designed in such way that it requires zero-configuration (except of course for the DNS domains configuration).
20 1 Tijmen de Mes
21
h2. Specifications and Standards
22
23 49 Adrian Georgescu
h3. SIP Signaling and Media
24 42 Adrian Georgescu
25 50 Adrian Georgescu
* SIP (RFC3261) and related RFCs for DNS, SDP, ICE, RTP (too many to mention)
26 42 Adrian Georgescu
* MSRP Protocol http://tools.ietf.org/html/rfc4975
27
* MSRP Relay extension http://tools.ietf.org/html/rfc4976
28 60 Adrian Georgescu
* MSRP Alternative Connection Model (ACM) //tools.ietf.org/html/rfc6135
29 48 Adrian Georgescu
* Multi-party Chat Using MSRP http://tools.ietf.org/html/draft-ietf-simple-chat-14
30 42 Adrian Georgescu
31 44 Adrian Georgescu
h3. XMPP Signaling and Media
32 42 Adrian Georgescu
33 1 Tijmen de Mes
* XMPP core (RFC 6120) http://xmpp.org/rfcs/rfc6120.html
34 41 Adrian Georgescu
* XMPP extensions http://xmpp.org/xmpp-protocols/xmpp-extensions
35 31 Adrian Georgescu
* Instant Messaging and Presence http://xmpp.org/rfcs/rfc6121.html
36 1 Tijmen de Mes
* Multi-User Chat http://xmpp.org/extensions/xep-0045.html
37
* File Transfers http://xmpp.org/extensions/xep-0096.html
38
* Audio and Video Jingle http://xmpp.org/extensions/xep-0166.html
39
* Audio and Video  Jingle RTP http://xmpp.org/extensions/xep-0167.html
40
* Audio and Video Jingle ICE (UDP) http://xmpp.org/extensions/xep-0176.html
41
* Delivering Conference Information to Jingle Participants http://xmpp.org/extensions/xep-0298.html
42 23 Adrian Georgescu
43 42 Adrian Georgescu
h2. Protocol Translation Specifications
44 23 Adrian Georgescu
45 67 Adrian Georgescu
* "XMPP - SIP Core Interworking":http://tools.ietf.org/html/draft-saintandre-sip-xmpp-core-01
46 26 Adrian Georgescu
* "XMPP - SIP Presence":http://xmpp.org/internet-drafts/draft-saintandre-sip-xmpp-presence-02.html
47 22 Adrian Georgescu
* "XMPP - SIP Message":http://xmpp.org/internet-drafts/draft-saintandre-sip-xmpp-im-01.html
48 47 Adrian Georgescu
* "XMPP - MSRP Chat":http://xmpp.org/internet-drafts/draft-saintandre-sip-xmpp-chat-03.html
49 22 Adrian Georgescu
* "XMPP - MSRP Group Chat":http://xmpp.org/internet-drafts/draft-saintandre-sip-xmpp-groupchat-01.html
50 1 Tijmen de Mes
51 66 Adrian Georgescu
Lessons learned during implementation and [[XMPP-Interop| Suggestions for improvement of Protocol Translation Specifications]]
52 61 Adrian Georgescu
53 8 Adrian Georgescu
h2. Progress
54 1 Tijmen de Mes
55 56 Adrian Georgescu
Completed items are operational on "SIP2SIP":http://sip2sip.info which supports Chat and Presence to gmail.com an jabber.org domains. Progress announcements are  made on "SIP beyond VoIP":http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip mailing list 
56 1 Tijmen de Mes
57 52 Adrian Georgescu
h3. Completed Items
58
59 51 Adrian Georgescu
* "Software Library Analysis":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_analysis
60
* "Gateway Design":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_arch
61
* "SIP-XMPP Chat":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_im
62
* "SIP-XMPP Presence":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_presence
63
* "SIP-XMPP Multiparty Chat":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_conference
64
65
h3. Roadmap
66 38 Adrian Georgescu
67
* "SIP-XMPP Jingle Audio":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_jingle
68
* "SIP-XMPP File Transfer ":http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesginXMPP_ft