<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Replying to myself. :)<br>I just noticed the deadlock message still displayed on the console at the end of a normal call, so the the deadlock message is not related to the early CANCEL<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Douglas Garstang <dougmig33@yahoo.com><br>To: asterisk-users@lists.digium.com<br>Sent: Tuesday, January 8, 2008 5:31:12 PM<br>Subject: [asterisk-users] Help! channel_find_deadlocked: Avoided initial deadlock for ...<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hope someone can help.<br><br>I have a situation where asterisk is sending a SIP CANCEL message before the Dial() timeout has hit. It doesn't always do it.<br><br>Normally, we send an INVITE to the ITSP. They respond with a 100 Trying, then a 180 Ringing, or 183 Session Progress. It seems to be at this point that Asterisk starts the dial timer. Normally, when no more replies have been received by the dial timeout, Asterisk sends a CANCEL message. That's all fine, and when this happens, this is what appears on the console:<br><br> -- Called 919431555555@teleglobe<br> -- SIP/teleglobe-09879188 is making progress passing it to SIP/teleglobe-09876568<br> -- Nobody picked up in 40000 ms<br> -- Executing
PlayTones("SIP/teleglobe-09876568", "congestion") in new stack<br><br>However, when asterisk sends the CANCEL earlier then this, this is what appears on the console:<br><br> -- SIP/teleglobe-09879188 is making progress passing it to SIP/teleglobe-09876568<br> == Spawn extension (default, callback, 7) exited non-zero on 'SIP/teleglobe-09876568'<br>Jan 9 01:16:34 WARNING[5719]: channel.c:781 channel_find_locked: Avoided initial deadlock for '0x97f24d8', 10 retries!<br><br>Does anyone know what the deadlock message is all about? It is ocurring quite frequently.<br>This is Asterisk 1.2.14.<br><br>Thanks,<br>Doug<br><br><br><br></div></div><br>
<hr size="1">Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20"> Try it now.</a></div><br></div></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>