Using the Background command, you will be able to play the voicemail
while still being allowed to enter digits.
exten => s,1,Wait(2)
exten => 108,2,Background(voicemail/default/108/unavail)
exten => s,1,Dial(SIP/50,23,r)
exten => s,2,Background(/voicemail/default/50/unavail) ;or whatever the
soundfile is called
exten => s,3,Voicemail(s50) ;s will skip the greeting and just go to the
beep
exten => s,4,Playback(vm-goodbye)
exten => s,5,Hangup
You can then put
exten => 1, Dial(sip/me)
exten => 2, Dial(sip/her)
or whatever your dial statements look like.
Leah Newmark
Capalon VoIP
[EMAIL PROTECTED] wrote:
Message: 9
Date: Mon, 19 Jun 2006 14:18:22 -0400
From: "John Klimek" <[EMAIL PROTECTED]>
Subject: [Asterisk-Users] Can I enter an extension to dial while
voicemail is playing?
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I have a very, very simple Asterisk setup in my house. I have a
Sipura 3000 with a PSTN line connected and one analog phone connected.
The [incoming] context looks like this:
exten => s,1,Dial(SIP/50,23,r)
exten => s,2,VoiceMail([EMAIL PROTECTED])
exten => s,3,Playback(vm-goodbye)
exten => s,4,Hangup
As you can see, when somebody calls in if I don't answer in 23 seconds
then they are forwarded to my voicemail.
How can I make it so I can call an enter extensions either while the
phone is ringing or while the voicemail message is playing? I want
the system to be as seemless as possible so the wife is happy =)
Right now it works great because my Sipura 3000 forwards to call to
Asterisk and Asterisk rings my analog phone, but the incoming caller
hears a steady dial-tone the whole time. I wouldn't want that to
change. (so the caller isn't wondering what is going on)
Any help is appriciated :)
_______________________________________________
--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