[Asterisk-Users] 1 extension entry for multiple purposes?

Scott Laird scott at sigkill.org
Mon Sep 20 14:23:24 MST 2004


On Sep 20, 2004, at 2:14 PM, Wiley E. Siler wrote:

> Here you go...  No extension required....
>
>> From extensions.conf....
>
> ;----------------------------------------------
> ; VOICEMAIL ENTRY INTO SYSTEM
> ;----------------------------------------------
> exten => 8,1,Answer
> exten => 8,2,Wait(1)
> exten => 8,3,VoicemailMain(${CALLERIDNUM})
> exten => 8,4,Hangup
>
> Still want the old way of enter your number then PIN...
>
> exten => 81,1,VoicemailMain2()
> exten => 81,2,Hangup


If you can trust caller ID, and you aren't worried about people walking 
into other people's offices and listening to each other's voicemail, 
you can even get rid of the password prompt:

   exten => 8,3,VoicemailMain(s${CALLERIDNUM})


Scott




More information about the asterisk-users mailing list