<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.3">
</HEAD>
<BODY>
Hi guys. <BR>
<BR>
I have the same problem and donnow why. <BR>
I set up Nat=yes and Qulify=yes ... and notthin' happens.<BR>
<BR>
So..do you think it's related to a perl function?<BR>
If u find the sol , tell us please. THANKS.<BR>
<BR>
El dom, 01-04-2007 a las 18:02 +0200, Edoardo Serra escribió:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi guys,</FONT>
<FONT COLOR="#000000">        I think I got the point of the problem.</FONT>
<FONT COLOR="#000000">I guess it's related to a lock in res_perl (which we use to do lcr, </FONT>
<FONT COLOR="#000000">billing, ecc...)</FONT>
<FONT COLOR="#000000">I'll open another thread for that</FONT>
<FONT COLOR="#000000">Tnx for hep</FONT>
<FONT COLOR="#000000">Regards</FONT>
<FONT COLOR="#000000">Edoardo Serra</FONT>
<FONT COLOR="#000000">WeBRainstorm S.r.l.</FONT>
<FONT COLOR="#000000">Edoardo Serra ha scritto:</FONT>
<FONT COLOR="#000000">> Hi all,</FONT>
<FONT COLOR="#000000">> I'm having a problem with some Asterisk servers interconnected with </FONT>
<FONT COLOR="#000000">> each other using IAX (I also tried with SIP without solving the problem)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Sometimes, with apparently no reason, some peers become UNREACHABLE</FONT>
<FONT COLOR="#000000">> (I have qualify=yes in iax.conf) and REACHABLE again as soon as</FONT>
<FONT COLOR="#000000">> another qualify test is made.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Our users are also complaining about audio loss during their calls,</FONT>
<FONT COLOR="#000000">> apparently randomly, everything goes ok for days and bad for another few </FONT>
<FONT COLOR="#000000">> days.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I strongly believe the 2 problems are strictly related because in the </FONT>
<FONT COLOR="#000000">> logs I see REACHABLE / UNREACHABLE messages only for certains days</FONT>
<FONT COLOR="#000000">> without regularity.</FONT>
<FONT COLOR="#000000">> The days in wich i see a lot of messages are exactly the days with</FONT>
<FONT COLOR="#000000">> most of complaint about audio loss</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I just noticed that timestamps of the logs (REACHABLE / UNREACHABLE)</FONT>
<FONT COLOR="#000000">> are quite always during business hours, this makes me think at somewhat </FONT>
<FONT COLOR="#000000">> related to load (cpu load, badwidth load, calls load, etc...)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> But, looking at hardware specs of our lan, servers and average load I </FONT>
<FONT COLOR="#000000">> don't think they are over-stressed.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Our servers are all:</FONT>
<FONT COLOR="#000000">> 2 x Intel(R) Xeon(TM) CPU 3.20GHz</FONT>
<FONT COLOR="#000000">> 1 GB RAM</FONT>
<FONT COLOR="#000000">> 2 x IDE HDDs Software RAID 1</FONT>
<FONT COLOR="#000000">> Asterisk 1.2.13 with res_perl</FONT>
<FONT COLOR="#000000">> Gentoo Linux</FONT>
<FONT COLOR="#000000">> Some of them has a Sangoma card connected with an E1</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Most ot these are on the same LAN, interconnected with a 1 GB switch</FONT>
<FONT COLOR="#000000">> (I don't think it should be a bandwidth problem).</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Load averages of these server is varying from 0.5 to 1.0</FONT>
<FONT COLOR="#000000">> (I guess it should be ok)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> On each server we don't have more than 50 concurrent calls</FONT>
<FONT COLOR="#000000">> (bridged SIP <-> IAX2 or IAX2 <-> ZAP)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Used codec is mostly G729</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Sometimes on asterisk cli i see some messages like</FONT>
<FONT COLOR="#000000">> "Avoided initial deadlock for '0x9fd130', 10 retries!"</FONT>
<FONT COLOR="#000000">> I don't know if it could be somehow related.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Someone of you can point me in the right direction ?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Tnx in advance</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Regards</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Ing. Edoardo Serra</FONT>
<FONT COLOR="#000000">> WeBRainstorm S.r.l.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> --Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> asterisk-users mailing list</FONT>
<FONT COLOR="#000000">> To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000">> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">--Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">asterisk-users mailing list</FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>