A. Manually enter the SIP port in the account settings. Go to Settings > Accounts > Your Account > Advanced Settings and specify the desired SIP port.
B. Use a different SIP provider that allows custom port settings if the current provider does not support it.