<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Joseph wrote 25.11.2012 02:12:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>&nbsp;</pre>
<pre>
        ebegin "Stopping asterisk PBX gracefully"
        /usr/sbin/asterisk -r -x "core stop gracefully" &amp;&gt;/dev/null
        # Now we have to wait until asterisk has _really_ stopped.

</pre>
</blockquote>
<p>As you can see, it is trying to execute "core stop gracefully". I don't know why it wont shutdown, or maybe it would but you can't wait till it happens, so I can't help in troubleshooting.</p>
<p>But if you need a quick workaround to be able to shut down without killing process - change it to "core stop now". It should shut the Asterisk down immediately, dropping all active calls.</p>
<div>
<pre><span class="sig"><span style="color: #999999;">-- </span><br /><span style="color: #999999;">With Best Regards</span><br /><span style="color: #999999;"><a title="mailto:mlischuk@itx.com.ua" href="mailto:mlischuk@itx.com.ua">Mikhail Lischuk</a></span><br /><span style="color: #999999;"><br /></span></span></pre>
<pre>&nbsp;</pre>
<pre><span class="sig">&nbsp;</span></pre>
</div>
</body></html>