On 7/19/11 11:07 AM, Michael wrote:

We would like Asterisk to listen on port 5060 and on an additional port. From 
what
we read online, it's not really possible, so is it possible to install a 
separate
instance of Asterisk on the same machine (without using Vmware or such) and set
the 2nd instance to listen on another port?

all you have to do is setup port forwarding from an
alternate port to 5060. we're doing that on our server.
works like a charm.

e.g.

iptables -t nat -I PREROUTING 1 -i <your-interface> -d <your-ip-addr> \
  -p udp -m udp --dport 6060 -j DNAT --to-destination <your-ip-addr>:5060

this sets up port 6060 to forward to 5060.

--
Edwin Lam <[email protected]>
Systems Engineer, OfficeWyze, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to