If you add the exten => #,1 line to the end of the inbound context, that should do it for you. If not, change $AGI->exec("VoiceMail",$options) to go to a context instead of running Voicemail directly.
_____ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: Thursday, April 07, 2011 2:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] asterisk login to voicemail i'm afraid my setup is more complex than that.... [inbound] exten => _X.,1,agi(route.pl) after some logic using mysql, route.pl then does: $AGI->exec("VoiceMail", $options); at that point, I would like the caller to be able to push '#' and be prompted for Password for that particular mailbox On Thu, Apr 7, 2011 at 2:58 PM, Danny Nicholas <da...@debsinc.com> wrote: _____ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: Thursday, April 07, 2011 1:56 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] asterisk login to voicemail Is there a way to login to a voicemail box when someone pushes '#' during greeting? [Danny Nicholas] Here is one way: [greeting] Exten => s,1,background(greeting) Exten =>s,n,hangup Exten => #,1,voicemailmain(100@default) -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users