Hi All.<br><br>I have many days reading and research about asterisk and vicidial. I thing this issue is about asterisk and doesnt about vicidial. Isn&#39;t it?<br><br>I have a problem with theses application (I already ask for help in vicidial forums), but I can not fix it.<br>
<br>I have debian 5 with asterisk 1.2.24 and vicidial 2.0.4. This server has a IAX tunnel with another asterisk server B which connect to the carries... I can call using eyebeam directly and I can start the call.<br><br>Asterisk is running ok, but when I tried to do a call with vicidial my phone ring but when I pick up the phone, the CLI  show:<br>
<br>WARNING[16629]: channel.c:780 channel_find_locked: Avoided deadlock.<br><br>And the call is active, I can talk and listen to my partner :s<br><br>But reseraching a lot in google, that warning sometimes doesnt afect the call. in some cases the call is going and I maybe that messages IS AFTER hung up.<br>
<br>What can be wrong here  ? :s <br><br>This is part of /var/log/asterisk/messages:<br><br><br>DEBUG[9326] chan_iax2.c: Immediately destroying 1, having received hangup<br>Sep 27 16:20:36 VERBOSE[10049] logger.c:   == Spawn extension (default, 8600051, 1) exited non-zero on &#39;IAX2/172.22.0.5:4569-1&#39;<br>
Sep 27 16:20:36 VERBOSE[10049] logger.c:     -- Executing DeadAGI(&quot;IAX2/172.22.0.5:4569-1&quot;, &quot;agi://<a href="http://127.0.0.1:4577/call_log">127.0.0.1:4577/call_log</a>&quot;) in new stack<br>Sep 27 16:20:36 VERBOSE[10049] logger.c:     -- AGI Script agi://<a href="http://127.0.0.1:4577/call_log">127.0.0.1:4577/call_log</a> completed, returning 0<br>
Sep 27 16:20:36 VERBOSE[10049] logger.c:     -- Executing DeadAGI(&quot;IAX2/172.22.0.5:4569-1&quot;, &quot;agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------</a>)&quot;) in new stack<br>
Sep 27 16:20:36 VERBOSE[10049] logger.c:     -- AGI Script agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------</a>) completed, returning 0<br>
Sep 27 16:20:36 DEBUG[10049] chan_iax2.c: We&#39;re hanging up IAX2/172.22.0.5:4569-1 now...<br>Sep 27 16:20:36 DEBUG[10049] chan_iax2.c: Really destroying IAX2/172.22.0.5:4569-1 now...<br>Sep 27 16:20:36 VERBOSE[10049] logger.c:     -- Hungup &#39;IAX2/172.22.0.5:4569-1&#39;<br>
<br><br>and this is the log CLI:<br><br><br><span style="background-color: rgb(0, 204, 204);">Spawn extension (default, 8365, 4) exited non-zero on &#39;IAX2/172.22.0.5:4569-4&#39;</span><br style="background-color: rgb(0, 204, 204);">
<span style="background-color: rgb(0, 204, 204);">    -- Executing DeadAGI(&quot;IAX2/172.22.0.5:4569-4&quot;, &quot;agi://<a href="http://127.0.0.1:4577/call_log">127.0.0.1:4577/call_log</a>&quot;) in new stack</span><br style="background-color: rgb(0, 204, 204);">
<span style="background-color: rgb(0, 204, 204);">    -- AGI Script agi://<a href="http://127.0.0.1:4577/call_log">127.0.0.1:4577/call_log</a> completed, returning 0</span><br style="background-color: rgb(0, 204, 204);"><span style="background-color: rgb(0, 204, 204);">    -- Executing DeadAGI(&quot;IAX2/172.22.0.5:4569-4&quot;, &quot;agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------</a>)&quot;) in new stack</span><br style="background-color: rgb(0, 204, 204);">
<span style="background-color: rgb(0, 204, 204);">    -- AGI Script agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------</a>) completed, returning 0</span><br style="background-color: rgb(0, 204, 204);">
<span style="background-color: rgb(0, 204, 204);">    -- Hungup &#39;IAX2/172.22.0.5:4569-4&#39;</span><br><br><br>In the other asterisk server (B whiche connect with the carries) I get this:<br><br> <span style="background-color: rgb(102, 204, 204);">Executing Dial(&quot;IAX2/vicidial-9945&quot;, &quot;SIP/17863126954@nettthone&quot;) in new stack</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">    -- Called 17863126954@netttthone</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- Accepting AUTHENTICATED call from <a href="http://192.168.0.144">192.168.0.144</a>:</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">       &gt; requested format = slin,</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">       &gt; requested prefs = (gsm|ulaw),</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">       &gt; actual format = ulaw,</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">       &gt; host prefs = (ulaw|alaw|gsm|ilbc),</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">       &gt; priority = mine</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- Executing Dial(&quot;IAX2/vicidial-9585&quot;, &quot;SIP/17863126954@netttphone&quot;) in new stack</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">    -- Called 17863126954@netttthone</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- SIP/nettthone-08873100 is making progress passing it to IAX2/vicidial-9366</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">    -- SIP/netttphone-088b37a0 is making progress passing it to IAX2/vicidial-9585</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- SIP/netttphone-0889ab98 is making progress passing it to IAX2/vicidial-9945</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">    -- SIP/netttphone-0889ab98 answered IAX2/vicidial-9945</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- SIP/netttphone-088b37a0 answered IAX2/vicidial-9585</span><br style="background-color: rgb(102, 204, 204);">
<span style="background-color: rgb(102, 204, 204);">  == Spawn extension (vicidial, 017863126954, 1) exited non-zero on &#39;IAX2/vicidial-9945&#39;</span><br style="background-color: rgb(102, 204, 204);"><span style="background-color: rgb(102, 204, 204);">    -- Hungup &#39;IAX2/vicidial-9945&#39;</span><br>
<br><br><br><br><br clear="all"><br>-- <br>--Michael Mendoza--<br>