This worked for me yesterday:
-----------------------------
Please replace your actual extension number where it says <extensionnumber> and password in <password>

On asterisk:
[<extensionnumber>]
username=<extensionnumber>
type=friend
secret=<password>
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
mailbox=<extensionnumber>@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no

Configuring the SPA 1001
http://ip_of_sipura/admin/advanced
Click on Line 1
NAT Keep alive Enable = yes
Proxy=ip_address_of_asterisk
user id: <extensionnumber>
password:<password>

Submit all changes

------------------
Didn't have to do port forwarding on the NAT router or anything.

hope this helps
Rajeev



On 5/19/06, Freddy Setiawan <[EMAIL PROTECTED]> wrote:

Well, just make sure the sip.conf for your extension has the nat=yes, and don't forget to open the firewall hole for the service to run.

 

Best Regards,

 

Freddy Setiawan
Senior Programmer
Simpleware Solution
[EMAIL PROTECTED]
Yahoo Messenger: [EMAIL PROTECTED]
Msn Messenger: [EMAIL PROTECTED]
Skype: FreddySetiawan
Mobile Phone: +65-98279537

 

:: Simple is Everything, Nothing is Complex ::


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Lachek Butalek
Sent: Friday, May 19, 2006 3:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SPA-1001 behind NAT -> Internet Asterisk box --BOUNTY!

 

Stupid not-quite-an-answer - if you're willing to pay money for a fix, why not buy an IAX2 compatible FXS to replace the SPA-1001 with? It will traverse NATs without a problem. I'm using a GNet VP168I (same as the PA168V) and it works fine even behind a NAT which is itself behind a corporate firewall...

Just a thought.

On 5/17/06, Eric Lyons <[EMAIL PROTECTED]> wrote:

I'm still unable to get my SPA-1001 to work behind NAT with an Asterisk box out on the Internet.  It works fine to my local [EMAIL PROTECTED] box.
I've tried... many things.

I'm willing to pay a $250 bounty (PayPal preferred) to anyone who can help me get it working.  Any Sipura experts out there?

Eric.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to