|
|
@ -1354,6 +1354,8 @@ When using the config file, only use a single __interface__ line, |
|
|
but specify multiple values separated by semicolons (e.g. |
|
|
but specify multiple values separated by semicolons (e.g. |
|
|
*interface = internal/12.23.34.45;external/23.34.45.54*). |
|
|
*interface = internal/12.23.34.45;external/23.34.45.54*). |
|
|
|
|
|
|
|
|
|
|
|
### System Network Interfaces |
|
|
|
|
|
|
|
|
If an interface option is given using a system interface name in place |
|
|
If an interface option is given using a system interface name in place |
|
|
of a network address, and if multiple network address are found |
|
|
of a network address, and if multiple network address are found |
|
|
configured on that network interface, then __rtpengine__ behaves as |
|
|
configured on that network interface, then __rtpengine__ behaves as |
|
|
@ -1364,6 +1366,8 @@ the option *\-\-interface=ext/eth0* is given, then __rtpengine__ would |
|
|
behave as if both options *\-\-interface=ext/192.168.1.120* and |
|
|
behave as if both options *\-\-interface=ext/192.168.1.120* and |
|
|
*\-\-interface=ext/2001:db8:85a3::7334* had been specified. |
|
|
*\-\-interface=ext/2001:db8:85a3::7334* had been specified. |
|
|
|
|
|
|
|
|
|
|
|
### Advertised Address |
|
|
|
|
|
|
|
|
The second IP address after the exclamation point is optional and can |
|
|
The second IP address after the exclamation point is optional and can |
|
|
be used if the address to advertise in outgoing SDP bodies should be |
|
|
be used if the address to advertise in outgoing SDP bodies should be |
|
|
different from the actual local address. |
|
|
different from the actual local address. |
|
|
@ -1374,6 +1378,8 @@ advertise *192.0.2.4* as the address that endpoints should talk to. |
|
|
Note that you may have to escape the exclamation point from your shell |
|
|
Note that you may have to escape the exclamation point from your shell |
|
|
when using command-line options, e.g. using *\\!*. |
|
|
when using command-line options, e.g. using *\\!*. |
|
|
|
|
|
|
|
|
|
|
|
### Interface Names |
|
|
|
|
|
|
|
|
Giving an interface a name (separated from the address by a slash) is |
|
|
Giving an interface a name (separated from the address by a slash) is |
|
|
optional; if omitted, the name __default__ is used. |
|
|
optional; if omitted, the name __default__ is used. |
|
|
Names are useful to create logical interfaces which consist of one or |
|
|
Names are useful to create logical interfaces which consist of one or |
|
|
@ -1396,6 +1402,8 @@ If multiple logical interfaces are configured, but the __direction__ |
|
|
option is not given in a particular call, then the first interface |
|
|
option is not given in a particular call, then the first interface |
|
|
given on the command line will be used. |
|
|
given on the command line will be used. |
|
|
|
|
|
|
|
|
|
|
|
### Multiple Addresses per Interface |
|
|
|
|
|
|
|
|
It is possible to specify multiple addresses for the same logical |
|
|
It is possible to specify multiple addresses for the same logical |
|
|
interface (the same name). |
|
|
interface (the same name). |
|
|
Most commonly this would be one IPv4 addrsess and one IPv6 address, |
|
|
Most commonly this would be one IPv4 addrsess and one IPv6 address, |
|
|
@ -1417,6 +1425,8 @@ best possible path to reach the RTP proxy. |
|
|
If ICE is not being used, then additional addresses will go unused, |
|
|
If ICE is not being used, then additional addresses will go unused, |
|
|
even though ports would still get allocated on those interfaces. |
|
|
even though ports would still get allocated on those interfaces. |
|
|
|
|
|
|
|
|
|
|
|
### Round-Robin Address Selection |
|
|
|
|
|
|
|
|
Another option is to give interface names in the format *BASE:SUFFIX*. |
|
|
Another option is to give interface names in the format *BASE:SUFFIX*. |
|
|
This allows interfaces to be used in a round-robin fashion, useful |
|
|
This allows interfaces to be used in a round-robin fashion, useful |
|
|
for load-balancing the port ranges of multiple interfaces. |
|
|
for load-balancing the port ranges of multiple interfaces. |
|
|
@ -1456,6 +1466,8 @@ If the first given interface has the *BASE:SUFFIX* format then the |
|
|
round-robin algorithm is used and will select interfaces with the |
|
|
round-robin algorithm is used and will select interfaces with the |
|
|
same *BASE* name. |
|
|
same *BASE* name. |
|
|
|
|
|
|
|
|
|
|
|
### Legacy Protocols |
|
|
|
|
|
|
|
|
If you are not using the NG protocol but rather the legacy UDP protocol |
|
|
If you are not using the NG protocol but rather the legacy UDP protocol |
|
|
used by the __rtpproxy__ module, the interfaces must be named __internal__ |
|
|
used by the __rtpproxy__ module, the interfaces must be named __internal__ |
|
|
and __external__ corresponding to the __i__ and __e__ flags if you wish to |
|
|
and __external__ corresponding to the __i__ and __e__ flags if you wish to |
|
|
|