<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle18 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue bgColor=white>
<DIV><SPAN class=614033823-05042004><FONT face=Arial color=#0000ff size=2>Try 
placing the following in your extensions.conf file:</FONT></SPAN></DIV>
<DIV><SPAN class=614033823-05042004><FONT face=Arial color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; exten =&gt; 
1000,1,VoicemailMain(${EXTEN:6})</FONT></SPAN></DIV>
<DIV><SPAN class=614033823-05042004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=614033823-05042004><FONT face=Arial color=#0000ff size=2>That 
strips the first six number off of the Caller ID leaving the last four digits to 
correspond with the voicemailbox.&nbsp; I've got it working on one of my 
servers.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  asterisk-users-admin@lists.digium.com 
  [mailto:asterisk-users-admin@lists.digium.com] <B>On Behalf Of </B>Mark 
  Hagler<BR><B>Sent:</B> Monday, April 05, 2004 5:53 PM<BR><B>To:</B> 
  asterisk-users@lists.digium.com<BR><B>Subject:</B> RE: [Asterisk-Users] Auto 
  connect to voicemail<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">What do you do when $CALLERIDNUM 
  of the caller isn’t the 4-digit extension? &nbsp;&nbsp;&nbsp;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. 
  &nbsp;&nbsp;&nbsp;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. 
  </SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
  face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
  <HR tabIndex=-1 align=center width="100%" SIZE=2>
  </SPAN></FONT></DIV>
  <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
  style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
  face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
  asterisk-users-admin@lists.digium.com 
  [mailto:asterisk-users-admin@lists.digium.com] <B><SPAN 
  style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Glenn Dalgliesh<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, April 05, 2004 3:26 
  PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
  asterisk-users@lists.digium.com<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Asterisk-Users] Auto 
  connect to voicemail</SPAN></FONT></P></DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I think this is what you are 
  looking for</SPAN></FONT></P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
  <DIV>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Exten =&gt; 
  1000,1,Answer,1<BR>Exten =&gt; 1000,2,Wait,1<BR>Exten =&gt; 
  1000,3,Voicemailmain(<A 
  href="mailto:$%7bCALLERIDNUM%7d@default">${CALLERIDNUM}@default</A>)</SPAN></FONT></P></DIV>
  <BLOCKQUOTE 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
    <DIV>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message ----- 
    </SPAN></FONT></P></DIV>
    <DIV style="font-color: black">
    <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
    size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
    title=mss-maillist@innohost.com 
    href="mailto:mss-maillist@innohost.com">Mitchell S. Sharp</A> 
    </SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
    title=asterisk-users@lists.digium.com 
    href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A> 
    </SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Monday, 
    April 05, 2004 5:27 PM</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Re: 
    [Asterisk-Users] Auto connect to voicemail</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">On Mon, 2004-04-05 at 15:57, Brian Rathman wrote: 
    </SPAN></FONT></P><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">I have the voicemail setup working in that I get the MWI and it emails the</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">message correctly. When I pressed the MWI button on my SNOM 200, it dials</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">into the voicemail system and prompts me for a mailbox and password. I know</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">there is a way to automatically connect directly into the mailbox via the</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">extension.conf file, but I can not find the documentation I am looking for</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">in reference to variables and macros for the extensions file. Can someone</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">please help me with this issue?</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">&nbsp;</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">Thanks,</SPAN></FONT></I></PRE><PRE><I><FONT face="Courier New" color=#737373 size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #737373; FONT-STYLE: italic">Brian</SPAN></FONT></I></PRE>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt"><BR>Brian,<BR><BR>At the CLI, type 'show application 
    VoiceMailMain'.&nbsp; You can use the CLI 'show applications' command to 
    list all available apps.&nbsp; If you hit tab, it acts just like BASH's auto 
    complete.&nbsp; Wonderful feature!<BR><BR>Mitch Sharp<BR>Innovative 
    Solutions </SPAN></FONT></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>
<BR>

<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.645 / Virus Database: 413 - Release Date: 3/28/2004<BR>
</FONT> </P>