<!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.6.1">
</HEAD>
<BODY>
Hello,<BR>
<BR>
This topic has been covered many times on the Kamailio/SIP Router lists and the answers you require can be found by searching the lists.<BR>
<BR>
I will briefly recap:
<UL>
    <LI>SIP signalling and media are totally separate things
    <LI>SIP over WebSockets will allow an HTML5 based client to exchange signalling information with standard soft-phones and hard-phones.&nbsp; However, this does not mean that the media will interwork
    <LI>HTML5 media streaming uses WebRTC.&nbsp; WebRTC mandates the use of the RTP/SAVPF media profile which is not yet supported by many soft-phones, hard-phones, or media servers
</UL>
<BR>
This means that, provided you have configured Kamailio and sipml5 correctly, you can get the signalling part of a call working but you will almost certainly have media issues.&nbsp; Kamailio is a SIP signalling device, not a media device, so fixing these media issues is outside of the scope of Kamailio.<BR>
<BR>
You do have a few of options with regards to the media but they are limited at the moment.
<UL>
    <LI>You can try and find a phone/client that supports RTP/SAVPF (the only ones I know of are the Doubango clients and they sometimes have other issues).
    <LI>You can use a media server to convert from RTP/SAVPF (Asterisk supports this in theory, but does have issues - I believe there are fixes in the latest Asterisk trunk if you want to compile it yourself - and there may be some non-open-source media servers available).
    <LI>You can use an RTP Proxy to convert from RTP/SAVPF (erlrtpproxy has this feature on the roadmap, but I don't know whether it is available yet).
</UL>
<BR>
As for IE support, your guess is as good as mine.&nbsp; Microsoft has its own agenda and has recently been pushing the competing CU-Web-RTC specification.&nbsp; I have a personal opinion about how things will eventually evolve but no facts to share here - I don't believe anyone outside of Microsoft could tell you what will actually happen with IE.<BR>
<BR>
Regards,<BR>
<BR>
Peter<BR>
<BR>
<BR>
On Mon, 2013-01-28 at 20:45 +0200, Pirjo Ahvenainen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Greetings gurus!

I'm playing with an idea to create a web based softphone (html5 + no
installations for the end user) and use Kamailio's websocket module
for backend. I'd love to hear about your comments, challenges and
successes using such configuration. Is it a feasible way to construct
a softphone even today when even IE9 does not support websockets, as
such? I'm sure IE9 will end up in specs as a must-support platform.

A collegue tried using sipml5 with webrtc against a SnomONE pbx (I
know... ;)), and said there's no way it can work, but I'm not
convinced the idea itself wouldn't work.

It would help me lots if I could make a simple example using Kamailio
with SIP over websockets, can you comment on how much effort do I need
on Kamailio side to make this work? Do I need off-default config
scripting, or is it enough to just set up the module and set the
parameters? And even with the risk of stepping a little off topic, if
anyone has worked on web based softphones, I'd love to hear if you can
recommend on how to approach this.

Cheers,
Pirjo

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</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>