EdgePort is a component at the network's edge responsible for receiving and forwarding SIP Messages. It converts SIP Messages into protobuf messages and adds metadata (like the entry point IP) required for stateless routing.
EdgePort components cooperate to ensure messages follow the correct path, which can eliminate the need for a specialized load balancer in front of Routr. For transport, it is recommended to use connection-oriented protocols such as TCP, TLS, WS, or WSS.
# Example EdgePort configuration
kind: EdgePort
apiVersion: v2beta1
ref: edgeport-01
metadata:
region: default
spec:
processor:
addr: dispatcher:51901
methods:
- REGISTER
- INVITE
- ACK
- BYE
- CANCEL
transport:
- protocol: udp
port: 5060