<div dir="ltr">Here is jthe simple example taht includes sip.js just to dial in to FS:<div><br></div><div><div>&lt;html&gt;</div><div>&lt;style&gt;</div><div>video {</div><div>    border: 1px solid lightgrey;</div><div>}</div><div>&lt;/style&gt;</div><div>&lt;body&gt;</div><div><br></div><div>&lt;video id=&quot;localVideo&quot; muted=&quot;muted&quot;&gt;&lt;/video&gt;</div><div>&lt;video id=&quot;remoteVideo&quot;&gt;&lt;/video&gt;</div><div>&lt;br&gt;</div><div>&lt;!--button id=&quot;startCall&quot;&gt;Start Call&lt;/button--&gt;</div><div>&lt;button id=&quot;endCall&quot;&gt;End Call&lt;/button&gt;</div><div><br></div><div>&lt;script src=&quot;sip-0.7.5.min.js&quot;&gt;&lt;/script&gt; //download this sip.js version and place it in same dir as this html file or include from public link</div><div><br></div><div>&lt;script id=&quot;e&quot;&gt;</div><div>//var my_session;</div><div><br></div><div>var startButton = document.getElementById(&#39;startCall&#39;);</div><div><br></div><div>var my_session = document.addEventListener(&#39;DOMContentLoaded&#39;, function() {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>my_session = userAgent.invite(&#39;<a href="mailto:sip%3Adial_string@your.dns.name">sip:dial_string@your.dns.name</a>&#39;, options);</div><div>}, false);</div><div><br></div><div>var endButton = document.getElementById(&#39;endCall&#39;);</div><div><br></div><div>endButton.addEventListener(&quot;click&quot;, function () {</div><div>    my_session.bye();</div><div>}, false);</div><div><br></div><div>var options = {</div><div>    media: {</div><div>        constraints: {</div><div>            audio: true,</div><div>            video: true</div><div>        },</div><div>        render: {</div><div>            local: document.getElementById(&#39;localVideo&#39;),</div><div>            remote: document.getElementById(&#39;remoteVideo&#39;)</div><div>        }</div><div>    }</div><div>};</div><div><br></div><div>var userAgent = new <a href="http://SIP.UA">SIP.UA</a>({</div><div> traceSip: true,</div><div> uri: &#39;<a href="mailto:dial_string@your.dns.name">dial_string@your.dns.name</a>&#39;,</div><div> wsServers: [&#39;wss://your.dns.name:port&#39;], //wss port of verto or sofia</div><div> authorizationUser: &#39;directory_user&#39;,</div><div> password: &#39;pass&#39;,</div><div> hackIpInContact: true,</div><div> hackWssInTransport: true,</div><div> stunServers: [&quot;<a href="http://stun.l.google.com:19302">stun.l.google.com:19302</a>&quot;,&quot;<a href="http://stun1.l.google.com:19302">stun1.l.google.com:19302</a>&quot;,&quot;<a href="http://stun2.l.google.com:19302">stun2.l.google.com:19302</a>&quot;,&quot;<a href="http://stun3.l.google.com:19302">stun3.l.google.com:19302</a>&quot;,&quot;<a href="http://stun4.l.google.com:19302">stun4.l.google.com:19302</a>&quot;] </div><div>});</div><div><br></div><div><br></div><div>&lt;/script&gt;</div><div><br></div><div>&lt;/body&gt;</div><div>&lt;/html&gt;</div></div><div><br></div><div><br></div><div>so just google for sip-0.7.5.min.js download it or replace it with public link. </div><div>Make sure to replace all dial_string, pass, your.dns.name:port values that are for your server.</div><div>If you have proper certificates, for wss to be shaked on :) it will work, i suggest letsencrypt</div><div><br></div><div>Good luck :)</div><div>Mirko</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 1:47 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">A lot of it is covered in <a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>Debian+8+Jessie</a> though it goes a lot further and gives you a working video conference over webrtc.<div><br></div><div>Loot at <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_verto" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>mod_verto</a> as well.</div><div><br></div><div>Also maybe look at <a href="http://sipjs.com/" target="_blank">http://sipjs.com/</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 19, 2016 at 6:43 PM, Don Hawkins <span dir="ltr">&lt;<a href="mailto:hawkins@hawkinsegroup.com" target="_blank">hawkins@hawkinsegroup.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I&#39;m trying to get WebRTC going on our FS server for the first time. FS is not my problem though, WebRTC is.<div><br></div><div>All I need is a one button script that dials into FS, at which point I will put the user in a conference, anyone have any example scripts that already do this?</div><div><br></div><div>I&#39;ve looked at all the free libraries and unfortunately java is not my thing so I&#39;ve had no success.</div><div><br></div><div>Thanks!<div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(102,102,102)"><span><a value="+12146991224"></a></span></span></div></div></div></div></div></div>
</div></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a>  ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a>  ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.<wbr>freeswitch.org</a>  ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?<wbr>v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?<wbr>v=NLaDpGQuZDA</a><br></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Regards,<div>Mirko</div><div><p style="font-size:14px;line-height:24.5px;margin:0.5em 0px;padding:0px;color:rgb(0,0,0);font-family:&quot;Open Sans&quot;,sans-serif;text-align:center">¯\_(ツ)_/¯</p></div><div><br></div></div></div></div></div></div></div>
</div>