<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
You don't need to use OverSIP to use the WebSocket module in Kamailio.&nbsp; The Kamailio implementation will allow you connect one or more WebSocket clients directly to Kamailio and make calls between them.&nbsp; It can also be used to convert calls from the WebSocket transport to SCTP/TCP/UDP for routing to other proxies.<BR>
<BR>
Although Kamailio doesn't support the full set of outbound features needed for WebSockets (yet) it is possible to use the same NAT traversal techniques that are used for TCP clients that connect through a NAT.&nbsp; These are pretty trivial to use/set-up and there is an example Kamailio configuration file in the WebSockets module directory that does this.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
<BR>
On Tue, 2012-08-07 at 09:30 +0200, Muhammad Shahzad wrote:
<BLOCKQUOTE TYPE=CITE>
    For WS client, you can try SIPML5,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <A HREF="http://code.google.com/p/sipml5/">http://code.google.com/p/sipml5/</A>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Just download source code to some web server's root and edit call.html to point to your web sockets server (Kamailio or OverSIP).
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    You can install OverSIP as follows (below instructions are for Debian 6.x / Ubuntu 11.x)
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    apt-get install build-essential&nbsp;ruby1.9.1-full libev-dev
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    gem1.9.1 install oversip
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    ln -s /var/lib/gems/1.9.1/gems/oversip-1.0.5/etc /etc/oversip
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    And then finally edit /etc/oversip/oversip.conf for your needs. Your web sockets address and port should be same as what you have mentioned in sipml5/call.html page.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    You can start oversip as, (there is an init.d script in sources, but its not installed by gem1.9.1)
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    oversip -P /var/run/oversip.pid
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    The advantage of OverSIP is that it supports PATH and outbound support, so you can create chain of SIP proxies.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Thank you.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On Tue, Aug 7, 2012 at 12:40 AM, Carlos Ruiz D&#237;az &lt;<A HREF="mailto:carlos.ruizdiaz@gmail.com">carlos.ruizdiaz@gmail.com</A>&gt; wrote:<BR>
    <BLOCKQUOTE>
        Hello list,
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        I'm trying to test the websocket module on Kamailio but I currently lack of a working web SIP phone that makes use of the websocket transport protocol. I'm trying with <A HREF="https://github.com/versatica/OverSIP">OverSIP</A>&nbsp;but there's no documentation on how to try it (and I don't do Ruby).
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Is there another HTML5 SIP client that I can use or at least a page where I can find documentation about how to configure OverSIP?&nbsp;
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Regards.
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <FONT COLOR="#888888">Carlos.</FONT>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        _______________________________________________<BR>
        sr-dev mailing list<BR>
        <A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A><BR>
        <A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    -- <BR>
    Muhammad Shahzad<BR>
    -----------------------------------<BR>
    CISCO Rich Media Communication Specialist (CRMCS)<BR>
    CISCO Certified Network Associate (CCNA)<BR>
    Cell: +92 334 422 40 88<BR>
    MSN: <A HREF="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</A><BR>
    Email: <A HREF="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</A>
<PRE>
_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>