Upgrade 3CX to v18 and get it hosted free!

Asterisk bounty STUN

Author image

Contributions

Detail

I would really like to have STUN support in the SIP implementation of Asterisk. STUN support would permit an Asterisk system behind a NAT to communicate with external SIP entities. The localnet/externip settings of sip.conf permit Asterisk to operate behind certain types of NATs. However, it requies that the external IP be known and set manually in the Asterisk configuration. More importantly, the localnet/externip settings do not solve the problem of Asterisk. behind a port translating (Full Cone) NAT.

I’d be interested in contributing to the development of STUN support for Asterisk, financially, as well as helping test/debug code. I know C, but I have not done productiion coding in a long time. I know the protocols very well and I have access to a lot of hardware and test scenarios for testing.

The best reference model I know of for a good STUN implementation is that contained in the Sipura SPA devices. Watch what they do with STUN to see how a proper STUN implementation should perform.

Contact me: david at bdt.com or post here if you’re interested in making this happen.

UPDATE: Karl Brose and David Beckemeyer are taking on this task. Karl is doing the coding and I’m funding the effort (Karl is donating half his time). Work is moving along and we hope to have something to release for testing in mid to late July 2004.

Background

Resources

  • Sourceforge STUN client library
  • CallWeaver is an Asterisk fork that include STUN client basic capabilities for chan_sip so if you are experiencing problems with your asterisk server behind NAT, try to use it and you are likely to solve your problems.

See also


Asterisk bounty


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.