-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, What I hope is a simple question... As the subject states, I would like to know if anyone has setup a Multi Tenant Asterisk Server ? If so, what would I need to do to get to a Multi Tenant setup (preferably an Open Source solution) ? Any suggestions/comments/pointers/URLs ? - -- Gavin Spurgeon. AKA Da Geek - ---------------------------------------------------------------------- "The happiest of people don't necessarily have the best of everything, they just make the most of everything that comes along their way.." -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkr9ucAACgkQvp6arS3vDioyfgCgimKexiFzTRnajuZmljDgHWEQ t9UAnidkNJd8r9hKsiEU4no9jglG7uNF =YHUR -----END PGP SIGNATURE----- -- This message was scanned by DaGeek Spam Filter and is believed to be clean.
Philip A. Prindeville
2009-Nov-13 20:15 UTC
[asterisk-users] Multi Tenant Asterisk Server ?
I added some examples a while back to the extensions.conf.sample and the voicemail.conf.sample code to show how to support distinct domains for voice mail contexts... which was a big obstacle to multi-tenancy... otherwise, you couldn't have individual greetings, etc. For places (like Montreal and Bruxelles) where you need to further tailor context on a per-language basis, that's not been fully exercised... or for states like Indiana and Idaho that exist in two timezones... Actually, that's not entirely true. I tested having a default timezone and then overriding it on a per-SIP context basis and it seemed to work: https://issues.asterisk.org/view.php?id=16090 For POTS or ISDN this would be a little more work, but not impossible. See the [acme] stuff in extensions.conf.sample and voicemail.conf.sample and reply back (on list) if you have questions. -Philip On 11/13/2009 11:55 AM, Gavin Spurgeon wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi List, > > What I hope is a simple question... > As the subject states, I would like to know if anyone has setup a > Multi Tenant Asterisk Server ? > > If so, what would I need to do to get to a Multi Tenant setup > (preferably an Open Source solution) ? > > Any suggestions/comments/pointers/URLs ? > > - -- > > Gavin Spurgeon. > AKA Da Geek > > - ---------------------------------------------------------------------- > "The happiest of people don't necessarily have the best of everything, > they just make the most of everything that comes along their way.." > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.12 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkr9ucAACgkQvp6arS3vDioyfgCgimKexiFzTRnajuZmljDgHWEQ > t9UAnidkNJd8r9hKsiEU4no9jglG7uNF > =YHUR > -----END PGP SIGNATURE----- > > -- > This message was scanned by DaGeek Spam Filter and is believed to be clean. > > > _______________________________________________ > -- 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 >
John A. Sullivan III
2009-Nov-13 22:54 UTC
[asterisk-users] Multi Tenant Asterisk Server ?
On Fri, 2009-11-13 at 19:55 +0000, Gavin Spurgeon wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi List, > > What I hope is a simple question... > As the subject states, I would like to know if anyone has setup a > Multi Tenant Asterisk Server ? > > If so, what would I need to do to get to a Multi Tenant setup > (preferably an Open Source solution) ? > > Any suggestions/comments/pointers/URLs ?<snip> Entirely doable and reasonably well documented in the literature. Pay particular attention to the use of contexts. If I recall correctly, the followme and meetme applications do not support contexts. I believe you also have to be careful with SIP ids even in different contexts (someone correct me on that if I'm wrong as Asterisk is only a small part of my job and so the details are not always fresh in my mind). For those, we rely upon some other globally unique attribute, e.g., in our environment, all tenants have a unique posix uid and username. We use that username for the SIP ID and the uid for the meetme and followme identifiers. Hope this helps - John PS - Ah - multi-tenant parking - it is broken as recently as 1.6.1.7. There is a patch which works perfectly. I do not know if that patch was included in 1.6.1.8. In fact, if someone knows, please respond as we need to do that upgrade for security purposes and are concerned about breaking multi-tenant parking. -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society