Phil Finkler
2006-Dec-20 12:34 UTC
[asterisk-users] Dial own extension to get to voicemail.
I've gotten this Polycom 501 pretty much licked, but I need to know if there's a way in a dialplan to say if someone dials their own extension it goes straight to voicemail and asks them for their password. I thought I saw an example of this on the web but I can't seem to find it. Any advice appreciated! Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/efed642d/attachment.htm
Douglas Garstang
2006-Dec-20 12:52 UTC
[asterisk-users] Dial own extension to get to voicemail.
What about comparing the caller id to the dialled number, and if they match, then call Voicemail() ....? -----Original Message----- From: Phil Finkler [mailto:PhilF@iqconsultinginc.com] Sent: Wednesday, December 20, 2006 12:35 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Dial own extension to get to voicemail. I've gotten this Polycom 501 pretty much licked, but I need to know if there's a way in a dialplan to say if someone dials their own extension it goes straight to voicemail and asks them for their password. I thought I saw an example of this on the web but I can't seem to find it. Any advice appreciated! Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/de854f52/attachment.htm
Brad Templeton
2006-Dec-20 13:32 UTC
[asterisk-users] Dial own extension to get to voicemail.
On Wed, Dec 20, 2006 at 02:34:36PM -0500, Phil Finkler wrote:> I've gotten this Polycom 501 pretty much licked, but I need to know if > there's a way in a dialplan to say if someone dials their own extension > it goes straight to voicemail and asks them for their password. I > thought I saw an example of this on the web but I can't seem to find it. > Any advice appreciated! >You can do it, but it's more work than having an extension (the standard one seems to be 86 now) that goes to: VoicemailMain(s${CALLERID(num)}@default); (But only in a context where the callerid can be trusted.) To do what you want, you would need to have your extension processing macro test if CALLERID(num) = ${EXTEN}, and then invoke the above expression instead of dialing the extension.