From: Shamus R. <sh...@sr...> - 2018-08-17 01:45:04
|
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. 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 |