[Asterisk-Users] Accept DTMF during voicemail play?
Iain Stevenson
iain at iainstevenson.com
Sun Feb 23 13:21:31 MST 2003
You can make asterisk play back an announcement before going to voicemail
eg assuming a DevKit Lite setup:
[bell]
exten => s,1,setmusiconhold,default
exten => s,2,responsetimeout,20
exten => s,3,Dial,Zap/2&sip/cisco|10|tT
exten => s,4,Background,announcement
exten => s,5,Voicemail,100
[home]
exten => 40,1,VoicemailMain
exten => 40,2,Hangup
This rings the SIP and zaptel phones for 10 seconds and then plays an
announcement - which can be interrupted by dialling 40 (DTMF) to go to the
voicemail system menu. If there are no interruptions, after the
announcement it goes to record a voicemail for mailbox 100.
Iain
--On Sunday, February 23, 2003 13:45:22 -0600 denon <denon at denon.cx> wrote:
> hmm .. not sure .. I presume you're doing a Dial with the ringing tones?
> Or are you doing a ring? I suppose the tacky alternative would be a wav
> file of ringing sounds, background'd. :)
>
> I guess other options would be a short delay or such somewhere, where you
> could hit an extension .. I'm not sure if either the ring app or Dial has
> any way to wait for digits .. or if putting a WaitForDigits ahead of it
> would work..
>
>
> At 02:30 PM 2/23/2003 -0500, you wrote:
>> denon wrote:> I'm not quite sure I follow you, but if I do, all you need
>> to do is add
>>> an extension in that context for VoiceMailMain. Like so:
>>> exten => 100,1,VoicemailMain
>>> Then when you dial 100 from anywhere, you get the prompts .. or you can
>>> pass your mailbox to it as an argument, and only need to enter your
>>> password.
>>
>> I didn't express myself clearly, I'm afraid. Here are more words, but
>> they are more precise:
>>
>> Current config is that when a call comes in to one of my asterisk lines,
>> I have asterisk immediately answer, and then begin to ring a phone. If
>> it doesn't pick up in 15 seconds, then the extension jumps to voicemail.
>>
>> All well and good, but: (crux of matter right here)
>>
>> If it's ME coming in, and not some arbitrary caller, I want to check my
>> voicemail. But I cannot interrupt the ringing tones that I hear while
>> asterisk is dialing my phone (in order to get to voicemail) and once the
>> rings time out, now I'm in VOICEMAIL "LEAVE" functionality, and it does
>> not seem possible to interrupt the outgoing message in order to jar it
>> into knowing, "It's me; dammit: let me RETRIEVE my voicemail instead of
>> leaving a dang message."
>>
>> I think what I want is going to involve sensitizing asterisk to tones
>> during the outbound message, but I don't know where such a thing would
>> be enabled.
>>
>> I hope this is clearer.
>>
>> Thanks.
>>
>> B.
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list