[Freeswitch-users] user registration with sip.js
Victor Medina
victor.medina at cibersys.com
Tue May 26 19:49:41 MSD 2015
Did you anable the webrtc endpoint in your profiles?
2015-05-26 11:04 GMT-04:30 Aqs Younas <aqsyounas at gmail.com>:
> Hi, Users.
> I am trying to register default freeswitch user "1003" through webrtc
> using sip.js.
> This is my "*index.html*"
>
> <html>
> <head>
> </head>
> <body>
> <script src="sip-0.7.0.js"></script>
> <script src="example.js"></script>
> </body>
> </html>
>
> and *example.js*
> var config = {
>
> // Replace this IP address with your FreeSWITCH IP address
> uri: '1003 at 192.168.1.30',
>
> // Replace this IP address with your FreeSWITCH IP address
> // and replace the port with your FreeSWITCH port
> ws_servers: 'ws://192.168.1.30:5066',
>
> // FreeSWITCH Default Username
> authorizationUser: '1003',
>
> // FreeSWITCH Default Password
> password: '1234'
> register: true
>
> };
>
> var bob = new SIP.UA(config);
>
> bob.start();
>
> Both files are placed inside apache folder with name freeswitch_rtc.
> When i run in my firefox.
>
> *http://192.168.1.30/freeswitch_rtc/ <http://192.168.1.30/freeswitch_rtc/>*
>
> I see nothing neither on fs_curl, nor tshark shows any register packet on
> freeswitch ip.
>
> Pardon me for my naive question, just learning how this amazing machine
> (freeswitch) works.
>
> 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.
>
> Thanks.
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150526/5b9f306a/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list