Leah Newmark
2004-Nov-01 08:08 UTC
[Asterisk-Users] Voicemail with separate greetings based on extension
Is there a way to set up a voicemailbox for multiple extensions with different greetings, based on the extension dialed? For example, caller1 dials 120 -- he gets u120 or b120 depending on the situation, while caller2 dials 130 and gets u130 or b130. The catch is that I want the messages to go into one mailbox that can be accessed from one extension. E.g. The mailbox owner dials 900 and hears the messages from both 120 and 130. I searched the wiki, and couldn't find anything... Any ideas?
Brent Franks
2004-Nov-01 08:12 UTC
[Asterisk-Users] Voicemail with separate greetings based onextension
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Leah Newmark > Sent: Monday, November 01, 2004 10:08 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Voicemail with separate greetings based > onextension > > Is there a way to set up a voicemailbox for multiple extensions with > different > greetings, based on the extension dialed? For example, caller1 dials120 -> - > he gets u120 or b120 depending on the situation, while caller2 dials130> and > gets u130 or b130. The catch is that I want the messages to go intoone> mailbox that can be accessed from one extension. E.g. The mailboxowner> dials > 900 and hears the messages from both 120 and 130.You could use the playback command after the dial statement, and then after the playback command roll to the mailbox. - Brent
lenz
2004-Nov-01 09:30 UTC
[Asterisk-Users] Voicemail with separate greetings based on extension
Hello, You can of course play whatever message you want before moving the caller to a voicemail directly from the dialplan, as follows.... exten => s,3,Playback(voicemail-invitation) exten => s,4,VoiceMail,s2001 This way you can setup custom messages. Hope it helps l. In data Mon, 1 Nov 2004 10:08:16 -0500, Leah Newmark <lnewmark@capalon.com> ha scritto:> Is there a way to set up a voicemailbox for multiple extensions with > different > greetings, based on the extension dialed? For example, caller1 dials 120 > -- > he gets u120 or b120 depending on the situation, while caller2 dials 130 > and > gets u130 or b130. The catch is that I want the messages to go into one > mailbox that can be accessed from one extension. E.g. The mailbox owner > dials > 900 and hears the messages from both 120 and 130. > > I searched the wiki, and couldn't find anything... > > Any ideas? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Creato con M2, il rivoluzionario client e-mail di Opera: http://www.opera.com/m2/
Wilson Pickett
2004-Nov-01 09:41 UTC
[Asterisk-Users] Voicemail with separate greetings based on extension
> greetings, based on the extension dialed? > The catch is that I want the messages to go into one > mailbox that can be accessed from one extension.It's easy to write your own in extensions.conf in a macro - the sound files played could be called "120.gsm", "130.gsm" etc, named for the extensions - your macro will dial the extension and then have the logic to play the files followed by the voicemailmain application with the 's' argument that doesn't play the standard user's greeting. The basic macro could look something like this: [leave-message] exten => s,1,AbsoluteTimeout(130) exten => s,2,Answer exten => s,3,Playback(private/${ARG1} ) exten => s,4,Voicemail2(s900) exten => s,5,Hangup and called something like this: ; after the dial logic exten => _xxx, s, Macro(leave-message,${EXTEN}) several gotchas, like an extension with no corresponding sound file...
Karl Brose
2004-Nov-01 10:49 UTC
[Asterisk-Users] Voicemail with separate greetings based on extension
Try creating a symbolic link for the INBOX directory (<varspoolpath>/asterisk/voicemail/<context>/<user>/INBOX) of one user to the INBOX directory of the second user. VM announcment files stay separate, INBOX is shared. Leah Newmark wrote:>Is there a way to set up a voicemailbox for multiple extensions with different >greetings, based on the extension dialed? For example, caller1 dials 120 -- >he gets u120 or b120 depending on the situation, while caller2 dials 130 and >gets u130 or b130. The catch is that I want the messages to go into one >mailbox that can be accessed from one extension. E.g. The mailbox owner dials >900 and hears the messages from both 120 and 130. > >I searched the wiki, and couldn't find anything... > >Any ideas? > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >