In my Asterisk 1.2.9.1 installation I use the following:

in voicemail.conf include the following:

exitcontext=vmlogin
operator=yes

in extensions.conf create a matching context that users are dropped in when they dial * or 0 in voicemail:

[vmlogin]

exten => a,1,VoicemailMain(2000)  ; Prompt to login and check VM
exten => a,2,Hangup

exten => o,1,Wait,1
exten => o,2,Authenticate(1234) ; Authorized access to internal receptionist
exten => o,3,Dial(${PHONE2},90)
exten => o,4,Hangup

exten => i,1,Hangup
exten => t,1,Hangup
exten => h,1,Hangup



"Douglas Garstang" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is that only available in 1.4? 'exitcontext' does not exist anywhere in my default 1.2.x voicemail.conf file.

-----Original Message-----
From: LJ [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 12:24 PM
To: [email protected]
Subject: [asterisk-users] Re: Voicemail Press '0'


Alternativly you can use the "exitcontext" parameter in the
voicemail.conf
to define a separate context in your extensions.conf where
the "o" or "a"
extensions are handled.

"Douglas Garstang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -----Original Message-----
> From: Eric "ManxPower" Wieling [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 10, 2006 11:15 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Voicemail Press '0'
>
>
> Douglas Garstang wrote:
> > Crikey. I can't get this to work!
> >
> > Allegedly, you can press 0 while in the voicemail greeting
> and be dropped to the 'o' extension. For some reason, I can't
> get it to work. The 'docs' aren't clear about what context
> the o extension should be in. The voip wiki says
> >
> > "the context for the voicemail box that we're looking for
> in the dialplan for the jump to the 'a' or 'o' extention"
> >
> > Whatever that means...
> >
> > My dialplan has:
> >
> > [foo]
> > exten => 556,1,Answer
> > exten => 556,n,Voicemail([EMAIL PROTECTED])
> >
> > [default]
> > exten => o,n,Playback(tt-monkeys)
> >
> > My voicemail.conf has:
> >
> > [general]
> > operator=yes
> >
> > [default]
> > 3254101 => 1234,Foo
> >
> > When I press '0' nothing happens. Nothing is displayed on
> the console to indicate any attempt to dial 'o'.
> >
>
> Put exten => o in the same context as Voicemail.  I don't
know if you
> can include => the context it is in or not.

Grrrr. It's a fussy bastard. I took what I finally got
working in a simple
test scenario and tried to apply that to production and it
ain't working.

Doug.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to