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.jsvar config = {
// Replace this IP address with your FreeSWITCH IP address
uri: '
1003@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.