[asterisk-users] Asterisk 'Hosting'
Douglas Garstang
dgarstang at oneeighty.com
Wed Aug 16 11:39:13 MST 2006
> -----Original Message-----
> From: Matt Riddell (NZ) [mailto:matt.riddell at sineapps.com]
> Sent: Wednesday, August 16, 2006 12:06 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Asterisk 'Hosting'
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Douglas Garstang wrote:
> > Has anyone ever tried to run multiple instances of Asterisk
> on a single system, running each with a different username,
> and each in a separate base directory? Something like
> /home/pbx/business-1, home/pbx/business-2 etc?
> >
> > Did it work? I assume for every service that Asterisk runs,
> on each instance, you'd have to use a different port numbers,
> which may get confusing. Each businesses phones would have to
> be configred with different SIP ports then too.
> >
> > What about processes? I notice that Asterisk runs about 26
> processes (or are they threads?) for a single instance.
>
> Why not just use different contexts for each company?
Because Asterisk wasn't designed with carrier class features in mind. It was designed for a single enterprise. The dialplan, and config files, start to get very very complicated after you add more than a few companies. Combine that with having to have multiple extensions for a single function (our Queues are accessed by a regular extension but then have to dial another 'virtual' extension so that DUNDi can work out the 'primary' server for a queue) and so on. Anyway, it's becoming unmanagable.
Doug.
More information about the asterisk-users
mailing list