<!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 Carlos,<BR>
<BR>
You do need a SIP over WebSockets client (for example, an HTML5 SIP phone) to use the WebSocket transport.&nbsp; sipml5, running on Google Chrome Beta (or Canary) with the PeerConnection API enabled, works just fine with the Kamailio WebSocket implementation without any additional software being needed.<BR>
<BR>
OverSIP is alternative SIP proxy that you could use instead of (or in addition to Kamailio), but you do not need this at all if you just want to connect a WebSocket client to Kamailio.<BR>
<BR>
You can make calls between WebSocket clients, or you can make calls between WebSocket clients and non-WebSocket clients using Kamailio (you just need to make sure that the non-WebSocket clients support the correct set of media options).<BR>
<BR>
If you look in the history of the sr-dev mailing list there is a thread between 07/07/2012 and 09/07/2012 about using the WebSocket module.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
On Tue, 2012-08-07 at 11:25 -0400, Carlos Ruiz D&#237;az wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi Peter,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Could you please explain a little bit more about how to test the module without using a HTML5 SIP phone?&nbsp;
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    AFAIK, I need a HTML5 SIP client (on a browser that supports websocket) plus a media stack capable of transporting RTP packets, such webRTC. So far I couldn't be able to get this components to work at all.&nbsp;
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Thanks for your help.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Carlos<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On Tue, Aug 7, 2012 at 5:41 AM, Peter Dunkley &lt;<A HREF="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</A>&gt; wrote:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        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
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        <BR>
        <BR>
        On Tue, 2012-08-07 at 09:30 +0200, Muhammad Shahzad wrote: <BR>
        <BLOCKQUOTE TYPE=CITE>
            For WS client, you can try SIPML5,<BR>
            <BR>
            <BR>
            <A HREF="http://code.google.com/p/sipml5/">http://code.google.com/p/sipml5/</A><BR>
            <BR>
            <BR>
            Just download source code to some web server's root and edit call.html to point to your web sockets server (Kamailio or OverSIP).<BR>
            <BR>
            <BR>
            You can install OverSIP as follows (below instructions are for Debian 6.x / Ubuntu 11.x)<BR>
            <BR>
            <BR>
            apt-get install build-essential&nbsp;ruby1.9.1-full libev-dev<BR>
            gem1.9.1 install oversip<BR>
            ln -s /var/lib/gems/1.9.1/gems/oversip-1.0.5/etc /etc/oversip<BR>
            <BR>
            <BR>
            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.<BR>
            <BR>
            <BR>
            You can start oversip as, (there is an init.d script in sources, but its not installed by gem1.9.1)<BR>
            <BR>
            <BR>
            oversip -P /var/run/oversip.pid<BR>
            <BR>
            <BR>
            The advantage of OverSIP is that it supports PATH and outbound support, so you can create chain of SIP proxies.<BR>
            <BR>
            <BR>
            Thank you.<BR>
            <BR>
            <BR>
            <BR>
            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, <BR>
                <BR>
                <BR>
                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). <BR>
                <BR>
                <BR>
                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; <BR>
                <BR>
                <BR>
                Regards. <BR>
                <BR>
                <BR>
                <FONT COLOR="#888888">Carlos.</FONT> <BR>
                <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>
            <BR>
            <BR>
            <BR>
            <BR>
            -- <BR>
            Muhammad Shahzad<BR>
            -----------------------------------<BR>
            CISCO Rich Media Communication Specialist (CRMCS)<BR>
            CISCO Certified Network Associate (CCNA)<BR>
            Cell: <A HREF="tel:%2B92%20334%20422%2040%2088">+92 334 422 40 88</A><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>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
    </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>
<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>