Paul Mahler
2004-May-14 11:47 UTC
[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? [voice-mail] exten => 99,1,VoicemailMain(${EXTEN}@inside) exten => 99,2,Hangup Paul Mahler pmahler@signate.com <mailto:pmahler@signate.com> <http://www.signate.com/> Signate, LLC PO Box 60430 Palo Alto, CA 94306 VoIP Systems, Training & Consulting
Kyle Hagan
2004-May-14 12:06 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
Here is how mine is: exten => *55,1,Voicemailmain(${CALLERIDNUM}) Mine works. Kyle 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 > > >Paul Mahler >pmahler@signate.com <mailto:pmahler@signate.com> ><http://www.signate.com/> >Signate, LLC >PO Box 60430 >Palo Alto, CA > 94306 > > VoIP Systems, Training & Consulting > > > > > > > > > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >
Zac Amsler
2004-May-14 12:09 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
Wrong voicemail context??? -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Paul Mahler Sent: Friday, May 14, 2004 1:48 PM To: asterisk-users@lists.digium.com Subject: [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? [voice-mail] exten => 99,1,VoicemailMain(${EXTEN}@inside) exten => 99,2,Hangup Paul Mahler pmahler@signate.com <mailto:pmahler@signate.com> <http://www.signate.com/> Signate, LLC PO Box 60430 Palo Alto, CA 94306 VoIP Systems, Training & Consulting _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Nicolas Gudino
2004-May-14 12:13 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
Hi, On Fri, 2004-05-14 at 15: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<super snip>> exten => 98,1,SayDigits(${EXTEN})You might want to try with ${CALLERIDNUM} instead of ${EXTEN} -- Nicolas Gudino <nicolas@house.com.ar> House Internet S.R.L.
Sean Cheesman
2004-May-14 12:17 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
Using the EXTEN variable will give you the extension that was dialed. Try using CALLERIDNUM (for this problem and your other post). http://www.voip-info.org/wiki-Asterisk+variables ________________________________ From: asterisk-users-admin@lists.digium.com on behalf of Paul Mahler Sent: Fri 5/14/2004 1:47 PM To: asterisk-users@lists.digium.com Subject: [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? [voice-mail] exten => 99,1,VoicemailMain(${EXTEN}@inside) exten => 99,2,Hangup Paul Mahler pmahler@signate.com <mailto:pmahler@signate.com> <http://www.signate.com/> Signate, LLC PO Box 60430 Palo Alto, CA 94306 VoIP Systems, Training & Consulting _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4610 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040514/e5c50559/attachment.bin
Joshua M. Thompson
2004-May-14 12:26 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
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,HangupThe ${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@jurai.org>
Andy Powell
2004-May-14 12:50 UTC
[Asterisk-Users] What's in ${EXTEN} ? Why does voicemail prompt for an extension?
On 14/05/2004 at 11: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 > >${EXTEN} in your example contains 99 ... you want to use ${CALLERIDNUM} Andy
Andreas Frackowiak
2004-May-15 02:31 UTC
[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(${EXTEN}@inside) > exten => 99,2,HangupIn 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:2}@inside) exten => _99.,2,Hangup And then "99123" would go directly to Mailbox "123" (if it exists). regards Andreas