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@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'. Doug.
Douglas Garstang wrote:> Crikey. I can't get this to work! > > [foo] > exten => 556,1,Answer > exten => 556,n,Voicemail(3254101@default) > >I believe it needs to be in the same context as your voicemail. Mine is: [voice-mail] exten => s,1,Set(CALLBACK=${DB(vmcallback/${CALLERIDNUM})}) exten => s,2,GotoIf($["${CALLBACK}" = "YES"]?3:4) exten => s,3,System(/usr/local/bin/vm-callout-delete.sh ${CALLERIDNUM}) exten => s,4,Set(TIMEOUT(response)=15) exten => s,5,Set(TIMEOUT(digit)=4) exten => s,6,VoicemailMain(@sip) exten => s,7,Hangup() exten => a,1,Goto(incoming,s,2) ; (* pressed to break out of directory, goto incoming context) exten => o,1,Goto(incoming,s,2) ; (Zero pressed for operator, goto incoming context) Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
If you get an answer for this please post it here on forum as I and at least one other I've talked to have this same problem. I found it was only a problem from external calls though not internally. Same for you? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Douglas Garstang Sent: Tuesday, October 10, 2006 10:06 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Voicemail Press '0' 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@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'. 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
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@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'. > > Doug. > > >You'll want the 'o' extension to be in the same context where voicemail is called from. Try that and see if it works. -- Joshua Colp Software Developer Digium, Inc.
Dang it. Thanks. Blindly trusting the voip-wiki is bad.... "When using the zero '0' and star '*' it's important to note that the context you placed the application voicemail in is irrelvant..." Doug.> -----Original Message----- > From: Doug Lytle [mailto:support@drdos.info] > Sent: Tuesday, October 10, 2006 10:09 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! > > > > [foo] > > exten => 556,1,Answer > > exten => 556,n,Voicemail(3254101@default) > > > > > I believe it needs to be in the same context as your > voicemail. Mine is: > > [voice-mail] > > exten => s,1,Set(CALLBACK=${DB(vmcallback/${CALLERIDNUM})}) > exten => s,2,GotoIf($["${CALLBACK}" = "YES"]?3:4) > exten => s,3,System(/usr/local/bin/vm-callout-delete.sh > ${CALLERIDNUM}) > exten => s,4,Set(TIMEOUT(response)=15) > exten => s,5,Set(TIMEOUT(digit)=4) > exten => s,6,VoicemailMain(@sip) > exten => s,7,Hangup() > > exten => a,1,Goto(incoming,s,2) ; (* pressed to break out of > directory, > goto incoming context) > exten => o,1,Goto(incoming,s,2) ; (Zero pressed for operator, goto > incoming context) > > Doug > > -- > > Ben Franklin quote: > > "Those who would give up Essential Liberty to purchase a > little Temporary Safety, deserve neither Liberty nor Safety." > > > _______________________________________________ > --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 >
That was it for me as well. Couldn't get that answer the last time I asked. Thanks guys. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Douglas Garstang Sent: Tuesday, October 10, 2006 11:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] Voicemail Press '0' Dang it. Thanks. Blindly trusting the voip-wiki is bad.... "When using the zero '0' and star '*' it's important to note that the context you placed the application voicemail in is irrelvant..." Doug.> -----Original Message----- > From: Doug Lytle [mailto:support@drdos.info] > Sent: Tuesday, October 10, 2006 10:09 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! > > > > [foo] > > exten => 556,1,Answer > > exten => 556,n,Voicemail(3254101@default) > > > > > I believe it needs to be in the same context as your > voicemail. Mine is: > > [voice-mail] > > exten => s,1,Set(CALLBACK=${DB(vmcallback/${CALLERIDNUM})}) > exten => s,2,GotoIf($["${CALLBACK}" = "YES"]?3:4) > exten => s,3,System(/usr/local/bin/vm-callout-delete.sh > ${CALLERIDNUM}) > exten => s,4,Set(TIMEOUT(response)=15) > exten => s,5,Set(TIMEOUT(digit)=4) > exten => s,6,VoicemailMain(@sip) > exten => s,7,Hangup() > > exten => a,1,Goto(incoming,s,2) ; (* pressed to break out of > directory, > goto incoming context) > exten => o,1,Goto(incoming,s,2) ; (Zero pressed for operator, goto > incoming context) > > Doug > > -- > > Ben Franklin quote: > > "Those who would give up Essential Liberty to purchase a > little Temporary Safety, deserve neither Liberty nor Safety." > > > _______________________________________________ > --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
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@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.
> -----Original Message----- > From: Eric "ManxPower" Wieling [mailto:eric@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@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.
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:lshields@altologic.com] > Sent: Tuesday, October 10, 2006 12:24 PM > To: asterisk-users@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@oneeighty.com> wrote in message > news:645FEC31A18FE54A8721500CDD55A7B6035D0B7A@mail.oneeighty.com... > > -----Original Message----- > > From: Eric "ManxPower" Wieling [mailto:eric@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@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 >
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@altologic.com] > Sent: Tuesday, October 10, 2006 12:24 PM > To: asterisk-users@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@oneeighty.com> wrote in message > news:645FEC31A18FE54A8721500CDD55A7B6035D0B7A@mail.oneeighty.com... > > -----Original Message----- > > From: Eric "ManxPower" Wieling [mailto:eric@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@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 >
Thanks but that's not going to work. We are serving many many companies and a single exitcontext setting won't work.> -----Original Message----- > From: LJ [mailto:lshields@altologic.com] > Sent: Tuesday, October 10, 2006 3:05 PM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Re: Re: Voicemail Press '0' > > > 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" <dgarstang@oneeighty.com> wrote in message > news:645FEC31A18FE54A8721500CDD55A7B6035D0B82@mail.oneeighty.com... > 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:lshields@altologic.com] > > Sent: Tuesday, October 10, 2006 12:24 PM > > To: asterisk-users@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@oneeighty.com> wrote in message > > news:645FEC31A18FE54A8721500CDD55A7B6035D0B7A@mail.oneeighty.com... > > > -----Original Message----- > > > From: Eric "ManxPower" Wieling [mailto:eric@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@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 > > > _______________________________________________ > --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 >