There were 2 problems that we faced, one was at around 50 calls, few calls were just dead air, and when I saw the logs I could see that it was sent to the sip provider and after that there was no log for that particular call that was having dead air, but at around 200 to 250, we could see that MySQL(Connect connid &lt;ipaddr&gt; uname pwd db) statement took around 5-10 sec to connect to the database and then the 2 queries in that code got executed pretty fast (1-2sec), and so here we had the dead air untill the call got connected (after 5-10sec). <br>
<br>We also monitored the processor usage and it was around 15-20% CPU and memory was around 300M to 400M, so we concluded that it was not the hardware issue.....based on all of your opinions i will try to see whether I can use any other language and try to do those operations.....Thanks for all of your information!<br>
<br><div class="gmail_quote">On Wed, Oct 21, 2009 at 10:51 PM, Steve Edwards <span dir="ltr">&lt;<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, 21 Oct 2009, <a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a> wrote:<br>
<br>
</div><div class="im">&gt; OK, but how do write the C program -- the Perl and php agis have defined<br>
&gt; functions for the agi commands, how do you do this in c?<br>
<br>
</div>The same way. All languages need a library. Either you find a library that<br>
&quot;talks&quot; AGI or you write one. I wrote mine because when I started writing<br>
AGIs about 5 years ago, I didn&#39;t have much luck finding one.<br>
<div><div></div><div class="h5"><br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards       <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a>      Voice: +1-760-468-3867 PST<br>
Newline                                              Fax: +1-760-731-3000<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-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>