Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
Am Mittwoch, den 01.08.2007, 16:32 +0530 schrieb Benjamin Jacob: 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? If multiple domains means you want to register SIP phones with the usernames sip501 at domain1 and sip501 at domain2, that in my experience will not work out this way, because for registered users only the peer name is relevant (corrections welcome, but it seems like that to me). What you could do of course is name the peers reasonably: customera-501, customerb-501 On the first thought, this is not as elegant, but on the other hand, if the phone displays the username, it is better than displaying sip-501. You would need to have some magic to distinguish between your domains in the dialplan. There is a static way of doing it (by setting the context=blah in the sip peers) or a dynamic way, by giving them all into the same context, and then do some Asterisk DB magic to make out which internal partner to reach if 581 is dialled, or which trunk line to use, or whom to bill calls to. This is absolutely possible, without the customers noticing. If you want to support incoming SIP as in sip:[EMAIL PROTECTED], for different domains, you can specify that in sip.conf. In my experience (again, I am ready to learn there are better ways) the best working thing is having a separate domain name for registrations (to get things easily separated), like register.yourcompany.domain, with a line domain=register.yourcompany.domain and for all further domains have separate contexts, like domain-examplecom and domain-exampleorg, looking like domain=example.com,domain-examplecom domain=example.org,domain-exampleorg and in extensions.conf, you could go like [domain-examplecom] exten = secretary,1,Dial(SIP/customera-505) exten = bigboss,1,Dial(SIP/customera-500) [domain-exampleorg] exten = secretary,1,Dial(SIP/customerb-555) exten = sales,1,Dial(SIP/customerb-514SIP/customerb-519) HTH Anselm ___ --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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
Benjamin Jacob wrote: Ouch. And I thought I had an answer to my query. I totaly agree abt the long disclaimer nonsense Schmaltz, but I swear by the powers up there, it's the admins over here at my workplace doing all that nonsensical magic, as the mails go out. I wish i had the freedom to use gmail(just like you), thru the day, and not the office mail servers! Do you have any idea as to how do I get rid of this disclaimer whenever I mail to the Asterisk Users mailing list?? Pray, tell me! Btw, did you happen to read my query, or you straight on jumped to the disclaimer? roving eyes, eh? Any answers anyone , to my query(abt multiple pbxes)? Apologies if I am missing something elementary here. cheerz - Ben. C F wrote: Can you please get rid of your awfull long nonsense disclaimer? On 8/1/07, Benjamin Jacob [EMAIL PROTECTED] 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. 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 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 ___ --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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
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 [EMAIL PROTECTED] and the other would be [EMAIL PROTECTED] . [EMAIL PROTECTED] 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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
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 [EMAIL PROTECTED] and the other would be [EMAIL PROTECTED] . [EMAIL PROTECTED] 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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
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 [EMAIL PROTECTED] and the other would be [EMAIL PROTECTED] . [EMAIL PROTECTED] 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 ___ --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
[asterisk-users] multiple pbxes, multiple domains, same user ids?
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. 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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
Can you please get rid of your awfull long nonsense disclaimer? On 8/1/07, Benjamin Jacob [EMAIL PROTECTED] 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. 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
Re: [asterisk-users] multiple pbxes, multiple domains, same user ids?
Ouch. And I thought I had an answer to my query. I totaly agree abt the long disclaimer nonsense Schmaltz, but I swear by the powers up there, it's the admins over here at my workplace doing all that nonsensical magic, as the mails go out. I wish i had the freedom to use gmail(just like you), thru the day, and not the office mail servers! Do you have any idea as to how do I get rid of this disclaimer whenever I mail to the Asterisk Users mailing list?? Pray, tell me! Btw, did you happen to read my query, or you straight on jumped to the disclaimer? roving eyes, eh? Any answers anyone , to my query(abt multiple pbxes)? Apologies if I am missing something elementary here. cheerz - Ben. C F wrote: Can you please get rid of your awfull long nonsense disclaimer? On 8/1/07, Benjamin Jacob [EMAIL PROTECTED] 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. 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