<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Rahul,<br>
    <br>
    Don't take me wrong, but you still have some homework to do. Apache
    is not a requirement for webrtc ( apart hosting the website ). The
    only difference between using http and https is that by default on
    http, most browsers will always ask for the user to confirm usage of
    the mic/cam. <br>
    <br>
    WS and WSS works with Kamailio, it's only a question of
    configuration ( for which there are many examples, most are broken
    but easily fixed, for example for
    <a class="moz-txt-link-freetext" href="https://github.com/caruizdiaz/kamailio-ws">https://github.com/caruizdiaz/kamailio-ws</a> , it's only fixing the
    record routes to get sip2ws signaling working ).<br>
    <br>
    Regarding rtp, you have to use rtpengine ( master from repo, not a
    release, dtls broken in latest 3.7.1, fixed in 3.8 ) or something
    else to be able to terminate ICE/DTLS when remote endpoints don't
    support them ( most of SIP ua's today unfortunately ), again, read,
    experiment, you'll eventually get it and the most important, know
    how your platform works !<br>
    <br>
    Start with basic browser to browser calls, without a rtp proxy, it
    should work almost out of the box, then you can add some
    functionnality to the basic scenario, and I'll be glad to point you
    to the right direction !<br>
    <br>
    Good luck !<br>
    <br>
    <div class="moz-cite-prefix">Le 27/01/2015 03:21, Rahul MathuR a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAM8wsqL=5bw-a_9hhDCHvPqU0MzGu9n6xT9jkD7bFz2ifJPZdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Any thoughts on this gents ?
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jan 27, 2015 at 8:09 AM,
          rahul.ultimate <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:rahul.ultimate@gmail.com" target="_blank">rahul.ultimate@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div>Kamailio is just acting as a proxy and protocol
                modifier so to say. It is workin with rtpengine from
                sipwise to handle media as evident from he logs.</div>
              <div>This architectue uses a TURN server  and the browser
                 is chrome with latest updates.</div>
              <div><br>
              </div>
              <div>The only thing whih I haven't done is enable TLS in
                kamailio and create certs. (which I'm not completely
                sure how to do)..</div>
              <div>Also, does it necessitates to have Apache ruuning
                https on 443 ?</div>
              <div><br>
              </div>
              <div>Thanks in advance </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>
                <div style="font-size:75%;color:#575757">Sent from
                  Samsung Mobile</div>
              </div>
              <div>
                <div class="h5"><br>
                  <br>
                  -------- Original message --------<br>
                  From: Gonzalo Gasca Meza <br>
                  Date:27/01/2015 4:07 AM (GMT+05:30) <br>
                  To: "Kamailio (SER) - Users Mailing List" <br>
                  Subject: Re: [SR-Users] Need help on WebRTC with
                  Kamailio as proxy <br>
                  <br>
                  <div dir="ltr">Are you terminating media in Kamailio
                    or just handling WS communication? If yes which
                    version of Kamailio and rtp-proxy ?<input
                      name="virtru-metadata"
value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"expires":false},"attachments":{}}"
                      type="hidden">
                    <div>
                      <div>Have you tried passing media directly between
                        Browser and Kamailio with any TURN server?</div>
                    </div>
                    <div><br>
                    </div>
                    <div>Are you using latest Chrome version or FF ?<br>
                    </div>
                    <div><br>
                    </div>
                    <div>A working sample config using the following
                      architecture:</div>
                    <div><br>
                    </div>
                    <div><a moz-do-not-send="true"
                        href="https://github.com/spicyramen/llamato/tree/LlamatoReg"
                        target="_blank">https://github.com/spicyramen/llamato/tree/LlamatoReg</a><br>
                    </div>
                    <div><br>
                    </div>
                    <div>signalling: sipml5 -- ws/wss -->  Ec2
                      Kamailio --sip udp--> FS --sip udp--> *</div>
                    <div>media:      sipml5
                      ------------------------------------------------------------------------>
                      *</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Mon, Jan 26, 2015 at
                      12:44 PM, Rahul MathuR <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:rahul.ultimate@gmail.com"
                          target="_blank">rahul.ultimate@gmail.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <div dir="ltr">Hi Richard,
                          <div><br>
                          </div>
                          <div>Thanks for spending some cycles on it.</div>
                          <div><br>
                          </div>
                          <div>It is OpenSSL 1.0.1e-fips 11 Feb 2013</div>
                        </div>
                        <div class="gmail_extra">
                          <div>
                            <div><br>
                              <div class="gmail_quote">On Tue, Jan 27,
                                2015 at 2:04 AM, Richard Fuchs <span
                                  dir="ltr"><<a
                                    moz-do-not-send="true"
                                    href="mailto:rfuchs@sipwise.com"
                                    target="_blank">rfuchs@sipwise.com</a>></span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex"><span>On
                                    26/01/15 02:21 PM, Rahul MathuR
                                    wrote:<br>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex">
                                      Hello,<br>
                                      <br>
                                      I am totally struck at a point
                                      while implementing Kamailio as
                                      proxy for<br>
                                      WebRTC enabled UAC (Jssip). I am
                                      using Google's TURN server<br>
                                      (rfc5766-turn-server for
                                      ICE/STUN). I am able to get to the
                                      point where<br>
                                      the SIP server sends 183 session
                                      in progress to kamailio but after
                                      that<br>
                                      I can only see -<br>
                                      "STUN: using this candidate"<br>
                                      "Successful STUN binding request
                                      from .."<br>
                                      "SRTP output wanted, but no crypto
                                      suite was negotiated"<br>
                                    </blockquote>
                                    <br>
                                  </span>
                                  This is fairly strange:<br>
                                  <br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    Jan 27 00:35:46 localhost
                                    rtpengine[5262]:
                                    [tsb1jrsqsadn33jjsi4f port 30794]
                                    Failed to set up SRTP after DTLS
                                    negotiation: no SRTP protection
                                    profile negotiated<br>
                                    Jan 27 00:35:46 localhost
                                    rtpengine[5262]:
                                    [tsb1jrsqsadn33jjsi4f port 30794]
                                    Failed to set up SRTP after DTLS
                                    negotiation: no SRTP protection
                                    profile negotiated<br>
                                  </blockquote>
                                  <br>
                                  Are you running a very old OpenSSL
                                  version  by any chance?<br>
                                  <br>
                                  cheers
                                  <div>
                                    <div><br>
                                      <br>
                                      _______________________________________________<br>
                                      SIP Express Router (SER) and
                                      Kamailio (OpenSER) - sr-users
                                      mailing list<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:sr-users@lists.sip-router.org"
                                        target="_blank">sr-users@lists.sip-router.org</a><br>
                                      <a moz-do-not-send="true"
                                        href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                        target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                              <br>
                              <br clear="all">
                              <div><br>
                              </div>
                            </div>
                          </div>
                          <span><font color="#888888">-- <br>
                              <div>Warm Regds.<br>
                                MathuRahul<br>
                              </div>
                            </font></span></div>
                        <br>
                        _______________________________________________<br>
                        SIP Express Router (SER) and Kamailio (OpenSER)
                        - sr-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:sr-users@lists.sip-router.org"
                          target="_blank">sr-users@lists.sip-router.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                          target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Warm Regds.<br>
          MathuRahul<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" 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>
  </body>
</html>