Thats probably what I have except for the extensions.conf file which is just to play a music and then hangup. I just need to hear the playback audio, is it necessary to use NAT.
Networks are wire, silicon, boxes, etc., forming PCs, routers, switches, cables, etc. not Asterisk files.
Whether you need NAT depends on the answer to the first question, but you seem to have added configuration that only makes sense if there is NAT in your environment.
I would fix the easy errors first. Tne no application one should be trivial to fix.
The timeout one is worrying. To my previous question, please add the make and model of peer. As this point I also need the complete SIP dialogue for the call (e.g. from sip set debug on). Please edit out entries not related to the session in question (in particular OPTIONS). Also please paste as text not as an image. Make sure you pasted it as unformatted text. https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
By LAN do you mean that you have a fully routable network, if so, what was your reason for overriding the default setting for nat=?
At the moment, it looks like either your network is overloaded or your peer device is buggy.
What do you need me to provide, when I set debug to ON. I have many text on my console. I would appreciate if you can view my PC on teamviewer cos I have been hanging on this for days now. It was working before but suddenly it stops. Also my reasons for overriding is not justified as I am a beginner to Asterisk.
Also help me with the following func_odbc query, I can see ${VAL} and ${ARG}. What is the difference and when can each be used. I am trying to create a writesql statement like this