[Asterisk-Dev] PATCH: Pound out of password prompt

Eric Wieling eric at fnords.org
Thu Sep 11 09:21:38 MST 2003


The attached patch for app_voicemail2.c will cause the app to restart if
you press "#" or wait for the timeout when you are at the "Password?"
prompt.  This will allow you to do the following in your dialplan:

exten => 1000,1,VoiceMailMain2(${CALLERIDNUM})

When you call extension 1000 VoiceMailMain2 will default to the mailbox
that is the same as your Caller*ID number.  If no matching mailbox is
found in /etc/asterisk/voicemail.conf then it will ask you for the
mailbox.  If it finds a mailbox with the same number as yur Caller*ID
number it will skip asking you for a mailbox and go directly to asking
you for a password.  If you press "#" at the password prompt (or wait
for the timeout) then it will restart and ask you for a mailbox and
password.  This is useful for people that check their voicemail from
places other than their extension.

--Eric
-- 
BTEL Consulting
850-484-4535 x2111 (Office)
504-595-3916 x2111 (Experimental)
877-552-0838 (Backup Phone)




More information about the asterisk-dev mailing list