Trixbox Port Forwarding

Hi

I've installed Trixbox. I created extension. Inside my network, everything is working perfect. The problem, is how to connect from outside (The Internet).
my modem is Thomson TG585n v2. and my connection is DSL 8M.
LVL 1
Abdurahman AlmatrodiBusiness DevelopmentAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grbladesCommented:
SIP uses tcp port 5060 so you will need to forward that port to trixbox.
RTP (used for the actual voice) uses a range of ports. You will need to check your trixbox/asterisk configuration to see what it is configured to use but the default is normally UDP 10000-20000.

If you have a dynamic IP address then you will need to run something like DDNS and configure trixbox with your external hostname and the internal IP address range that you use.
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
I did forwad the ports in my DSL Modem. But, did not work yet!
0
grbladesCommented:
In what way doesn't it work?
Phone doesn't register or no audio?
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
I am using X-Lite. It cannot register.
0
grbladesCommented:
Registration is done using sip. So check tcp port 5060 is forwarded correctly. If it is then you could try changing the port in asterisk incase your ISP is blocking it. Other than that maybe xlite isn't configured correctly
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
Is it TCP or UDP?, just for clarification
0
grbladesCommented:
Sip is tcp
rtp is udp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
It connected now,,, thanks. But, there is no voice! :(
0
grbladesCommented:
Rtp is used for voice. Check if voice is one direction only or not at all. Check rtp.conf for udp ports and they are forwarded.
What are you calling?
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
Dear this is what I have in rtp.conf : ;
; RTP Configuration
;
[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=10001
rtpend=20000
 
0
grbladesCommented:
So udp ports 10001-20000 should be forwarded.
What are you dialing? Out to a voip provider?
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
At first, thanks for your support. I tried to call another extention. Also, I tried to use outside line.
0
grbladesCommented:
Is your phone also behind a nat firewall?
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
I don't know. I use my ISP. and I got connected
0
grbladesCommented:
What IP address is assigned to your phone and are you using a home DSL router?
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
At home, I am using a DSL modem Thomson TG585n and Trixbox is connected to it directly, and I assigned the port to Trixbox pc. Also, I use to connect my Modem IP which I got from my ISP.
0
grbladesCommented:
So asterisk is connected to your voip provider through your internet connection and all the ports are forwarded.
Where is the phone you are calling from? On your local network at home?
When you make a call and say there is no audio is that in both directions or is there audio in one direction only?
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
Dear I don't have Voip provider at all. What I have is Diguim Card with 3 FXS and 1 FXO
0
grbladesCommented:
So what outside connection are you using?

I need to know what you are using to make the test calls and where the equipment/software is (internal network or internet) in order to diagnose why you are not getting audio.
0
Abdurahman AlmatrodiBusiness DevelopmentAuthor Commented:
To go outside to other standard phones I use my line that come from telecommunication company. I use soft phone in pc x-lite. Trixbox server is inside my network at home, so its IP is private. my soft phone I use it sometimes from inside my network and sometimes from Internet.  
0
grbladesCommented:
Make sure you have nat=yes defined for the account that the soft phone connects as.

I assume it works fine when you are dialing from your internal network?

When connecting from the internet can you try dialing your mobile for example and see if there is no audio or audio in one direction only.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.