[Asterisk-Users] Bypass VoiceMail Mailbox prompt

Tim Jackson tim at angelinacounty.net
Fri Oct 8 06:18:56 MST 2004


; Voice Mail
exten => *98,1,Answer
exten => *98,2,VoiceMailMain(s${CALLERIDNUM})
exten => *98,3,Hangup



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paul Dugas
Sent: Friday, October 08, 2004 8:17 AM
To: Asterisk-Users at lists.digium.com
Subject: [Asterisk-Users] Bypass VoiceMail Mailbox prompt

While setting my first couple IP phones, I set their voicemail buttons
to
an extension that runs VoicemailMain.

  exten => 8500,1,Wait(1)                       ; voicemail
  exten => 8500,2,VoicemailMain                 ;
  exten => 8500,3,Hangup                        ;

I would like to be able to pass the mailbox number allowing each phone
to
go in directly but I'd rather tno have a bunch of different extensions
with the mailbox number hard coded:

  exten => 8500,1,Wait(1)                       ; voicemail
  exten => 8500,2,VoicemailMain(${VMBOX})       ;
  exten => 8500,3,Hangup                        ;

The hitch is, I'm not sure how to identify the voicemail box associated
with the channel.  Is there an way to get the current channel's
"mailbox="
value from the iax|sip|zapata.conf files as a variable for use in the
dialplan?

Thanks,

Paul

--
Paul A. Dugas                               Dugas Enterprises, LLC
email: paul at dugasenterprises.com            1711 Indian Ridge Drive
phone: 404.932.1355  fax: 770.516-4841      Woodstock, GA 30189 USA
   [ onsite at the Georgia DOT's West Annex, 404.463.2860 x158 ]
_______________________________________________
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