Hello Christian ... next thing to do, is to take a core dump of the Asterisk process when the channels are stuck. First make sure you compile asterisk without optimizations (make menuselect - Compiler Flags -> DONT_OPTIMIZE). Then, download gdb, if you are using CentOS is as easy as doing "yum install gdb".<div>
<br></div><div>CentOS come with a wrapper script that takes core dumps called "gcore", not sure if it's included with gdb in all distros. In case not, the script can be downloaded here: <a href="http://www.moythreads.com/gcore">http://www.moythreads.com/gcore</a></div>
<div><br></div><div>Then, whenever the problem happens, execute:</div><div><br></div><div># gcore -o asterisk.core `pidof asterisk`</div><div><br></div><div>Then whenever you have a chance contact me on <a href="http://irc.freenode.org">irc.freenode.org</a> in the #openr2 channel. Then I will take a look at your core dump and that will help me fix the problem. </div>
<div><br></div><div><div class="gmail_quote">
On Thu, Nov 5, 2009 at 11:41 AM, Christian Cabrera <span dir="ltr"><<a href="mailto:ccabrera@gmail.com" target="_blank">ccabrera@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Asterisk 1.4.26.2, with your p2 patch from Google Code.<br>
<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-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br><br clear="all"><br>-- <br>Moises Silva<br>Software Developer<br>
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a><br>
</div>