Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Code Block |
---|
[system-internet-udp]
type=transport
protocol=udp
bind=5.5.5.5
[system-internet-tcp]
type=transport
protocol=tcp
bind=5.5.5.5
[system-local-udp]
type=transport
protocol=udp
bind=192.168.1.1
[system-udp-tcp]
type=transport
protocol=tcp
bind=192.168.1.1
[phone-internet]
type=endpoint
transport=system-internet-udp
[phone-local]
type=endpoint
transport=system-local-udp |
This example includes two endpoints which are each present on different networks. To ensure that outgoing requests to each endpoint travel over the correct transport the transport has been explicitly specified on each.
IPv6 Only (Single Interface)
...
Warning |
---|
It might be tempting to use a wildcard IPv6 address to bind a single transport to allow both IPv6 and IPv4. In this configuration IPv6 mapped IPv4 addresses will be used which is unsupported by PJSIP. This will cause a SIP message parsing failure. |
Common Issues
...