[asterisk-users] multiple pbxes, multiple domains, same user ids?

Anthony Francis anthonyf at rockynet.com
Thu Aug 2 13:19:16 CDT 2007


Forums wrote:
> You may want to consider the multi-tenant version of Thirdlane's PBX 
> Manager (www.thirdlane.com).
>
> I've been using for a long time and very happy with both single and 
> multi-tenant versions.
>
>
> Benjamin Jacob wrote:
>> Anthony Francis wrote:
>>
>>   
>>>>>> Hello good ppl,
>>>>>> A couple of questions for multiple pbxes
>>>>>> 1. Is it possible to support multiple pbxes in one Asterisk box(using
>>>>>> contexts, etc.)?
>>>>>> 2. Can we use the "domain" field in sip.conf to specify the different
>>>>>> domains for sip users, having one domain for each pbx?
>>>>>>
>>>>>> I just tried registering two xlites, with different domain names (with
>>>>>> the same specified in sip.conf). But, Asterisk maintains the
>>>>>> registration of the latest registree!! thats really sad for me .
>>>>>>
>>>>>> Any work around for this one(multiple pbx)?
>>>>>> I would be zapped and amazed if multiple pbx isn't possible in Asterisk.
>>>>>>
>>>>>> Help anyone?
>>>>>>
>>>>>> cheers
>>>>>> - Ben.
>>>>>>
>>>>>>   
>>>>>>        
>>>>>>
>>>>>>           
>>> you have to do different sip-ids, I am guessing you are probably using 
>>> the extension #, you dont need to do that. What do you mean by 
>>> multiple-pbx's anyway? I hope you don't mean multiple instances of 
>>> *.What I am sure you mean is multiple dial plans, and yes, * is 
>>> multi-tenant friendly.
>>>
>>> What we do for uniqueness is use the last 8 digits of the device mac 
>>> addr or other unique number followed by a dash "-" followed by the 
>>> extension number.
>>>
>>> Anthony
>>>
>>>  
>>>
>>>     
>> Thanks Anthony.
>> I definitely don't mean multiple instances of asterisk.
>> Multiple dial plans, hmm.. yes.. in a way.
>> Multiple pbx ... in short, provide pbxes for two entirely different 
>> organizations, say, Microsoft and IBM (can i use these names in here? ;-) ).
>> Each would have many extensions, but each office can have identical 
>> extensions, e.g. you can have extensions 4001 in both. But one would be 
>> 4001 at microsoft.com and the other would be 4001 at ibm.com .
>> 4001 at microsoft.com should be able to call any user within Microsoft. To 
>> step outside the organization, you would put in some logic(dialplans).
>> So, i want to have pbx for microsoft and another pbx for IBM. Is it 
>> possible to have two or more pbxes within one Asterisk instance.
>>
>> Hope you got my point.
>>
>> cheerz
>> - Ben.
>>
>>
>>
>> EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract.
>>
>> Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. 
>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
Right, but in asterisk it is not done this way, you just use dial-plan 
contexts to separate the entities, I have over 200 unique companies 
dial-plans spread over 12 asterisk boxes and every single one of them 
has a base set of extensions that are exactly the same.


What you do is have a master context for incoming calls that matches any 
full dids for the companies, when matched, the call is transferred into 
that customers context. Then in the sip.conf you make sure that the 
context= is set to that customers context, and you are good to go.

Anthony



More information about the asterisk-users mailing list