We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Problem setting up Asterisk

pepehammer
pepehammer asked
on
Medium Priority
522 Views
Last Modified: 2010-08-05
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

Comment
Watch Question

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

Commented:
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

Author

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

Thanks
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.