<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"><<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi, Users.<br>I am trying to register default freeswitch user "1003" through webrtc using sip.js.<br></div><div>This is my "<b>index.html</b>"<br><br><html><br></div> <head><br> </head><br> <body><br> <script src="sip-0.7.0.js"></script><br> <script src="example.js"></script><br> </body><br></html><br><br></div>and <b>example.js</b><br>var config = { <br><br>// Replace this IP address with your FreeSWITCH IP address <br> uri: '<a href="mailto:1003@192.168.1.30" target="_blank">1003@192.168.1.30</a>',<br><br> // Replace this IP address with your FreeSWITCH IP address<br> // and replace the port with your FreeSWITCH port<br> ws_servers: 'ws://<a href="http://192.168.1.30:5066" target="_blank">192.168.1.30:5066</a>',<br><br> // FreeSWITCH Default Username<br> authorizationUser: '1003',<br><br> // FreeSWITCH Default Password<br> password: '1234'<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>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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><br clear="all"><br>-- <br><div class="gmail_signature"><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>
</div>