I have Asterisk 11 with FreePBX and voip gateway DVG-7022S.
Asterisk has two extensions 100 and 7. 100 - sip-phone. 7 - FXO-line voip-gateway.
How should you configure FreePBX, so that incoming calls to the FXO gateway line unconditionally and without dialing number redirected to extension 100?
Then I suggest you do it over, with care, and be aware that your hardware is not the same as the post you followed. The “Undefined Number” bit means that what is coming from your gateway is “undefined” in your server setup, you will have to improvise on that and make sure you have an inbound route that matches what your gateway is sending.