Why don't you use the voicemail copy feature?
Create 3 mailboxes 1234, 6789 and 2000 for the shared.

VoiceMail(1234@default&2000@default,su)
VoiceMail(6789@default&2000@default,su)

Set both 1234 and 6789 to email the voicemail to a fake email address and 
delete after email.
A copy of the message for each will be dropped into 2000 and deleted from the 
original box.


John


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Patrick Laimbock
Sent: Saturday, May 10, 2014 7:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] One mailbox for multiple extensions with individual 
greetings

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------

Teach Canit xAntispam if this mail is spam:
Spam:        http://mx1.xantispam.net/canit/b.php?i=01M0nRdDz&m=20772fcb9f4f&c=s
Not spam:    http://mx1.xantispam.net/canit/b.php?i=01M0nRdDz&m=20772fcb9f4f&c=n
Forget vote: http://mx1.xantispam.net/canit/b.php?i=01M0nRdDz&m=20772fcb9f4f&c=f
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to