<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-18 15:42 GMT+01:00 Marek Červenka <span dir="ltr"><<a href="mailto:cervajs@fpf.slu.cz" target="_blank">cervajs@fpf.slu.cz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>my experience with pjsip for webrtc<br>
<a href="http://lists.digium.com/pipermail/asterisk-users/2015-September/287562.html" target="_blank">http://lists.digium.com/pipermail/asterisk-users/2015-September/287562.html</a><br>
      <br>
      <br></div></div></blockquote><div>Yes I saw this post earlier today.<br>Having to fight 14 days scared me a bit !<br><br></div><div>Did you set sipml5 on your own server or did you use Live demo (<a href="https://www.doubango.org/sipml5/call.htm?svn=241">https://www.doubango.org/sipml5/call.htm?svn=241</a>) ?<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div>
      Dne 18.2.2016 v 15:36 Olivier napsal(a):<br>
    </div><span class="">
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2016-02-18 14:57 GMT+01:00 Simon
            Hohberg <span dir="ltr"><<a href="mailto:simon.hohberg@mcs-datalabs.com" target="_blank">simon.hohberg@mcs-datalabs.com</a>></span>:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  Is it implied here that both HTTPS and WSS must also
                  come from the same server (Same Origin Policy) ?<br>
                </blockquote>
              </span>
              No, the same origin policy does not apply to web sockets.<span><br>
                <br>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  Then, can I also install my own WebRTC demo page on my
                  own private  Asterisk server and access this demo page
                  through HTTPS ?<br>
                  If I'm not mistaken, this should fulfill all
                  requirements.<br>
                </blockquote>
              </span>
              It doesn't matter where the asterisk server is hosted. It
              is important where the web application comes from. If you
              don't want to use https and wss you only have the option
              to host the web app locally (on the same machine as the
              browser that loads the page), which probably makes sense
              only for development. Otherwise you have to use https and
              wss for the reasons discussed earlier.<br>
              <br>
              Hope it helps.</blockquote>
            <div><br>
              <br>
            </div>
            <div>At least, it helped me to realize I still have several
              more things to learn ;-)<br>
              <br>
            </div>
            <div>My setup is the following:<br>
            </div>
            <div>- an asterisk server,<br>
            </div>
            <div>- a PC,<br>
            </div>
            <div>- asterisk server and PC are installed on the same LAN<br>
            </div>
            <div>- sipM5 live demo outside my LAN<br>
            </div>
            <div>- no NAT/PAT configuration allowing incoming
              communications from the outside.<br>
            </div>
            <div><br>
              Is using sipML live demo as a way to rapidly test private
              Asterisk WebRTC capabilies, something achievable ?<br>
            </div>
            <div>What would keep this from working ?<br>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    <br>
    </span><span class=""><font color="#888888"><pre cols="72">-- 
---------------------------------------
Marek Cervenka
=======================================
</pre>
  </font></span></div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>