Go Back   Voxilla VoIP Forum > Voice over IP > General VoIP Discussion

General VoIP Discussion This forum is for issues that do not relate to either a specific provider or a specific vendors hardware. General issues that affect the advancement of VoIP as a whole.



Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old September 27th, 2006, 01:26 PM
Junior Member
 
Join Date: Sep 2006
Posts: 11
jolpot is on a distinguished road
Smile Please help - Firewall issue or Astrix Config?

First post Please be nice.

I have searched for quite some time and finally decided to post here - some issues posted seem similar to mine not quite.

All I want is to place a call from work to my astrix server at home and record audio.

I am using TrixBox 1.1.1 on my home laptop. Laptop is behind a Westell DSL modem + linksys router. Modem does DHCP and I have enabled port forwarding to the asterisk server(all SIP and RTP)

If I make a call from an internal softphone to the Trixbox, I hear audio and able to record my voice too.

If I make a call from external softphone(from work) to home, I see that asterisk receives the INVITE and responds with a 200OK...BUT, the internal IP addresses are sent instead of the external-ip. As a result, the call doesnt complete.(the Contact Header and SDP contains internal IP address, the work softphone sends the ACK to internal IP address found in the Contact Header which is simply dropped, presumably, by the router at work).

Should I change something on my firewall OR change asterisk configuration files???

Can you please help me.
Thanks

Last edited by jolpot; September 27th, 2006 at 01:32 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old September 27th, 2006, 03:31 PM
Senior Member
 
Join Date: Jul 2004
Posts: 1,159
rizsher
Default Re: Please help - Firewall issue or Astrix Config?

There are many sites that detail Trixbox setup.. Nerd Vittles is great. Also try this site, its details of my own setup and may work for you too.

Generally, you have to make sure your modem passes the public IP address to the downstream router, i.e the WAN port of the router should have a public IP address, not an internal address like 192.168.x.x or 10.x.x.x. You have to forward the requisite ports (10000-20000, 4569-4569)..

Have a look at the sites and see if they help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old September 27th, 2006, 06:40 PM
Junior Member
 
Join Date: Sep 2006
Posts: 11
jolpot is on a distinguished road
Default Re: Please help - Firewall issue or Astrix Config?

Thanks rizsher, I am planning to get a SPA3102 and your instructions will be very helpful.

I have started off from nerdvittles and am leaning towards the fact that it has nothing to do with trixbox but the modem itself.

When you say "port forwarding", does it mean WAN=>LAN and viceversa?

I did see the INVITE come in, however, the response did not have its IPaddresses changed by the firewall...I checked on my modem settings and cdnt find an explicit setting to what you specified. Could you elaborate a little please?
Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old September 27th, 2006, 06:56 PM
Senior Member
 
Join Date: Jul 2004
Posts: 1,159
rizsher
Default Re: Please help - Firewall issue or Astrix Config?

Don't really understand wot u mean by WAN-LAN or Vice Versa...there will be a section called "Port Range Forwarding", or somethign similar in your router setup, there you need to forward ports 10000-20000 and 4569-4569 and 5000-5065 to the internal IP address of your Trixbox server... in addtion, I hope you have already made the changes to sip.conf as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old September 27th, 2006, 07:15 PM
Junior Member
 
Join Date: Sep 2006
Posts: 11
jolpot is on a distinguished road
Default Re: Please help - Firewall issue or Astrix Config?

Thanks rizsher,

WAN - external world (WWW)
LAN - is my internal ip address for asterisk.

The modem is running DHCP server giving me an ipaddress(which you already mentioned).

I have made the changes in sip.conf and will write back how it went.

externip = my-home-external-ip
localnet=astrix-ip/255.255.255.0
nat=yes


Thanks again for your help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6 (permalink)  
Old September 27th, 2006, 09:51 PM
Senior Member
 
Join Date: Jul 2004
Posts: 1,159
rizsher
Default Re: Please help - Firewall issue or Astrix Config?

I do know wot WAN/LAN Stands for... I didn't really understnad what you meant in the context of port forwarding.

Two points:

If your ISP provides you with a Static IP, then your sip.conf entries are OK, else it needs to have an an externrefresh line to update the IP Address.

The Localnet line is NOT your AsteriskIP/255.255.255.0, but the default gateway... 192.168.1.1


[general]

port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
externhost = my.dyndns.domain
externrefresh = 5
localnet=192.168.1.1/255.255.255.0
nat=yes
defaultexpirey=3600
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old September 28th, 2006, 02:01 AM
Junior Member
 
Join Date: Sep 2006
Posts: 11
jolpot is on a distinguished road
Thumbs up Re: Please help - Firewall issue or Astrix Config(Issue resolved!)

Thank you very much - I was able to make the call from my home to work and get the call through and record and leave a message.

I used the settings from your last suggestion and everything worked perfectly well.
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
Asterisk on the outside of my firewall jarle Asterisk Support Forum 1 May 8th, 2006 09:01 AM
SPA3000 RTP Issue and a SPA2002 Ring Issue ecsaltz Linksys (Sipura) VoIP Support Forum 6 September 18th, 2005 08:46 PM
SPA3K behind firewall * behind different firewall patdelaney Linksys (Sipura) VoIP Support Forum 6 June 4th, 2005 04:02 AM
SPA-3000 config for * and clarification on * config tAdA Asterisk Support Forum 19 April 28th, 2005 07:27 AM
Firewall john_malk Linksys (Sipura) VoIP Support Forum 1 August 17th, 2004 08:14 AM

Voxilla News

More Voxilla news

Voxilla Recommends

Voxilla has been covering VoIP and communications since 2003, and we are always asked for recommendations. Of course, there isn't a single answer that meets everyone's needs, but one of the following Voxilla Recommendations will meet yours.



  • All times are GMT. The time now is 11:55 AM.


    vBulletin, Copyright ©2000 - 2010, 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.