You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# drachtio-rtpengine-webrtcproxy
2
2
3
-
An open-source webrtc proxy server built using [drachtio](https://drachtio.org) and [rtpengine](https://github.com/sipwise/rtpengine) that allows VoxOUT customers to place outbound calls from webrtc clients.
3
+
An open-source webrtc proxy server built using [drachtio](https://drachtio.org) and [rtpengine](https://github.com/sipwise/rtpengine) that allows webrtc clients to place or receive calls from their VoIP provider. The server can optionally be configured to handle authentication against SIP trunks requiring digest authentication (otherwise, digest challenges are passed back to the client).
4
4
5
5
## Installation
6
6
@@ -37,7 +37,7 @@ The example configuration file (in config/default.json.example) looks like this:
37
37
},
38
38
"credentials": [
39
39
{
40
-
"trunk": "voxout.voxbone.com",
40
+
"trunk": "my.voipprovider.com",
41
41
"auth": {
42
42
"username": "<yourusername>",
43
43
"password": "<yourpassword>"
@@ -49,9 +49,7 @@ The example configuration file (in config/default.json.example) looks like this:
49
49
The information is provided as follows:
50
50
*`drachtio`: This is the location where the drachtio server is running and listening to connections from applications. In the example, the application would be running on the drachtio server itself, and thus the 'host' value is '127.0.0.1'. You could alternatively have the application running on a different server and connect to the drachtio server across the network, if you wish.
51
51
*`rtpengine`: Similarly, this is the information needed for the application to connect to the rtpengine server, using the 'ng' protocol.
52
-
*`credentials`: this is an array of SIP trunks that the webrtc proxy holds authorization credentials for, such that when an INVITE is being sent to that trunk and is subsequently challenged with a 401/407, the webrtc proxy will generate a new INVITE using the credentials provided.
53
-
54
-
In the case of the voxout service, as noted above you will need to substitute your voxout username and password where shown.
52
+
*`credentials`: this is an optionaly array of SIP trunks that the webrtc proxy holds authorization credentials for, such that when an INVITE is being sent to that trunk and is subsequently challenged with a 401/407, the webrtc proxy will generate a new INVITE using the credentials provided.
55
53
56
54
## Basic operation
57
55
@@ -63,7 +61,7 @@ When an incoming SIP INVITE is received, the application will allocate endpoints
63
61
64
62
If the host part of the Request-URI matches one of the configured trunks, the webrtc application will handle digest challenges from the far end.
65
63
66
-
Calls can be therefore be made to the PSTN (i.e. regular phone numbers) using voxout, or to any reachable SIP URI (e.g. an IP PBX).
64
+
Calls can be therefore be made to the PSTN (i.e. regular phone numbers) using a VoIP carrier, or to any reachable SIP URI (e.g. an IP PBX).
0 commit comments