<div>Yeah I try Doug solution and It works !</div>
<div> </div>
<div>Thanks everybody<br><br></div>
<div class="gmail_quote">2009/7/24 Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Here’s how I think your dialplan should look:</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<div class="im">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>
</div>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 face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></span></font>
<p></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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):</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">find /|grep msg0099.txt|grep INBOX</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><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"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <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> <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
<b><span style="FONT-WEIGHT: bold">Subject:</span></b> [asterisk-users] dialplan tips</span></font></p></div>
<div>
<div></div>
<div class="h5">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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()</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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.</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br>In advance, Thank.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div></div></div></p></div></div><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>