Link to home
Create AccountLog in
Avatar of pepehammer
pepehammer

asked on

Problem setting up Asterisk

Hi guys;

i got Asterisk@home installed and my provider is Teliax.
I can make outbound calls with no problem, but I cannot get to manage incoming calls.

I have a Linksys router, the Asterisk server with a static IP and I’m forwarding the following ports to the asterisk ip address (5060, 5060 to 5082, 10000 to 20000, 4569, 8000, all of them TCP and UDP)
Also I got the asterisk IP in the DMZ zone.

The config in the trunk in the asterisk@home is;

PEER DETAILS
auth=md5
context=incoming-teliax
disallow=all
host=voip-co3.teliax.com
nat=yes
secret=***********
trunk=yes
type=friend
username=*********

USER DETAILS
context=incoming-teliax
secret=********
srvlookup=yes
type=friend
username=*******

REGISTER STRING
******:********@voip-co3.teliax.com

The context [incoming-teliax] is as follows (in extensions.conf)

[incoming-teliax]
exten => s,1,Answer()
exten => s,n,Playback(hello-world)

Please help me out to get this working.

Thanks

Avatar of simko
simko

there is a problem by rectrictin some trafick when you want to do VoIP 'cause  RTP and RSTP opens  unpredictable ports
for xsample if the rtp is on port xy than rstp is on xz+1
probably this could be your problem.
so try to open all ports on the machine and see what it do ...

regards.
R.
one thing..
therefore for as voice firewalls are used so calles Session Border Controlers (SBC) witch sniff the SIP messages and opens the requiered ports for RTP

Avatar of pepehammer

ASKER

hi, thanks for replying
can you explain me a little bit more about SBC?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of simko
simko

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer