[Asterisk-Users] Asterisk behind NAT to SIP provider

rnc Info Lists info-lists at robertc.de
Fri Oct 24 11:31:50 MST 2003


>...
>> At this moment, Asterisk behind a NAT can't connect to an outside SIP
>> provider. If you put asterisk outside your NAT, your inside clients
>> can connect to Asterisk and Asterisk will be able to connect to your
>> providers.
>
> I suspected this would be the case. The problem is that I have no control
> over the NAT. I guess I'll just have to work on my provider a bit more to
> support IAX.
>
 Jonathan,
I have the same problem and have solved it by using iaxtel.com.  Asterisk
talks to IAXtel quite well on inbound and outbound from behind my NAT
router. While I don't have the dialplan inside Asterisk completed yet it
does do the following:

-  outbound calls from any internal extension to any service
   reachable over iaxtel.com. I've tested the following:
          - USA toll-free numbers (until they stopped working this week..
            seems to be an IAXTel problem)
          - other IAXtel numbers
          - FWD numbers (1 700 99 xxxxx)
- inbound calls from FWD to my IAXTEL number ring into the Asterisk box.
  Currently I play a message then forward them to an internal extension as
  proof of concept.

If you would like the parts of extensions.conf and iax.conf that seem to
make it work let me know. I pulled bits and pieces from various places,
including a number of the postings on this list over the last 2 days.

All of this is rather impressive for me but my wife really wonders if I've
lost my sanity...

Hunker down everyone.. here comes the solar flare.

Robert




More information about the asterisk-users mailing list