Stun installation and configuration

Source: Internet
Author: User
Tags join

Why do you want to install stun server? My phone is behind a different firewall, the NAT of the firewall may not be configured appropriately for VoIP, which requires stun server to help with NAT address translation.

Stun only works on the SIP stack and is not responsible for processing RTP voice stream data.


Stun server source code latest version 0.97 download address http://sourceforge.net/projects/stun/files/stun/0.97/


I am downloading to the/USR/SRC directory and then TAR-XFV xxx.tgz unzip

Make it, the compiled program is placed in the current directory


Virtual machine configuration two bridge NIC

If the asterisk server is also on this server, the asterisk server for the two NICs may not work (Xlite client is not connected)

Asterisk Server Modification sip_custom.conf

Join bindaddr=192.168.100.128

Then amportal restart Restart the asterisk service


Asterisk modified the/etc/hosts join

192.168.100.128 Shanghai.springworks.info

Reference http://www.xjit.net/os/Linux/yy/35448.html


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.