[asterisk-users] VoiceMail Issue

Phil Daws uxbod at splatnix.net
Fri Feb 28 11:39:54 CST 2014


am attempting again to resolve an issue with multi-tenancy and the forwarding to VMs between mailboxes.  If in a multi-tenancy environment one uses custom contexts ie.

mailbox=101 at a1

and the associated voicemail.conf entry:

101 => 1234,My User 1,addr1 at email.com,,tz=eastern|imapuser=addr1 at email.com|imapfolder=Inbox
102 => 1234,My User 2,addr2 at email.com,,tz=eastern|imapuser=addr2 at email.com|imapfolder=Inbox

now if a message is left in mailbox 101 and the user attempts to forward the message to mailbox 102 Asterisk responds that mailbox 102 is not found in context default!  One can add:


but that means each mailbox must have a unique number which goes against being able to use custom contexts.  I thought by specifying the following would fix that:

exten => 7999,1,VoiceMailMain(${CALLERID(num)}@a1) ; Direct mail retrieval
exten => 7999,n,Hangup()

but it does not.  Have tried many ways to resolve but cannot find a resolution.

Any ideas please as would like to get this working ?

Thank you.

More information about the asterisk-users mailing list