Excellent answer. Thank you very much.

Paul


Paul Mahler 
[EMAIL PROTECTED]       
Signate, LLC
PO Box 60430
Palo Alto, CA
 94306

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Andreas Frackowiak
> Sent: Saturday, May 15, 2004 1:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Asterisk-Users] What's in ${EXTEN} ? Why does 
> voicemail prompt for an extension?
> 
> > Why does voicemail prompt me for an extension instead of 
> just asking 
> > my password?
> 
> Because there is no Voicemailbox "99" in that context in your 
> configuration. 
> 
> 
> > [voice-mail]
> > exten => 99,1,VoicemailMain([EMAIL PROTECTED])
> > exten => 99,2,Hangup
> 
> In your example, $EXTEN will always be 99, because that is 
> the extension.
> 
> If you would like to have the "99" as a prefix for the 
> following voicemailbox number you could do something like:
> 
> exten => _99.,1,VoicemailMain(${EXTEN:[EMAIL PROTECTED])
> exten => _99.,2,Hangup
> 
> And then "99123" would go directly to Mailbox "123" (if it exists).
> 
> regards
> Andreas
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to