Get help with installing, upgrading and running a PBX such as Asterisk.
User avatar
By WelshPaul
#64
Many people struggle when initially trying to use Sipgate on their Asterisk system - especially when going through a NAT firewall.

The key to getting the system to work reliably without getting one way transmission problems is to allocate ports for each Sipgate trunk. On my PBX I have 4 standard Sipgate numbers, and I use one of them for outgoing calls while the others are purely for incoming.

To avoid NAT problems make sure that your /etc/asterisk/sip_nat.conf contains:
  1. nat=yes
  2. externip=x.x.x.x
Where x.x.x.x = your 'public' IP address.
Lets start by seeing a working incoming and outgoing trunk Freepbx setup :
sipgate_asterisk_config.gif
sipgate_asterisk_config.gif (7.4 KiB) Viewed 982 times
In Outgoing settings, make sure you have fromuser and username set to your Sipgate ID.
Enter context=from-trunk in Outgoing settings if you do not allow anonymous sip calls.

OK thanks, what VPN are you using ??

A good write up on SIP ALG: https://www.voicehost…

Thanks very much. Really appreciate it! :-D

Attached below is my latest OBIHAI UK configuratio…