Saturday, May 16, 2015

For simple home routers operating on the basis of firmware DD-WRT, you can install a version of the

Charles Zalewski's Journal Main About me GPG key Web of Trust License Microblog RSS / ATOM for entry
Anyone who has tried to use several devices based VoIP SIP in a single local area network behind a NAT knows perfectly well that it makes some problems. For one unit, you can use the static port forwarding or eg. Use STUN. For many devices the best option is to start your own outbound SIP proxy.
For simple home routers operating on the basis of firmware DD-WRT, you can install a version of the software (VoIP or Mega), which comes bundled with the server milkfish. Milkfish acts predominantly as previously mentioned outbound SIP proxy and SIP registrar simple (with its own SIP Proxy). Just him only to run and configure VoIP devices so they used it to communicate with the rest of the world (ie. The position of the SIP outbound proxy device configuration must point to the internal IP address of the router). In practice, however, there is a problem (DD-WRT v24 version preSP2 and older) manifested mainly by tearing incoming calls. Below is the solution to the problem, which is the code that should be placed in the router's firewall configuration scripts through web interface (Administration Commands): WAN = $ (/ sbin / get_wanface) WANADDR = $ (/ sbin / ifconfig $ WAN | awk 'sub (' inet addr: "," ") {print $ 1} ') iptables -t nat -I POSTROUTING -p udp! $ WANADDR --sport -s 5060 -o $ WAN -j SNAT --to $ WANADDR: 5065-32000 koi po che


No comments:

Post a Comment