[Asterisk-Users] Newbie - Voicemail Password Help

Umar Sear usedcanon at yahoo.co.uk
Tue Aug 31 15:22:28 MST 2004


On Tue, 2004-08-31 at 10:53, Stephen Hon wrote:
> Paul,
>  
> What you can do is modify the source code for the voicemail application. 
>  
> Edit line 3579 in /usr/src/asterisk/apps/app_voicemail.c. Change the file 'vm-password' to 'pls-enter-vm-password'.
>  
> Recompile and install.
>  
> Then in your macro remove the line that plays the 'pls-enter-vm-password' file.
>  
> Steve

Why do that ? when you can simply replace the prompt file. Using your
method will need a recompile every time a different prompt needs to be
used.

> ________________________________
> 
> From: asterisk-users-bounces at lists.digium.com on behalf of Java Rockx
> Sent: Mon 8/30/2004 8:10 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Newbie - Voicemail Password Help
> 
> 
> 
> Hello All.
> 
> I'm just beginning with Asterisk and I have it all working now. I'm using
> Asterisk 1.0 RC1.
> 
> My only question is this; when I check my voice mail the PBX simply says
> "password". I wanted to make it say "please enter your voice mail password" so
> I am using Background(pls-enter-vm-password).
> 
> However now I hear "Please enter your voice mail password password" when I
> check my messages.
> 
> That's not a type-o. It says "password" twice.
> 
> Here is my extensions.conf file.
> 
> [macro-vmanswer]
>                                                                               
>                                              
> exten => s,1,GotoIf($[${ARG1} = ${CALLERIDNUM}]?2:5)
> exten => s,2,Background(pls-enter-vm-password)
> exten => s,3,VoicemailMain(${ARG1})
> exten => s,4,Hangup
> exten => s,5,Voicemail(u${ARG1})
> exten => s,6,Hangup
> 
> [default]
> exten => 1002,1,Macro(vmanswer,1002)
>                                                                               
>                                                                               
>                                                                               
>            
> The whole point of the vmanswer macro is to go to the voice mail main menu
> automatically when calling from your own phone, otherwise it sends callers to
> the voice mail system to leave a message. Perhaps there's a better way to do
> this as well. If so, please let me know.
> 
> Regards,
> Paul
> 
> 
>                
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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 at 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




More information about the asterisk-users mailing list