Set up SIP forwarding
Route outbound calls through an external SIP gateway: turn forwarding on, set the SIP destination and transport, and choose which SIP headers to send.
Open Settings > SIP Forwarding.
Turn SIP forwarding on.
Enter the SIP destination and transport.
Choose which SIP headers to send, then save.