...
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-internet-tls] type=transport protocol=tls bind=5.5.5.5:5061 cert_file=certificate [system-local-udp] type=transport protocol=udp bind=192.168.1.1 [system-udplocal-tcp] type=transport protocol=tcp bind=192.168.1.1 [system-local-tls] type=transport protocol=tls bind=192.168.1.1:5061 cert_file=certificate [phone-internet] type=endpoint transport=system-internet-udp [phone-local] type=endpoint transport=system-local-udp [phone-unspecified] type=endpoint |
This example includes two three endpoints which are each present on different networks. To ensure that outgoing requests to each endpoint the first two endpoints travel over the correct transport the transport has been explicitly specified on each. For requests to these endpoints the logic in section 3b will be used. For requests to the "phone-unspecified" endpoint since no transport has been explicitly specified the logic in section 3a will be used.
IPv6 Only (Single Interface)
...