On 07/19/2011 02:07 PM, Michael wrote:

We would like Asterisk to listen on port 5060 and on an additional
port.

Out of sheer curiosity, what is the motive?

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?

It is possible, in principle, but definitely not convenient or easy to administer. If you compile from source, you can probably quite far using the '--prefix' option to the autoconf 'configure' script, or various more specific prefix options it may offer, to accomplish this end. You'd have to make sure all the data subdirectories in /var end up going in a different place, etc., and perhaps modify the init scripts to put lock files in different places.

It's possible, but it's not easy. Asterisk's internal config file structure, i.e. in the sample configs, definitely assumes a single, global instance.

Have you thought about chroot as a possible solution to this?

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

--
_____________________________________________________________________
-- 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