<div dir="ltr"><div>thank you so much for your help and support :)<br><br></div>
<div class="gmail_quote">2010/6/18 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="blue" link="blue">
<div>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Crontab –e will open your crontab for editing (if you are root)</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Add this line</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">45 4 * * * /usr/sbin/asterisk –rx “restart when convenient”</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">And exit the editor</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This will restart your asterisk at 4:45 am every day unless a call is active at that time. If a call is active, asterisk will restart when the call hangs up.</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you want to “Damn the torpedoes”, change “when convenient” to “now”.</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div class="MsoNormal" 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 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"> <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>salaheddine elharit<br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Friday, June 18, 2010 12:56 PM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> Asterisk Users Mailing List - Non-Commercial Discussion
<div class="im"><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [asterisk-users] asterisk issue</div></span></font>
<p></p></p></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">thanks for your response </span></font></p></div>
<div>
<div></div>
<div class="h5">
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">how can i create and execute this cron </span></font></p></div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">2010/6/18 Danny Nicholas <<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>></span></font></p>
<div vlink="purple" link="blue">
<div>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I do a cron to execute “/usr/sbin/asterisk –rx “restart when convenient” “ each day at 4:45 AM. This doesn’t really “solve” any problems, just does “housekeeping” to keep a clean environment, since some installs/os’es lend themselves to memory leaks.</span></font></p>
<p class="MsoNormal"><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div class="MsoNormal" 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 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"> <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>salaheddine elharit<br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Friday, June 18, 2010 5:13 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] asterisk issue</span></font></p></div>
<div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a problem in Asterisk 1.4 each day I need to restart <b><u><font color="blue"><span style="FONT-WEIGHT: bold; COLOR: blue">asterisk service asterisk</span></font></u></b> restart in order to unblock the calls </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My question how can I do in order to check the issue, and if there is any tool or log?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks and regards.</span></font></p></div></div></div></div></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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></span></font></p></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div></div></div></div></div><br>--<br>_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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></div>