I have instead compared templates using ExamDiff, I think this will help you more if you see my points. Lots of issues with your template here. For example:
* You dont need "service hunt-group HG_TO_FXO" calls are not hunting in this setup method - they are individual trunks. HG_TO_FXO call routing.
* You have only 2 SIP interfaces in this template - this is a 4114 no ? please advise if you are using all 4 ports.
* Your authentication realm looks like:
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10000 password *********
And should look like:
authentication-service AUTH_SVC_3CX
realm 1 3CXPhoneSystem
username 10001 password *************
username 10002 password *************
username 10003 password *************
username 10004 password *************
One set for each trunk you are using - if 2 (as per the above ) then just 2 are needed.
* You only have a single location service - you need 4 (or 2 if you are only using 2 ports):
location-service LS_10000
domain 1 192.168.1.122
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10000
identity 10000
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.122 5060
lifetime 300
register auto
For example a full set of the above for LS_10000, 10001,10002 etc.
Your Ethernet and FXO ports seem fine, please check it out and if you want my template for reference then I can provide still, the only point being however is that mine is for a Trintiy based 4141 FXO so there are a few minor differences.