Hi, I am very new to Asterisk. I wanted to know how to retrive the Voicemails. I could see some voicemails assosiated with some extensions. Any ideas?? --------------------------------- How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050817/f364f55a/attachment.htm
Take this as an example
[from-sip]
exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup
exten => 2001,1,Dial(SIP/2001,20)
exten => 2001,2,Voicemail(u2001)
exten => 2001,102,Voicemail(b2001)
exten => 2001,103,Hangup
exten => 2999,1,VoicemailMain(${CALLERIDNUM})
you then dial 2999 to retrieve it.
Kun
  -----Original Message-----
  From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of Sharadindu
Mohanty
  Sent: Wednesday, August 17, 2005 4:30 PM
  To: asterisk-Users@lists.digium.com
  Subject: [Asterisk-Users] Voicemail Retrival
  Hi,
     I am very new to Asterisk. I wanted to know how to retrive the
Voicemails. I could see some voicemails assosiated with some extensions.
  Any ideas??
----------------------------------------------------------------------------
--
  How much free photo storage do you get? Store your holiday snaps for FREE
with Yahoo! Photos. Get Yahoo! Photos
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050817/c8806b1f/attachment.htm
On Wednesday 17 August 2005 10:29, Sharadindu Mohanty wrote:> Hi,Hi!> Any ideas??Yes, I do it in the following way. In extension.conf add this line: exten => 9999,1,VoiceMailMain(s${CALLERIDNUM}) exten => 9999,2,Hangup() Here any extension can call 9999 and then automatically gets directed to their voicemail where they have some options. I hope this helps, Christoph
There is a different approach to this;
Put a priority 'a' in the extension dialplan that goes to
Voicemmailmain(${EXTEN})
Users then dial there own extension from any location and press the *
key once voicemail picks up.
This method seems to emulate what most people are already used to.
If you have a voicemail button on the phone the other method works as
well, you can use both.
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-
> bounces@lists.digium.com] On Behalf Of Derek Whitten
> Sent: Wednesday, August 17, 2005 8:16 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Voicemail Retrival
> 
> you could declare the phone names as variables..
> 
> PHONE1=SIP/phone1
> PHONE1VM=12345
> 
> 
> On Wed, 2005-08-17 at 03:31, Rudolf Ladyzhenskii wrote:
> > Hi,
> >
> > This procedure will work under one condition -- your user names are
> > same as your extension numbers. I have same problem. I was giving
> > phones alphanumeric user names, like "phone1".
> > When VoicemailMain is called with ${CALLERIDNUM}, it is actually
> > called as VoiceMailMain("phone1"). As a result, voice mail
is asking
> > for a mailbox number which is same as your extension number. (BTW,
is> > there a way to extract extension number rather than phone name?).
> >
> > As I am experimenting with *, I will rename phones to match their
> > extensions.
> >
> > Rudolf
> >         ----- Original Message -----
> >         From: Sharadindu Mohanty
> >         To: Asterisk Users Mailing List - Non-Commercial Discussion
> >         Sent: Wednesday, August 17, 2005 8:32 PM
> >         Subject: Re: [Asterisk-Users] Voicemail Retrival
> >
> >         I did the same way but it is asking for some password and
> >         mailbox. I think mail box is extension no but what abt
> >         password?
> >
> >         Can i overide this procedure?
> >
> >         Thanks
> >
> >         Christoph Eicke <cei@inmedias.it> wrote:
> >                 On Wednesday 17 August 2005 10:29, Sharadindu
Mohanty> >                 wrote:
> >                 > Hi,
> >                 Hi!
> >
> >                 > Any ideas??
> >                 Yes, I do it in the following way. In extension.conf
> >                 add this line:
> >
> >                 exten => 9999,1,VoiceMailMain(s${CALLERIDNUM})
> >                 exten => 9999,2,Hangup()
> >
> >                 Here any extension can call 9999 and then
> >                 automatically gets directed to their
> >                 voicemail where they have some options.
> >
> >                 I hope this helps,
> >
> >                 Christoph
> >                 _______________________________________________
> >                 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> >
> >
> >         Sharadindu Mohanty
> >
> >
> >
______________________________________________________________> >         To help you stay safe and secure online, we've developed
the
> >         all new Yahoo! Security Centre.
> >
> >
> >
______________________________________________________________> >
> >         _______________________________________________
> >         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
> >
> >
> >
______________________________________________________________________> > _______________________________________________
> > 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
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/GIT> d-@ s+:+ a? C+++ BLHIS$ U+++ P+> L+++ !E W+++$ N++ o+ K w--
> PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+> h---- r+++ y++++
>  ------END GEEK CODE BLOCK------
Christoph Eicke wrote:> Yes, I do it in the following way. In extension.conf add this line: > > exten => 9999,1,VoiceMailMain(s${CALLERIDNUM}) > exten => 9999,2,Hangup() > > Here any extension can call 9999 and then automatically gets directed to their > voicemail where they have some options. > > I hope this helps,Unless you want to check your voicemail from a phone other than your own phone.