How to solve elastix server problem to call and disconnect/drop call after 6 seconds?
When you try to call someone there is the call hangup automatically right after 5 or 6 seconds, you need to edit “sip_nat.conf“.
To edit this file you must login to elastix web interface. Go to PBX>Tools>Asterisk File Editor

and find sip_nat.conf file

Copy the following text and customize to your network.
nat=yes externip=222.222.222.222 ; externhost=elastix.and-inside.com localnet=192.168.1.0/255.255.255.0 externrefresh=120
- if you have domain name or dynamic dns domain you can delete externip and remove semicolons
- externip (replace with your public static ip address)
- externhost (replace with your domain or dynamic dns domain)
- localnet (make sure you have the correct local network)
Click Save and Reload Asterisk. Problem solved. Cheers

