> Am 17.08.2018 um 03:15 schrieb Shamus Rask <sha...@srask.ca>: > > 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 users > Context Mbox User Zone NewMsg > default 1234 Example Mailbox 0 > 1 voicemail users configured.
You could also do that (with Tab) for a special context: "voicemail show users for other" That will show you the other context. In your sip.conf you need to always add the voicemail context: "mailbox=1234@default" or "mailbox=1234@other" For me it seems to work with 2 contexts (Asterisk 13): pbx-nf9hg*CLI> voicemail show users Context Mbox User Zone NewMsg default 17 17-test germany 0 callback 17 17-test germany 0 > 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 Michael http://www.mksolutions.info ------------------------------------------------------------------------------ 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.