[asterisk-users] One server, multiple companies

Diego Andrés Asenjo González dasenjo at gmail.com
Thu Dec 13 17:53:49 CST 2007


---------- Mensaje reenviado ----------
> From: Eric C. <zipperless at hotmail.com>
> To: <asterisk-users at lists.digium.com>
> Date: Sun, 9 Dec 2007 19:55:51 -0500
> Subject: [asterisk-users] One server, multiple companies
>
> Hello all,
>
> Just starting to setup asterisk v 1.4.11 and need to run three distinct
> phone systems for three different companies.
> So far, I have inbound lines going to the appropriate dial plan within the
> extensions.conf file. I'm using
>
> exten => _X.,1,NoOp(FROM NUMBER:  ${SIP_HEADER(TO):5:10})
>
> to determine which number is being dialed by the caller and then using a
> gotoif to get to correct greeting (correct company).
>
> My question is... lets assume all three companies have extension numbers
> being 2000, 2001 & 2002, how does one separate them?
> Or, lets say the extensions are:
>
> company A --> 2000, 2001,2002
> company B --> 3000, 3001, 3002
> company C --> 4000, 4001, 4002
>
> Since they're on one server with one asterisk process, how can I use
> context correctly so that the user at 4002 cannot get through to the user at
> company A whose extension is 2000 as currently, I can dial 2000 from phone
> 4002.
>
> That's my current problem, how should this be setup?  Is my architecture
> correct? Should I be running different processes for each company? Can
> context resolve what I need?



Hi,

You should try DeStar, a management interface for Asterisk:

  http://destar.berlios.de/

DeStar supports "Virtual PBXs", then you can install it and take a look at
the dialplan. Sorry for the late answer but I've just read the list
messages.

Bye,

Diego Andrés.

So

Please advise.
>
> thanks,
> Otto
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071213/a967b943/attachment.htm 


More information about the asterisk-users mailing list