I do exactly that, i preface my tenant id to my mailbox.. 0001-1234. And 
0002-1234. Since i handle vm dial in and auth in my dialplan things dont break.
I do the tenant preface for all comtexts for my stations, sip ID etc. 
This is done with my cloud asterisk platform where many tenants are on one 
instance.. another option is multi instances in container like docker
    On Thursday, August 16, 2018, 9:45:30 PM EDT, Shamus Rask <sha...@srask.ca> 
wrote:  
 
 This is more of an Asterisk question, but I’m hoping someone can share their 
experience. I’m setting up a multi-tenant system, and in doing so discovered 
the following. When I tried the following in voicemail.conf (note this is 
directly from the sample config):

[default]1234 => 4242,Example Mailbox,root@localhost
[other]1234 => 5678,Company2 User,root@localhost

I see the following at the Asterisk CLI:
pbx0*CLI> voicemail show usersContext    Mbox  User                      Zone   
    NewMsgdefault    1234  Example Mailbox                           01 
voicemail users configured.

It looks like Asterisk cannot parse multiple mailboxes of the same number even 
if they’re in’ different contexts. If I changed either of the mailbox numbers 
and did a “voicemail reload”, they do both appear.
Assuming the above behaviour is correct and I haven’t mis-configured some 
option, how do others handle multi-tenant voicemail? My initial thoughts were 
that I could prepend each mailbox with the tenant name, however I think this 
would break the VoiceMailMain() application (if not others).
Thanks for your comments,   
Shamus------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.  
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to