RE: [Asterisk-Users] Auto connect to voicemail

2004-04-06 Thread Don Pobanz
On Monday, April 05, 2004 5:53 PM, Mark Hagler [SMTP:[EMAIL PROTECTED] 
wrote:
 What do you do when $CALLERIDNUM of the caller isn't the 4-digit
 extension?
 I set all of my users Caller ID entries to their 10-digit phone # so
 that
 Caller ID appears correctly when I send their call out the PRI to the
 public
 network.The side effect of this is breaking convenient access to
 voicemail using this method, and I haven't found a way to fix it yet.


I have not done it but there should be a way to remove the first 6 
digits and only send the last 4. Try something like

Exten = 8500,1,Voicemailmain(${CALLERIDNUM:6})

Don Pobanz
___
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] Auto connect to voicemail

2004-04-05 Thread Scott Laird
On Apr 5, 2004, at 1:57 PM, Brian Rathman wrote:

I have the voicemail setup working in that I get the MWI and it emails 
the
message correctly. When I pressed the MWI button on my SNOM 200, it 
dials
into the voicemail system and prompts me for a mailbox and password. I 
know
there is a way to automatically connect directly into the mailbox via 
the
extension.conf file, but I can not find the documentation I am looking 
for
in reference to variables and macros for the extensions file. Can 
someone
please help me with this issue?
 exten = ..., VoiceMailMain(s1234)

will connect to box 1234 without prompting for a password or mailbox 
number.

Scott

___
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] Auto connect to voicemail

2004-04-05 Thread Brian Cuthie

I use something like this:

exten = 8500,1,Ringing
exten = 8500,2,Wait,1
exten = 8500,3,VoicemailMain(s${CALLERIDNUM})

Basically, this rings the phone for once second (thus setting up the audio
path), then goes to voicemail without requiring the password. Leave out the
's' to have VM prompt for the password.

-brian

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Brian Rathman
 Sent: Monday, April 05, 2004 3:58 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Auto connect to voicemail
 
 I have the voicemail setup working in that I get the MWI and 
 it emails the message correctly. When I pressed the MWI 
 button on my SNOM 200, it dials into the voicemail system and 
 prompts me for a mailbox and password. I know there is a way 
 to automatically connect directly into the mailbox via the 
 extension.conf file, but I can not find the documentation I 
 am looking for in reference to variables and macros for the 
 extensions file. Can someone please help me with this issue?
 
 Thanks,
 Brian
 
 ___
 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] Auto connect to voicemail

2004-04-05 Thread Mitchell S. Sharp




On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 

I have the voicemail setup working in that I get the MWI and it emails the
message correctly. When I pressed the MWI button on my SNOM 200, it dials
into the voicemail system and prompts me for a mailbox and password. I know
there is a way to automatically connect directly into the mailbox via the
extension.conf file, but I can not find the documentation I am looking for
in reference to variables and macros for the extensions file. Can someone
please help me with this issue?

Thanks,
Brian


Brian,

At the CLI, type 'show application VoiceMailMain'. You can use the CLI 'show applications' command to list all available apps. If you hit tab, it acts just like BASH's auto complete. Wonderful feature!

Mitch Sharp
Innovative Solutions




Re: [Asterisk-Users] Auto connect to voicemail

2004-04-05 Thread Glenn Dalgliesh



I think this is what you are looking 
for

Exten = 1000,1,Answer,1Exten = 
1000,2,Wait,1Exten = 1000,3,Voicemailmain([EMAIL PROTECTED])

  - Original Message - 
  From: 
  Mitchell S. Sharp 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, April 05, 2004 5:27 
PM
  Subject: Re: [Asterisk-Users] Auto 
  connect to voicemail
  On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
  I have the voicemail setup working in that I get the MWI and it emails the
message correctly. When I pressed the MWI button on my SNOM 200, it dials
into the voicemail system and prompts me for a mailbox and password. I know
there is a way to automatically connect directly into the mailbox via the
extension.conf file, but I can not find the documentation I am looking for
in reference to variables and macros for the extensions file. Can someone
please help me with this issue?

Thanks,
BrianBrian,At the CLI, type 'show 
  application VoiceMailMain'. You can use the CLI 'show applications' 
  command to list all available apps. If you hit tab, it acts just like 
  BASH's auto complete. Wonderful feature!Mitch 
  SharpInnovative Solutions 


Re: [Asterisk-Users] Auto connect to voicemail

2004-04-05 Thread willy
The snom dials into an account caled 'asterisk'

Exten = asterisk,1,Answer,1
Exten = asterisk,2,Wait,1
Exten = asterisk,3,Voicemailmain(${CALLERIDNUM})


- Original Message Follows -
 I think this is what you are looking for
 
 Exten = 1000,1,Answer,1
 Exten = 1000,2,Wait,1
 Exten = 1000,3,Voicemailmain([EMAIL PROTECTED])
   - Original Message - 
   From: Mitchell S. Sharp 
   To: [EMAIL PROTECTED] 
   Sent: Monday, April 05, 2004 5:27 PM
   Subject: Re: [Asterisk-Users] Auto connect to voicemail
 
 
   On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
 I have the voicemail setup working in that I get the MWI
 and it emails the message correctly. When I pressed the
 MWI button on my SNOM 200, it dials into the voicemail
 system and prompts me for a mailbox and password. I know
 there is a way to automatically connect directly into the
 mailbox via the extension.conf file, but I can not find
 the documentation I am looking for in reference to
 variables and macros for the extensions file. Can someone
 please help me with this issue?
 
 Thanks,
 Brian
   Brian,
 
   At the CLI, type 'show application VoiceMailMain'.  You
 can use the CLI 'show applications' command to list all
 available apps.  If you hit tab, it acts just like BASH's
 auto complete.  Wonderful feature!
 
   Mitch Sharp
   Innovative Solutions 

Willy Wouters
ypOne Publishing

___
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] Auto connect to voicemail

2004-04-05 Thread Mark Hagler








What do you do when $CALLERIDNUM of the caller isnt the
4-digit extension? I set all of my users Caller ID entries to their 10-digit
phone # so that Caller ID appears correctly when I send their call out the PRI
to the public network. The side effect of this is breaking convenient access
to voicemail using this method, and I havent found a way to fix it yet. 











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Dalgliesh
Sent: Monday, April 05, 2004 3:26
PM
To:
[EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Auto
connect to voicemail







I think this is what you are looking for











Exten = 1000,1,Answer,1
Exten = 1000,2,Wait,1
Exten = 1000,3,Voicemailmain([EMAIL PROTECTED])







- Original Message - 





From: Mitchell
S. Sharp 





To: [EMAIL PROTECTED] 





Sent: Monday, April 05,
2004 5:27 PM





Subject: Re:
[Asterisk-Users] Auto connect to voicemail









On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 

I have the voicemail setup working in that I get the MWI and it emails themessage correctly. When I pressed the MWI button on my SNOM 200, it dialsinto the voicemail system and prompts me for a mailbox and password. I knowthere is a way to automatically connect directly into the mailbox via theextension.conf file, but I can not find the documentation I am looking forin reference to variables and macros for the extensions file. Can someoneplease help me with this issue?Thanks,Brian


Brian,

At the CLI, type 'show application VoiceMailMain'. You can use the CLI
'show applications' command to list all available apps. If you hit tab, it
acts just like BASH's auto complete. Wonderful feature!

Mitch Sharp
Innovative Solutions 










Re: [Asterisk-Users] Auto connect to voicemail

2004-04-05 Thread Scott Laird
On Apr 5, 2004, at 3:53 PM, Mark Hagler wrote:

What do you do when $CALLERIDNUM of the caller isnt the 4-digit 
extension? I set all of my users Caller ID entries to their 
10-digit phone # so that Caller ID appears correctly when I send their 
call out the PRI to the public network. The side effect of this is 
breaking convenient access to voicemail using this method, and I 
havent found a way to fix it yet.
Use the database.

 exten = 1000,1,Answer,1
 exten = 1000,2,Wait,1
 exten = 1000,3,DBGet(MYEXTEN=extension/#{CALLERIDNUM})
 exten = 1000,4,Voicemailmain([EMAIL PROTECTED])
Then populate the DB via the asterisk CLI:

 database put extension 1234567890 5432

This maps the phone with caller ID 1234567890 to extension 5432.

Scott
___
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] Auto connect to voicemail

2004-04-05 Thread Eric Wieling
I use an AGI script I wrote.  It's specific to my setup, but you can get
a copy at http://www.fnords.org/~eric/asterisk/downloads/  You'd have to
adapt it to your own needs, of course.  Basically it does this: When
called with no options it strips off the first 6 digits of the CallerID
if the Caller*ID is more than 4 digits.  When called with a phone number
as an option it replaces the Caller*ID number with the option, but only
if the Caller*ID is 4 digits long.  

On Mon, 2004-04-05 at 17:53, Mark Hagler wrote:
 What do you do when $CALLERIDNUM of the caller isnt the 4-digit
 extension?I set all of my users Caller ID entries to their
 10-digit phone # so that Caller ID appears correctly when I send their
 call out the PRI to the public network.The side effect of this is
 breaking convenient access to voicemail using this method, and I
 havent found a way to fix it yet. 
 
  
 
 
 __
 
 From:[EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Glenn
 Dalgliesh
 Sent: Monday, April 05, 2004 3:26 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] Auto connect to voicemail
 
  
 
 I think this is what you are looking for
 
  
 
 Exten = 1000,1,Answer,1
 Exten = 1000,2,Wait,1
 Exten = 1000,3,Voicemailmain([EMAIL PROTECTED])
 
 - Original Message - 
 
 From: Mitchell S. Sharp
 
 To: [EMAIL PROTECTED]
 
 Sent: Monday, April 05, 2004 5:27 PM
 
 Subject: Re: [Asterisk-Users] Auto connect to voicemail
 
  
 
 On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
 
 I have the voicemail setup working in that I get the MWI and it emails the
 message correctly. When I pressed the MWI button on my SNOM 200, it dials
 into the voicemail system and prompts me for a mailbox and password. I know
 there is a way to automatically connect directly into the mailbox via the
 extension.conf file, but I can not find the documentation I am looking for
 in reference to variables and macros for the extensions file. Can someone
 please help me with this issue?
  
 Thanks,
 Brian
 
 
 Brian,
 
 At the CLI, type 'show application VoiceMailMain'.  You can
 use the CLI 'show applications' command to list all available
 apps.  If you hit tab, it acts just like BASH's auto
 complete.  Wonderful feature!
 
 Mitch Sharp
 Innovative Solutions 
-- 
  Eric Wieling * BTEL Consulting * 504-899-1387 x2111
In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss.

___
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] Auto connect to voicemail

2004-04-05 Thread Joe Dennick
Title: Message



Try 
placing the following in your extensions.conf file:
 exten = 
1000,1,VoicemailMain(${EXTEN:6})

That 
strips the first six number off of the Caller ID leaving the last four digits to 
correspond with the voicemailbox. I've got it working on one of my 
servers.

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mark 
  HaglerSent: Monday, April 05, 2004 5:53 PMTo: 
  [EMAIL PROTECTED]Subject: RE: [Asterisk-Users] Auto 
  connect to voicemail
  
  What do you do when $CALLERIDNUM 
  of the caller isnt the 4-digit extension? I set all of my 
  users Caller ID entries to their 10-digit phone # so that Caller ID appears 
  correctly when I send their call out the PRI to the public network. 
  The side effect of this is breaking convenient access to 
  voicemail using this method, and I havent found a way to fix it yet. 
  
  
  
  
  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Glenn DalglieshSent: Monday, April 05, 2004 3:26 
  PMTo: 
  [EMAIL PROTECTED]Subject: Re: [Asterisk-Users] Auto 
  connect to voicemail
  
  
  I think this is what you are 
  looking for
  
  
  
  Exten = 
  1000,1,Answer,1Exten = 1000,2,Wait,1Exten = 
  1000,3,Voicemailmain([EMAIL PROTECTED])
  

- Original Message - 


From: Mitchell S. Sharp 


To: [EMAIL PROTECTED] 


Sent: Monday, 
April 05, 2004 5:27 PM

Subject: Re: 
[Asterisk-Users] Auto connect to voicemail


On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
I have the voicemail setup working in that I get the MWI and it emails themessage correctly. When I pressed the MWI button on my SNOM 200, it dialsinto the voicemail system and prompts me for a mailbox and password. I knowthere is a way to automatically connect directly into the mailbox via theextension.conf file, but I can not find the documentation I am looking forin reference to variables and macros for the extensions file. Can someoneplease help me with this issue?Thanks,Brian
Brian,At the CLI, type 'show application 
VoiceMailMain'. You can use the CLI 'show applications' command to 
list all available apps. If you hit tab, it acts just like BASH's auto 
complete. Wonderful feature!Mitch SharpInnovative 
Solutions 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.645 / Virus Database: 413 - Release Date: 3/28/2004
 


Re: [Asterisk-Users] Auto connect to voicemail

2004-04-05 Thread Ryan Thrash
I'm running into a similar situation. We have 3-digit extensions and a 
4-digit DID numbers that get used for for outbound CID. Therefore, no 
$CALLERIDNUM direct access to voicemail. Suggestions?

What do you do when $CALLERIDNUM of the caller isnt the 4-digit 
extension? I set all of my users Caller ID entries to their 
10-digit phone # so that Caller ID appears correctly when I send their 
call out the PRI to the public network. The side effect of this is 
breaking convenient access to voicemail using this method, and I 
havent found a way to fix it yet.

I think this is what you are looking for

Exten = 1000,1,Answer,1
 Exten = 1000,2,Wait,1
 Exten = 1000,3,Voicemailmain([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] Auto connect to voicemail

2004-04-05 Thread Joe Dennick
Title: Message



My 
mistake, it should be:
 exten = 
1000,1,VoicemailMain(${CallerID:6})

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Joe 
  DennickSent: Monday, April 05, 2004 6:40 PMTo: 
  [EMAIL PROTECTED]Subject: RE: [Asterisk-Users] Auto 
  connect to voicemail
  Try 
  placing the following in your extensions.conf file:
   exten = 
  1000,1,VoicemailMain(${EXTEN:6})
  
  That 
  strips the first six number off of the Caller ID leaving the last four digits 
  to correspond with the voicemailbox. I've got it working on one of my 
  servers.
  

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Mark 
HaglerSent: Monday, April 05, 2004 5:53 PMTo: 
[EMAIL PROTECTED]Subject: RE: [Asterisk-Users] Auto 
connect to voicemail

What do you do when 
$CALLERIDNUM of the caller isnt the 4-digit extension? I 
set all of my users Caller ID entries to their 10-digit phone # so that 
Caller ID appears correctly when I send their call out the PRI to the public 
network. The side effect of this is breaking convenient 
access to voicemail using this method, and I havent found a way to fix it 
yet. 





From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn 
DalglieshSent: Monday, 
April 05, 2004 3:26 PMTo: 
[EMAIL PROTECTED]Subject: Re: [Asterisk-Users] Auto 
connect to voicemail


I think this is what you are 
looking for



Exten = 
1000,1,Answer,1Exten = 1000,2,Wait,1Exten = 
1000,3,Voicemailmain([EMAIL PROTECTED])

  
  - Original Message - 
  
  
  From: Mitchell S. Sharp 
  
  
  To: [EMAIL PROTECTED] 
  
  
  Sent: 
  Monday, April 05, 2004 5:27 PM
  
  Subject: Re: 
  [Asterisk-Users] Auto connect to voicemail
  
  
  On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
  I have the voicemail setup working in that I get the MWI and it emails themessage correctly. When I pressed the MWI button on my SNOM 200, it dialsinto the voicemail system and prompts me for a mailbox and password. I knowthere is a way to automatically connect directly into the mailbox via theextension.conf file, but I can not find the documentation I am looking forin reference to variables and macros for the extensions file. Can someoneplease help me with this issue?Thanks,Brian
  Brian,At the CLI, type 'show 
  application VoiceMailMain'. You can use the CLI 'show applications' 
  command to list all available apps. If you hit tab, it acts just 
  like BASH's auto complete. Wonderful feature!Mitch 
  SharpInnovative Solutions 
  
  ---Outgoing mail is certified Virus Free.Checked by 
  AVG anti-virus system (http://www.grisoft.com).Version: 6.0.645 / Virus 
  Database: 413 - Release Date: 
3/28/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.645 / Virus Database: 413 - Release Date: 3/28/2004