[Asterisk-Users] Silently Wait for DTMF Input

Peter Svensson psvasterisk at psv.nu
Fri Sep 17 05:02:37 MST 2004


On Fri, 17 Sep 2004 asterisk at bortal.de wrote:

> > What you want is an extension 12345 in the same context as the
> > extension  35 that will be used when you dial 12345 while background is
> > playing the  message.
> > in the 12345 extension you do the normal 'voicemailmain' with the skip
> > password feature if you want to go straight there.
> >
> 
> I hope i understood it right. Here is my config:
> 
> [working]
> exten => 39,1,Answer()
> exten => 39,2,Background(tt-allbusy) ; whilest this is playing i press 123
> exten => 39,3,Voicemail(35)
> exten => 39,4,Hangup()
> exten => 123,10,VoicemailMain,s35
> 
> When i listen to "tt-allbusy", i press the keys "123" and i exspected it
> to jump to "exten => 123,10,VoicemailMain,s35".Obviously, this is not the case. Why?
> 
> Here is my asterisk output:

This may work:
[working]
exten => 39,1,Answer()
exten => 39,2,GoTo(working-busy,s,1)

[working-busy]
exten => s,1,Background(tt-allbusy)
exten => s,2,Voicemail(35)
exten => s,3,Hangup()
exten => 123,1,VoicemailMain,s35

Peter




More information about the asterisk-users mailing list