You are using an obsolete channel driver, which is not in the current GITHub master version so will not be in this year’s release of Asterisk. If this is a new configuration, you should abandon chan_sip and immediately move to chan_pjsip. If you are stuck with a legacy system, you should be making urgent plans to upgrade.
I don’t believe register is allowed outside the general section.
Your configuration looks like it has been copied without reference to the documentation as it contains deprecated and non-existent option names, options that won’t do anything, and options values that commonly introduce unnecessary security issues, although are sometimes needed.