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
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 ________________________________ From: asterisk-users-bounces@lists.digium.com on behalf of Java Rockx Sent: Mon 8/30/2004 8:10 PM To: asterisk-users@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@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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 7798 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040831/89363485/attachment.bin
You did not replace the existing prompt, but added a second prompt. The proper place to make this adjustment is in VoicemailMain, not in extensions. Or find the password prompt sound file and just replace it with yours. Lyle ----- Original Message ----- From: "Java Rockx" <javarockx@yahoo.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, August 31, 2004 1:10 AM 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 mailpassword" 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 callersto> the voice mail system to leave a message. Perhaps there's a better way todo> 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@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 >
Jason Kawakami
2004-Aug-31 07:58 UTC
[Asterisk-Users] Re: Newbie - Voicemail Password Help
----- Original Message -----> > 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 mailpassword" 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,Hanguptry ---- exten => xxx,1,VoicemailMain(${CALLERIDNUM) exten => xxx,2,Hangup for your voicemailmain extension. this will recognize that your callerid if you have a mailbox on the system. note that your mailbox and your caller id must match alternatively, you could go into the /var/lib/asterisk/sounds directory and rename the file "vm-password" to "old.vm-password" then rename your file "pls-enter-vmpassword" to "vm-password" that way you would not have to alter the code at all.> > [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 callersto> the voice mail system to leave a message. Perhaps there's a better way todo> this as well. If so, please let me know. > > Regards, > Paul >Good Luck Jason Kawakami www.optellabs.com
The vm-password file is used else where, such as queues. If you changed it, then you would change for all the other applications. I guess, since we alter the source code often.. it's not that big of a deal. We just create our own patch files and if we update from cvs, we patch against the new source. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Umar Sear Sent: Tuesday, August 31, 2004 12:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Newbie - Voicemail Password Help On Tue, 2004-08-31 at 10:53, Stephen Hon wrote:> Paul, > > What you can do is modify the source code for the voicemailapplication.> > Edit line 3579 in /usr/src/asterisk/apps/app_voicemail.c. Change thefile '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.> > SteveWhy 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@lists.digium.com on behalf of Java Rockx > Sent: Mon 8/30/2004 8:10 PM > To: asterisk-users@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'musing> Asterisk 1.0 RC1. > > My only question is this; when I check my voice mail the PBX simplysays> "password". I wanted to make it say "please enter your voice mailpassword" 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 mainmenu> automatically when calling from your own phone, otherwise it sendscallers to> the voice mail system to leave a message. Perhaps there's a better wayto 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@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_______________________________________________ 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