Voxilla VoIP Forum

Go Back   Voxilla VoIP Forum > Hardware/Software Support Forums > Asterisk Support Forum

Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX.


Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old May 5th, 2006, 07:22 AM
Member
 
Join Date: Sep 2004
Posts: 78
syscon
Default Registering Sipura from remote location to Asterisk

Can anybody point or provide working configuration how to setup Sipura and Asterisk to register Sipura to Asterisk over the Internet. Both Sipura and Asterisk are behind firewalls.

I'll be force to use SIP as that is the only protocol that Sipura is using.
Do I need to enter any "STUN Server:" setting in "SIP" tab.

On Asterisk I think I only need to make changes in sip.conf isn't it?
What ports do I need to open on my firewall?

#Joseph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old May 8th, 2006, 09:42 AM
mberlant's Avatar
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Registering Sipura from remote location to Asterisk

Sipura devices work well with STUN (as long as the router they're behind is not Symmetric NAT), but Asterisk does not.

On the Asterisk's router you need to do two groups of things to make life smooth.

First, you need to either put your Asterisk in your router's DMZ or forward ports UDP 5060, UDP 10000-20000, UDP 4569, TCP 22 and (if you are using AMP or FOP) TCP 80 to the Asterisk's assigned FIXED LAN address.

Second, in sip.conf you need to set localnet= to match the LAN IP address range your Asterisk is a member of and externip= to your Asterisk's router's fixed IP address or dynamic DNS FQDN. If you have an IP address that changes often you will also need to reload sip.conf (via the "sip reload" command) every time your assigned public IP address changes. In my case I have two cron jobs that run every ten minutes. The first one, which runs on every minute that ends in 0, checks with my dyndns server to see what my current IP address is. The second one, which runs one minute later, issues a "sip reload" instruction to Asterisk. This forces Asterisk to resolve the FQDN once every ten minutes, reducing the time that remote clients cannot connect to a maximum of ten minutes. This procedure does not interrupt any calls in progress, so it is safe to perform as often as you feel necessary.

Good luck.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old May 8th, 2006, 12:05 PM
Senior Member
 
Join Date: Oct 2005
Location: NY
Posts: 116
tphank
Default RE: Registering Sipura from remote location to Asterisk

instead of using: externip=name.dyndns.org and extra code to reload/refresh, I found that you can use:

externhost=name.dyndns.org
externrefresh=10

where the externrefresh specifies how often the host name should be checked to be resolved!

Works great for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old May 8th, 2006, 03:52 PM
Member
 
Join Date: Sep 2004
Posts: 78
syscon
Default RE: Registering Sipura from remote location to Asterisk

I've Symmetric NAT (Freesco) so STUN is not working, but NAT + Proxy is working OK but only directly Sipura to FWD (no need to make any changes to NAT). Asterisk SIP does not support Outbound Proxy so I had to connect my spare unit directly to FWD.

#Joseph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old May 8th, 2006, 06:28 PM
mberlant's Avatar
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Registering Sipura from remote location to Asterisk

tphank,

Thank you for "externrefresh=". I had no idea that parameter existed. The only thing I need to figure out now is how to (or if it is necessary to) synchronize the actual dyndns refresh with the externip refresh. As cron jobs, I have them running in succession every ten minutes, but maybe externrefresh=5 or the dyndns refresh every 5 minutes would be just as good.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound when using Sipura 3000 remote connected to Asterisk xlitang Asterisk Support Forum 3 May 8th, 2006 12:12 PM
Asterisk VoIP Server Co-location keefe007 Asterisk Support Forum 14 December 21st, 2005 01:31 AM
two Sipura: remote location AlexandreUVa Linksys (Sipura) VoIP Support Forum 0 August 19th, 2005 05:54 PM
Sipura SPA-3000 Call Routing From Remote Location? tworks Linksys (Sipura) VoIP Support Forum 0 February 2nd, 2005 07:36 AM
Sipura 3000 not registering with Asterisk. Stevo Asterisk Support Forum 1 December 17th, 2004 05:06 AM



All times are GMT. The time now is 07:20 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2009 by Voxilla, Inc.