[asterisk-users] Dial own extension to get to voicemail.

2006-12-20 Thread Phil Finkler
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 

 

___
--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


RE: [asterisk-users] Dial own extension to get to voicemail.

2006-12-20 Thread Douglas Garstang
What about comparing the caller id to the dialled number, and if they match, 
then call Voicemail() ?

-Original Message-
From: Phil Finkler [mailto:[EMAIL PROTECTED]
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 

 

___
--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


Re: [asterisk-users] Dial own extension to get to voicemail.

2006-12-20 Thread Brad Templeton
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)[EMAIL PROTECTED]);

(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.
___
--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