[Asterisk-Users] Interrupting voicemail with "*", dropping to "a" extension. Does it work?

John Lange john.lange at open-it.ca
Thu May 12 19:37:34 MST 2005


On Fri, 2005-05-13 at 12:25 +1000, Adam Goryachev wrote:
> On Thu, 2005-05-12 at 20:44 -0500, John Lange wrote:
> > Very very odd.
> > 
> > Its not a DTMF problem because other tones work fine. # for example
> > skips the OGM as it should.
> > 
> > So could it possible be a config issue?
> > 
> > The voicemail box in question is in the [default] context inside
> > voicemail.conf.
> > 
> > [default]
> > 2048850872 => XXXX,John Lange,john.lange at open-it.ca
> > 
> > That tells me I need a this in extensions.conf:
> 
> Does it??
> 
> > [default]
> > exten => a,1,VoicemailMain() ; If they press *, send the user into VoicemailMain
> > 
> > Am I missing something blazingly obvious?
> 
> I thought that it should be like this:
> [somecontext]
> exten => 1234,1,Voicemail(1234 at default)  <--- Standard check VM
> exten => a,1,VoiceMailMain()             <--- press * to get here
> 
> ie, the a extension should be in the same context as the voicemail
> extension, the voicemail context (default) is irrelevant in all this...
> It is ONLY used internally by the voicemail app to determine which
> mailbox this is. Don't confuse them just because they are both called
> context's.

I created this bare-bones example to test it.

[mycontext]
exten => 8761234,1,Voicemail(u2048761234)
exten => a,1,VoiceMailMain() 

It does not work. As mentioned I can skip the OGM by pressing #, but *
(and 0) do nothing.

With verbose set to 9 I see nothing on the console for any of the key
presses.

By the way, I'm using a recent CVS version of Asterisk.

Asterisk CVS-HEAD-05/03/05-16:21:27

This is very baffling.

Are there any other ways of trouble shooting it?

> > I didn't think it could be a config issue because I thought it should at
> > least show the "*" in the console and then complain about no "a"
> > extension or something but I get absolutely nothing in the console.
> 
> Dunno, but try the above... and let us know.
> 
> Regards,
> Adam
-- 
John Lange
President OpenIT ltd. www.Open-IT.ca (204) 885 0872
VoIP, Web services, Linux Consulting, Server Co-Location




More information about the asterisk-users mailing list