<div dir="ltr">the uri field should also be in format of sip:&lt;ext&gt;@&lt;domain&gt;<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 10:54 AM, Chris Tunbridge <span dir="ltr">&lt;<a href="mailto:blasterjr@gmail.com" target="_blank">blasterjr@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">Also with the newer versions of sip.js, you do not need to call ua.start() as it should be set to autostart.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 10:53 AM, Chris Tunbridge <span dir="ltr">&lt;<a href="mailto:blasterjr@gmail.com" target="_blank">blasterjr@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">Can you try using wsServers instead of ws_servers as noted here: <a href="http://sipjs.com/api/0.7.0/ua_configuration_parameters/#wsservers" target="_blank">http://sipjs.com/api/0.7.0/ua_configuration_parameters/#wsservers</a><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 10:35 AM, Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@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"><div><div>Thanks for your reply. Yes, i have enable the webrtc in my internal.xml<br><br>tcp        0      0 <a href="http://192.168.1.30:5066" target="_blank">192.168.1.30:5066</a>       0.0.0.0:*               LISTEN      11078/freeswitch<br>tcp        0      0 <a href="http://192.168.1.30:7443" target="_blank">192.168.1.30:7443</a>       0.0.0.0:*               LISTEN      11078/freeswitch<br>tcp        0      0 <a href="http://127.0.0.1:8021" target="_blank">127.0.0.1:8021</a>          0.0.0.0:*               LISTEN      11078/freeswitch<br>tcp        0      0 <a href="http://192.168.1.30:5080" target="_blank">192.168.1.30:5080</a>       0.0.0.0:*               LISTEN      11078/freeswitch<br>tcp        0      0 <a href="http://192.168.1.30:5060" target="_blank">192.168.1.30:5060</a>       0.0.0.0:*               LISTEN      11078/freeswitch<br>tcp6       0      0 ::1:5080                :::*                    LISTEN      11078/freeswitch<br>tcp6       0      0 ::1:5060                :::*                    LISTEN      11078/freeswitch<br>udp        0      0 <a href="http://192.168.1.30:5080" target="_blank">192.168.1.30:5080</a>       0.0.0.0:*                           11078/freeswitch<br>udp        0      0 <a href="http://239.255.255.250:1900" target="_blank">239.255.255.250:1900</a>    0.0.0.0:*                           11078/freeswitch<br>udp        0      0 <a href="http://192.168.1.30:5060" target="_blank">192.168.1.30:5060</a>       0.0.0.0:*                           11078/freeswitch<br>udp6       0      0 ::1:5080                :::*                                11078/freeswitch<br>udp6       0      0 ::1:5060                :::*                                11078/freeswitch<br><br></div>May be I am missing some packages, related to js.<br></div><br>Thanks<br><div><div><div><br></div></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 26 May 2015 at 08:49, Victor Medina <span dir="ltr">&lt;<a href="mailto:victor.medina@cibersys.com" target="_blank">victor.medina@cibersys.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"><div class="gmail_default" style="font-family:courier new,monospace">Did you anable the webrtc endpoint in your profiles?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-26 11:04 GMT-04:30 Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div><div><div>Hi, Users.<br>I am trying to register default freeswitch user &quot;1003&quot; through webrtc using sip.js.<br></div><div>This is my &quot;<b>index.html</b>&quot;<br><br>&lt;html&gt;<br></div>  &lt;head&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;script src=&quot;sip-0.7.0.js&quot;&gt;&lt;/script&gt;<br>    &lt;script src=&quot;example.js&quot;&gt;&lt;/script&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;<br><br></div>and <b>example.js</b><br>var config = { <br><br>// Replace this IP address with your FreeSWITCH IP address <br> uri: &#39;<a href="mailto:1003@192.168.1.30" target="_blank">1003@192.168.1.30</a>&#39;,<br><br>  // Replace this IP address with your FreeSWITCH IP address<br>  // and replace the port with your FreeSWITCH port<br>  ws_servers: &#39;ws://<a href="http://192.168.1.30:5066" target="_blank">192.168.1.30:5066</a>&#39;,<br><br>  // FreeSWITCH Default Username<br>  authorizationUser: &#39;1003&#39;,<br><br>  // FreeSWITCH Default Password<br>  password: &#39;1234&#39;<br>  register: true<br><br>};<br><br>var bob = new <a href="http://SIP.UA" target="_blank">SIP.UA</a>(config);<br><br>bob.start();<br><br></div>Both files are placed inside apache folder with name freeswitch_rtc. <br>When i run in my firefox. <br><br><b><a href="http://192.168.1.30/freeswitch_rtc/" target="_blank">http://192.168.1.30/freeswitch_rtc/</a></b><br><br></div>I see nothing neither on fs_curl, nor tshark shows any register packet on freeswitch ip.<br><br></div>Pardon me for my naive question, just learning how this amazing machine (freeswitch) works.<br><br></div>Can someone please tell me what is wrong with this code. Or provide me some simple example to make a call with webrtc or any tutorial. <br><br></div>Thanks.     <br><div><div><div><div><br></div></div></div></div></div>
<br></div></div>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="2"><span style="font-family:courier new,monospace"><br><img src="https://www.cibersys.com/imagenes/logotipo-cibersys-the-new-easy.png"><br><br>Víctor E. Medina M.<br></span></font><div><font size="2"><span style="font-family:courier new,monospace">Platform Architect / Chief Infrastructure<br></span></font></div><font size="2"><span style="font-family:courier new,monospace"><span style="display:inline"><span style="display:inline"><a>+58424 291 4561</a></span></span><br>BB #79A8AFA2<br>@VMCibersys<br></span></font></div><div dir="ltr"><font size="2"><span style="font-family:courier new,monospace"><br></span></font></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>