Hello all,

I've my Asterisk running into an internal network with NAT and using FWD.

I've solved my problems making a packet forward into the external firewall to the internal Asterisk machine.

The ports 5036 (IAX), 5060 (SIP) and 10000 to 20000 (SIP voice traffic), all UDP, need to be forwarded to the Asterisk server.

Into the Asterisk sip.conf file, you need to configure the variable "externip" in the general section with your real IP address.
Also in the sip.conf file at the general section, put a register key to
FWD: "register => your_fwd_number:your_fwd_password@fwd.pulver.com".
Create a section to FWD into the sip.conf as follow:

[fwd]
type=friend
username=your_fwd_number
secret=your_fwd_section
nat=yes
host=fwd.pulver.com
callerid="Your Name"
context=default

In the extensions.conf, I use the following configs:

[fwd]
exten => _2.,1,Dial(SIP/${EXTEN:1}@fwd)
exten => _2.,2,Playtones(congestion)
exten => _2.,3,Hangup

And at the local section, I've included the fwd section: "include => fwd".

With that configuration, when I need to call to any FWD user, I need to dial 2 and the fwd number.

I'm using a Linux softphone for Asterisk (gnophone), and SJPhone too.
Both are working fine to me.

I hope this help you. If you have any question, fell free to contact me.

Have a good new year!
--
Ernani Jose Camargo Azevedo FWD# 77896 SLK Linux Group

_____________________________________________________________
List Archives: (http://listserv.pulver.com/archives/fwd.html)
Unsubscribe: (http://tinyurl.com/mg1m)