[asterisk-dev] SIP listen on multiple ports

Johan Wilfer lists at jttech.se
Tue Jan 10 01:06:51 CST 2012


2012-01-09 12:10, Alistair Cunningham skrev:
> Has any development work been done to allow chan_sip to listen on
> multiple ports? If not, would there be interest in a bounty to
> implement this?
>
As a work around for ipv4 you can use iptables with a dnat rule, to
listen to multiple ports, but you will still only have binded to one of
them.

iptables -t nat -A PREROUTING -d 123.456.789.123 -p udp --dport 5061 -j
DNAT --to-destination 123.456.789.123:5060

Maybe you have already considered this..

-- 
Med vänlig hälsning

Johan Wilfer                 email: johan at jttech.se
JT Tech | Utvecklare         webb: http://jttech.se
direkt: +46 31 380 91 01  support: +46 31 380 91 00




More information about the asterisk-dev mailing list