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

2004-05-17 Thread Paul Mahler
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


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

2004-05-15 Thread Andreas Frackowiak
 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] What's in ${EXTEN} ? Why does voicemail prompt for an extension?

2004-05-14 Thread Paul Mahler
 
Why does voicemail prompt me for an extension instead of just asking my
password?
 
[voice-mail]
exten = 99,1,VoicemailMain([EMAIL PROTECTED])
exten = 99,2,Hangup


Paul Mahler 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.signate.com/ 
Signate, LLC
PO Box 60430
Palo Alto, CA
 94306

 VoIP Systems, Training  Consulting



 

 

 


___
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


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

2004-05-14 Thread Kyle Hagan
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([EMAIL PROTECTED])
exten = 99,2,Hangup
Paul Mahler 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.signate.com/ 
Signate, LLC
PO Box 60430
Palo Alto, CA
94306

VoIP Systems, Training  Consulting

	







___
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


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

2004-05-14 Thread Zac Amsler
Wrong voicemail context???

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Mahler
Sent: Friday, May 14, 2004 1:48 PM
To: [EMAIL PROTECTED]
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([EMAIL PROTECTED])
exten = 99,2,Hangup


Paul Mahler 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.signate.com/ 
Signate, LLC
PO Box 60430
Palo Alto, CA
 94306

 VoIP Systems, Training  Consulting



 

 

 


___
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


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

2004-05-14 Thread Nicolas Gudino
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([EMAIL PROTECTED])
 exten = 99,2,Hangup
super snip

 exten = 98,1,SayDigits(${EXTEN})

You might want to try with ${CALLERIDNUM} instead of ${EXTEN}

-- 
Nicolas Gudino [EMAIL PROTECTED]
House Internet S.R.L.

___
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


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

2004-05-14 Thread Sean Cheesman
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: [EMAIL PROTECTED] on behalf of Paul Mahler
Sent: Fri 5/14/2004 1:47 PM
To: [EMAIL PROTECTED]
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([EMAIL PROTECTED])
exten = 99,2,Hangup


Paul Mahler
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.signate.com/
Signate, LLC
PO Box 60430
Palo Alto, CA
 94306

 VoIP Systems, Training  Consulting

   








___
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


winmail.dat

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

2004-05-14 Thread Joshua M. Thompson
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([EMAIL PROTECTED])
 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 [EMAIL PROTECTED]

___
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


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

2004-05-14 Thread Andy Powell

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([EMAIL PROTECTED])
exten = 99,2,Hangup



${EXTEN} in your example contains 99 ... you want to use ${CALLERIDNUM}

Andy


___
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


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

2004-05-14 Thread Jay Milk
Yep, and if you do 

exten = *55,1,Voicemailmain(s${CALLERIDNUM})

(inserted an s before ${CALLERIDNUM}), it won't even prompt you for the
password.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kyle Hagan
Sent: Friday, May 14, 2004 2:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [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([EMAIL PROTECTED])
exten = 99,2,Hangup


Paul Mahler
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.signate.com/ 
Signate, LLC
PO Box 60430
Palo Alto, CA
 94306

 VoIP Systems, Training  Consulting

   

 

 

 


___
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


___
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