PortSIP Solutions, Inc
11
6.2 Deploy WebRTC Gateway with Self-signed certificate in
LAN
For Firefox:
Below settings are for last version Firefox.
1. Assume we have a SIP Server/PBX which IP 192.168.0.98 and SIP domain is 192.168.0.98,
this server/PBX use the UDP transport on port 5060, it has SIP user 100, 101, 102, 103, 104.
2. Assume we installed the WebRTC Gateway on a server which IP is 192.168.0.28.
3. Use browser open http://192.168.0.28:9288/manager/index.html, sign in the Management
Console with admin/admin.
4. Click the “
Wizard
” on left and click the “
Next
” button.
5. Enter 192.168.0.28 for the “
Gateway IP Address
” filed
.
6. Click the “
Next
” button.
7. Enter the SIP Domain, in case it is 192.168.0.98.
8. Select the SIP Transport as UDP.
9. The Server port is: 5060.
10. Click the “
Save
” button, the WebRTC Gateway will be restart automatically, you will need to
sign in management console again.
11. If in LAN the WebRTC Gateway can’t access the internet, Download the
STUN Server
then
extract stunserver.zip and run stunserver.exe.
12. Click the “
Settings
” in the WebRTC Gateway Management Console and set the stun server as
192.168.0.28:3478.
13. Open http://192.168.0.28:9288/portgo/index.html by last version Firefox.
14. SIP Username filed: enter a name as 100.
15. SIP password filed: enter the password of SIP user 100.
16. SIP Domain in case is:
sip.testsip.com.
17. WS URI: in case is ws://192.168.0.28:10080 (the IP is WebRTC Gateway IP and WS port).
18. Press “
enter
” button
19. Once the web client registered, you can make & receive calls with other SIP client.
For Google Chrome:
The Google Chrome requires the HTTPS and WSS in order to access the Camera and Microphone. We
MUST set the HTTPS and WSS with certificate for WebRTC Gateway and Gateway Web Service.
1. Use browser open http://192.168.0.28:9288/manager/index.html, sign in the Management
Console with admin/admin.
2. Enter 192.168.0.28 for the “
Gateway IP Address
” filed
.
3. Click “
Listen WSS
” to select it.
4. Set WSS port, for example: 10443
5. Set 192.168.0.28 for “
Gateway Domain Name
” filed.
6. Click the up arrow icon to choose the “
server.crt
” file from the Gateway install folder, for
example:
C:\Program Files\PortSIP\WebRTC
.
7. Click the up arrow icon to choose the “
server.key
” file from the Gateway install folder, for
example:
C:\Program Files\PortSIP\WebRTC
.
8. Leave the “
Private key password
” empty.
9. Click the “
Next
” button.
10. Enter the SIP Domain, in case it is 192.168.0.98.
11. Select the SIP Transport as UDP.
12. The Server port is: 5060.
13. Click the “
Save
” button, the WebRTC Gateway will be restart automatically, you will need to
sign in management console again.