<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Here’s how I think your dialplan
should look:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>exten => 101,1,Ringing<br>
exten => 101,2,Answer() <br>
exten => 101,3,Dial(SIP/quentin,10) <br>
exten => 101,n,VoiceMail(101@default,u)<br>
exten => 101,n,Playback(vm-goodbye)<br>
exten => 101,n,Hangup()<br>
exten => 101-BUSY,1,Playback(busy)<br>
exten => 101-BUSY,n,Wait(3) <br>
exten => 101-BUSY,n,VoiceMail(101@default,b)<br>
exten => 101-BUSY,n,Playback(vm-goodbye)<br>
exten => 101-BUSY,n,Hangup()</span></font><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>for question 2, this depends on how
voicemail.conf is setup. By default, an asterisk mailbox is considered “Full”
when 100 messages are stored (see voicemail.conf.samples), but this can be
changed up to 9999. Therefore you would just need a job to look for the
creation of the max file and send a mail accordingly. I’m not
enough of a scripter to do this in bash, but here’s a find and grep that
would tell you when a user’s box was full (based on default params):<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>find /|grep msg0099.txt|grep INBOX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>harry R<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, July 24, 2009 7:44
AM<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> [asterisk-users] dialplan
tips</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi everybody<br>
<br>
In advance sorry for my bad english and if my problem was already exposed (I
didn't find any tips in the mailing list archive. Bad luck)<br>
I have some questions about asterisk 1.6 release :<br>
1) how can I do a n+101 priority jumping if a SIP canal is busy ?<br>
I read that the general parameter "priorityjumping" is depreciated in
the 1.6 release and I already try the "j" option in dial()
application but no way.<br>
Here a sample of my simple dialplan :<br>
<br>
exten => 101,1,Ringing<br>
exten => 101,2,Answer() <br>
exten => 101,3,Dial(SIP/quentin,10) <br>
exten => 101,n,VoiceMail(101@default,u)<br>
exten => 101,n,Playback(vm-goodbye)<br>
exten => 101,n,Hangup()<br>
exten => 101,104,Playback(busy)<br>
exten => 101,n,Wait(3) <br>
exten => 101,n,VoiceMail(101@default,b)<br>
exten => 101,n,Playback(vm-goodbye)<br>
exten => 101,n,Hangup()<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2) about asterisk voicemail maximum message limit, is it possible to
send a notification mail to an user if his vmbox is full ? How can i do that if
it's possible.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
In advance, Thank.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>