[asterisk-users] Re: Voicemail Press '0'
Douglas Garstang
dgarstang at oneeighty.com
Tue Oct 10 12:07:14 MST 2006
I was able to get pressing '0' while in voicemail to work in a simple test case, but was unable in a more complicated scenario. Here's a stripped down, sanitized version of that complex scenario...
[start] ; phones start here
include => some_contexts
include => some_more_contexts
include => route
[route]
; When findme/follome is finished, the script dials Local/${EXTEN}global_vmdeposit for vm deposit
exten => _[*0123456789].,n,AGI(ipt/originator.py)
[global_vmdeposit]
exten => _[sub].,1,Answer
exten => _[sub].,2,Wait,1
exten => _[sub].,3,Voicemail(${EXTEN}@voicemail)
I tried putting the 'o' extension in all three contexts there and it worked in none of them. I don't know if dialling Local is screwing it up, or if because we dialled Local from an AGI script, or maybe because of the includes or what...
Doug
> -----Original Message-----
> From: LJ [mailto:lshields at altologic.com]
> Sent: Tuesday, October 10, 2006 12:24 PM
> To: asterisk-users at lists.digium.com
> 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" <dgarstang at oneeighty.com> wrote in message
> news:645FEC31A18FE54A8721500CDD55A7B6035D0B7A at mail.oneeighty.com...
> > -----Original Message-----
> > From: Eric "ManxPower" Wieling [mailto:eric at fnords.org]
> > 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(3254101 at default)
> > >
> > > [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
>
More information about the asterisk-users
mailing list