<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body>I had a problem in the dictate app, which I have fixed. Thanks for the help.<br><br>By the way here is a description of what was happening. <br>app_dictate does not close the file descriptor after the call hangs or a new dictation starts, as and when the dictation increased the count of open file descriptor increased and forced the asterisk process to reach the limit of allowed maximum number of open file descriptor.<br>So I added ast_closestream(fs), where ever I thought it was necessary and at the end I checked for <br>if(fs){<br> &nbsp;&nbsp;&nbsp; ast_closestream(fs);<br>}<br>this line was causing the problem, in case the file descriptor was already closed it was still going into the if and trying to close a closed descriptor.<br>I have made change to set fs = NULL everywhere after ast_closestream(fs)<br><br>I am not a developer for Asterisk and even cannot make changes in the SVN as I do not know lot about the branches in it, but if someone from your side can take the effort to change this It would be great help for others. <br><br>Regards,<br>Sanjay Rajdev<br><br>----- Original Message -----<br>From: "Russell Bryant" &lt;russell@digium.com&gt;<br>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br>Sent: Thursday, May 8, 2008 8:36:14 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi<br>Subject: Re: [asterisk-users] Asterisk Restarting due to segfault<br><br>Sanjay Rajdev wrote:<br>&gt; I have Asterisk 1.4.15 installed on a Fedora Core 8 machine. Asterisk is <br><br>&lt;snip&gt;<br><br>&gt; In the dialplan we have used MixMonitor() to record &nbsp;the calls.<br>&gt; <br>&gt; Can anyone help me on getting to the root of the problem or fixing it?<br><br>We have fixed a _lot_ of issues in that area of the code since 1.4.15. &nbsp;I would <br>suggest trying the latest version. &nbsp;If it still gives you trouble, please let us <br>know on http://bugs.digium.com so that we can fix it up for you.<br><br>Thanks,<br><br>-- <br>Russell Bryant<br>Senior Software Engineer<br>Open Source Team Lead<br>Digium, Inc.<br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users<br></body></html>