The below example is from an Amazon cloud hosted 3CX PBX and assumes other settings such as timezone, tone profile & other regional settings have already been configured and applied.

Port registration & authorisation:

If you are punching through a NAT router then enable options requests for a SIP keepalive method & set to a sensible timer - usually 120 seconds is ample.