Hi Is it possible to dial from within voicemail to reach another extension. I would like my customers to have a choice of dialing 1 to get my cell phone while in voicemail or to just leave a message at the tone. Thanks Kelly
From: Kelly Opal Sent: Tue 5/3/2011 1:57 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] dial from voicemail Hi Is it possible to dial from within voicemail to reach another extension. I would like my customers to have a choice of dialing 1 to get my cell phone while in voicemail or to just leave a message at the tone. Thanks Kelly -- _____________________________________________________________________ Any FreePBX based distro does this, so it is possible. I have no input on how to program it on vanilla * though. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110503/b745e48a/attachment.htm>
Kelly Opal wrote:> I would like my customers to have a choice of dialing 1 to get my cell > phone while in voicemailI use a combination of the follow me feature, along with the 'a' extension: [s-NOANSWER] exten => s,1,Gosub(mailbox_exist,s,1) exten => s,n,Set(VoiceMailCount=${VMCOUNT(${ARG1}@sip)}) exten => s,n,Voicemail(${ARG1}@sip|u) exten => h,1,Set(NewVoiceMailCount=${VMCOUNT(${ARG1}@sip)}) exten => h,n,GotoIf($["${NewVoiceMailCount}" > "${VoiceMailCount}"]?5:6) exten => h,n,Hangup() exten => a,1,Followme(${ARG1}|san) exten => a,n,Voicemail(${ARG1}@sip|u) -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."