Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] One server, multiple companies


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
philipp_subx at redfis...
Guest





PostPosted: Tue Feb 12, 2008 8:20 pm    Post subject: [asterisk-users] One server, multiple companies Reply with quote

Sorry for the late follow-up to this... it was on my to-do list for
over a month... Sigh.

I've submitted a "configuration" bug and for this:

http://bugs.digium.com/view.php?id=11969

The hope being that if the examples provided in the configs/ directory
work better out of the box for real-world applications (like virtual
hosting), then more people will benefit... thus bringing world peace and
ending global warming.

If you want to encourage the bug marshals to approve these changes and
get them into the source tree, I won't discourage you.

Oh, and for the record: in my sip context for peering with my PSTN
carrier, I do a "Goto" the appropriate context ("acme-incoming,s,1" etc)
based on the DID / DNIS coming in from the carrier... something akin to
what Jerry is doing below, but slightly more complicated (some companies
have a single shared outside number, others have individual DID's per
extension, etc).

-Philip
Jerry Jones wrote:
Quote:
[incoming]
exten => 2125551211,1,GoTo(companyA,1)
exten => 2125551212,1,GoTo(companyB,1)
exten => 2125551213,1,GoTo(companyC,1)

[companyA]
exten => 2000,1,Dial()

[companyB]
exten => 2000,1,Dial()

[companyC]
exten => 2000,1,Dial()



On Dec 13, 2007, at 5:53 PM, Diego Andr?s Asenjo Gonz?lez wrote:


Quote:
---------- 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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services