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