[asterisk-users] Multi Tenant Asterisk Server ?

2009-11-13 Thread Gavin Spurgeon
-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


Re: [asterisk-users] Multi Tenant Asterisk Server ?

2009-11-13 Thread Philip A. Prindeville
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
   


___
-- 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] Multi Tenant Asterisk Server ?

2009-11-13 Thread John A. Sullivan III
On Fri, 2009-11-13 at 19:55 +, 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
jsulli...@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society


___
-- 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] Multi Tenant Asterisk Server ?

2009-11-13 Thread Michiel van Baak
On 17:54, Fri 13 Nov 09, John A. Sullivan III wrote:
 On Fri, 2009-11-13 at 19:55 +, 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.

That patch is not yet in.
I'm planning to get it in this weekend.

 -- 
 John A. Sullivan III
 Open Source Development Corporation
 +1 207-985-7880
 jsulli...@opensourcedevel.com
 
 http://www.spiritualoutreach.com
 Making Christianity intelligible to secular society
 
 
 ___
 -- 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

-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called 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] Multi Tenant Asterisk Server ?

2009-11-13 Thread John A. Sullivan III
On Sat, 2009-11-14 at 00:30 +0100, Michiel van Baak wrote:
 On 17:54, Fri 13 Nov 09, John A. Sullivan III wrote:
  On Fri, 2009-11-13 at 19:55 +, 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.
 
 That patch is not yet in.
 I'm planning to get it in this weekend.
snip
 
Thanks for the update.  How will it be available at that point? Will
there be an immediate 1.6.1.9 release or will it only be via SVN? - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsulli...@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society


___
-- 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] Multi Tenant Asterisk Server ?

2009-11-13 Thread Michiel van Baak
On 18:55, Fri 13 Nov 09, John A. Sullivan III wrote:
 On Sat, 2009-11-14 at 00:30 +0100, Michiel van Baak wrote:
  On 17:54, Fri 13 Nov 09, John A. Sullivan III wrote:
   On Fri, 2009-11-13 at 19:55 +, 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.
  
  That patch is not yet in.
  I'm planning to get it in this weekend.
 snip
  
 Thanks for the update.  How will it be available at that point? Will
 there be an immediate 1.6.1.9 release or will it only be via SVN? - John

not sure yet.
Will have a look at it tomorrow and get back to you here ok ?
-- 

Michiel van Baak
mich...@vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD

Why is it drug addicts and computer aficionados are both called 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