Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • Last Modified:

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

0
pepehammer
Asked:
pepehammer
  • 3
1 Solution
 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now