login | register
Wed 08 of Oct, 2008 [00:23 UTC]

voip-info.org

History

Asterisk multiple bindaddr bounty

Created by: zenon,Last modification on Sun 20 of Jul, 2008 [11:42 UTC]
From: Zenon Panoussis, <oracle AT provocation DOT net>
Bounty: USD min 50, max 100 (contact me first)
Opened: 30 Jan 2008

See problem description at http://bugs.digium.com/view.php?id=11853.

The bounty is for a patch that will allow either (a) multiple occurrences of bindaddr in sip.conf and rtp.conf or, preferably, (b) one occurrence of bindaddr which accepts a comma-delimited list of addresses. The patch must work with the latest stable asterisk release (not SVN, beta, RC etc) at the time when it is submitted and must not break anything else.

Digium's code guidelines do not apply. The patch must be released under GPL2+ (v2 or any later version at downstream's option). The additional problem in comment 0081436 is not part of the assignment and doesn't have to be solved.


Comments

Comments Filter
222

333use FWMARK

by letoams, Thursday 12 of June, 2008 [14:01:58 UTC]
If all you need is to ensure that one IP address is used to the external world for asterisk's UDP, you can do something like

iptables -t mangle -I PREROUTING -i $ExtEth -s yourAsteriskIp p udp --source-port 5060 -j MARK --set-mark 42
ip rule add fwmark 42 nat $WantedPubIP