You have only provided the general section, but without the section name. Please provide the complete contents including the entries corresponding with your X-Lite and your service provider. If not using SIP for your service provider, please provide the channel technology configuration file for the technology actually used.
If these don’t exist, you have not yet passed the foundation course level and need to read the documentation, or hire a consultant.
Also please note that it is maybe half a decade since canreinvite was replaced by directmedia, and it is
Letting in anonymous callers is not a good idea.
You configuration appears to be set up for Astterisk to be on a public address, and the phone behind NAT, but you never mentioned this, important, detail.
You will also need fairly standard dialplan entries.