[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?

Joshua M. Thompson funaho at jurai.org
Fri May 14 12:26:50 MST 2004


On Fri, 2004-05-14 at 14:47, Paul Mahler wrote:
>  Why does voicemail prompt me for an extension instead of just asking my
> password?
>  
> [voice-mail]
> exten => 99,1,VoicemailMain(${EXTEN}@inside)
> exten => 99,2,Hangup

The ${EXTEN} variable is the extension number, which in this case will
always be 99. You will want to use ${CALLERIDNUM} here (or some variant
thereof.)

-- 
Joshua M. Thompson <funaho at jurai.org>




More information about the asterisk-users mailing list