listuser at spamomania.co.uk
2009-Dec-30 14:56 UTC
[asterisk-users] Per user voicemail greeting
I'm struggle to answer a simple question. One user at extension 4000 wants a custom .gsm file to play for their mailbox. I can't figure where to put it/what to set in voicemail.conf to achieve this: voicemail.conf 4000 => 4000,system,voicemail at ....net Relevant extensions.conf line: exten => 2,n,VoiceMail(4000 at voicemail) It all works fine, playing the system VM greating, but I would like to use the custom .gsm for this user only. Can anyone help?
listuser at spamomania.co.uk wrote:> I'm struggle to answer a simple question. One user at extension 4000 > wants a custom .gsm file to play for their mailbox. I can't figure where > to put it/what to set in voicemail.conf to achieve this: > >And this custom .gsm file is a greeting? Or, you're talking about custom prompts for that user? Doug
This might work: Change exten => 2,n,VoiceMail(4000 at voicemail) to exten => 2,n,playback(custom) exten => 2,n,VoiceMail(4000 at voicemail,s) The "s" flag makes voicemail play no greeting instead of the default "b" (busy) or "u" (unavail) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of listuser at spamomania.co.uk Sent: Wednesday, December 30, 2009 8:56 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Per user voicemail greeting I'm struggle to answer a simple question. One user at extension 4000 wants a custom .gsm file to play for their mailbox. I can't figure where to put it/what to set in voicemail.conf to achieve this: voicemail.conf 4000 => 4000,system,voicemail at ....net Relevant extensions.conf line: exten => 2,n,VoiceMail(4000 at voicemail) It all works fine, playing the system VM greating, but I would like to use the custom .gsm for this user only. Can anyone help? _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Wed, 2009-12-30 at 14:56 +0000, listuser at spamomania.co.uk wrote:> It all works fine, playing the system VM greating, but I would like to > use the custom .gsm for this user only. Can anyone help?The greetings and voicemail messages are typically stored in the /var/spool/asterisk/voicemail directory. There will be a directory for each voicemail context, and a subdirectory for each mailbox within the context directory. Please be aware that the voicemail system records the greetings in several different formats, so you want to convert your custom recordings to all of those formats, or otherwise ensure that Asterisk doesn't play one greeting for callers with one codec and another greeting for callers using another codec. -- Jared Smith Digium, Inc.
Get the customer to log into their voicemail mailbox and follow the instructions to record an unavailable message (Options 0 then 1 if there are no messages I think) Then in the conf you need exten => 2,n,VoiceMail(4000 at voicemail,u) Ish listuser at spamomania.co.uk wrote:> I'm struggle to answer a simple question. One user at extension 4000 > wants a custom .gsm file to play for their mailbox. I can't figure where > to put it/what to set in voicemail.conf to achieve this: > > voicemail.conf > 4000 => 4000,system,voicemail at ....net > > Relevant extensions.conf line: > exten => 2,n,VoiceMail(4000 at voicemail) > > It all works fine, playing the system VM greating, but I would like to > use the custom .gsm for this user only. Can anyone help? > > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062