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

pepehammerAsked:
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.

simkoCommented:
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.
0
simkoCommented:
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

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

Thanks
0
simkoCommented:
SBC.. hmm As i mentioned it is a SIP firewall / nat it is an application layer NAT Because you got in the payload of the SIP message the ports and IPs to witch should the convesation take place so it has to unpack the whole SIP message and look inside to see what ports should be opened for the call.And also it has to translate the IPs in the payload of the message

http://www.newport-networks.com/pages/nat-traversal.html
http://corp.deltathree.com/technology/nattraversalinsip.pdf

or just google SIP NAT Traversal


Regards
R.
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
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
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.