[asterisk-users] One mailbox for multiple extensions with individual greetings

Patrick Laimbock patrick at laimbock.com
Sat May 10 18:52:32 CDT 2014


Hi,

Is there a way in Asterisk 11 to use a single voicemailbox for multiple 
extensions while still hearing each extension's individual greeting?

Use case: someone has 2 numbers and wants all voicemail messages for 
both numbers to end up in one mailbox. So when dialing 1234 and NOANSWER 
you would hear "the person at extension 1234 is unavailable" and the 
message would be stored in mailbox "mymailbox" and when dialing 6789 and 
NOANSWER you would hear "the person at extension 6789 is unavailable" 
and that message would also be stored in mailbox "mymailbox". The user 
then dials an extension to reach mymailbox and hears all messages for 
both the 1234 and 6789 numbers.

I think I can solve it by symlinking 
/var/spool/asterisk/voicemail/default/6789/INBOX to 
/var/spool/asterisk/voicemail/default/1234/INBOX (and the other 
directories too) but it would be nice if this could be done within the 
dialplan.

If that's not possible, would adding an "extension" option to 
app_voicemail.c solve this by decoupling the extension from the mailbox?

Thanks for any pointers.

Cheers,
Patrick



More information about the asterisk-users mailing list