<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><SPAN class=774231517-26072005><FONT face=Arial color=#0000ff size=2>You
need to match the extensions you have in voicemail.conf to the callerid you're
passing to voicemailmain(). For 5 digit extensions it would be
exten => 22999,1,VoiceMailMain(s${CALLERIDNUM:-5)</FONT></SPAN></DIV>
<DIV><SPAN class=774231517-26072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=774231517-26072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=774231517-26072005><FONT face=Arial color=#0000ff
size=2>Louie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]<B>On Behalf Of </B>Mauro
Zanin<BR><B>Sent:</B> Tuesday, July 26, 2005 12:56 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Some more
VOICEMAILMAIN issue...<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi everybody,</FONT></DIV>
<DIV><FONT face=Arial size=2>I have corrected this line in extensions.conf by
stripping spaces off and now it executes:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<P><FONT face=Arial><STRONG>exten =>
22999,1,VoiceMailMain(s${CALLERIDNUM})</STRONG></FONT></P>
<P><FONT face=Arial size=2>when it runs, the mail box number is asked and
password too. I expected no question were made, because I inserted
CALLERIDNUMBER and s in front of box number.</FONT></P>
<P><FONT face=Arial size=2>Anybody knows why?</FONT></P>
<P><FONT face=Arial size=2>Thank to you all, very kind members of this
list!</FONT></P>
<P><FONT face=Arial size=2>Ciao</FONT></P>
<P><FONT face=Arial size=2>Mauro</FONT></P></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>