<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">that’s correct. I wrote a ael context with func_odbc and this work very well.<div class=""><br class=""></div><div class="">But, using my app_mbilling.c work more faster than ael and func_odbc.</div><div class=""><br class=""></div><div class="">example:</div><div class="">agi 15 CPS</div><div class="">ael-func_odbc 30 CPS</div><div class="">native application 50 CPS</div><div class=""><br class=""></div><div class="">But my native application crash some times.</div><div class=""><br class=""></div><div class="">I add in my code many ast_log(LOG_ERROR,”LINE number”); to try fond the issue, but each crash the line is different. And in /var/log/asterisk/full Log file not show any additional information.</div><div class=""><br class=""></div><div class="">I’m test in production with more than 40 CPS. In test server I send 75 CPS with SIPP and work perfectly.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best regards </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12 Sep 2018, at 16:26, BJ Weschke <<a href="mailto:bweschke@btwtech.com" class="">bweschke@btwtech.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><style class="">body{font-family:Helvetica,Arial;font-size:13px}</style><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; margin: 0px;" class="">AGI is limited in its TPS scalability because it needs to fork an external application to complete processing. func_odbc run from within the dial plan does not need to fork anything external so it does not have the same scalability issues that present with an AGI based solution.</div> <br class=""> <div id="bloop_sign_1536780118737426944" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px" class="">-- <br class="">BJ Weschke<br class="">Sent with Airmail</div></div> <br class=""><p class="airmail_on">On September 12, 2018 at 3:22:33 PM, <a href="mailto:info@magnussolution.com" class="">info@magnussolution.com</a> (<a href="mailto:info@magnussolution.com" class="">info@magnussolution.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""></div><div class="">



<title class=""></title>


i’m developing a native application to billing in realtime.
<div class=""><br class=""></div>
<div class="">I work many years with Asterisk Billing via AGI. But
it is very limited to strong CPS. With 10-15 CPS the server crash.
Server with 2 core and 4 GB RAM.</div>
<div class=""><br class=""></div>
<div class="">With my actual native C application I can get on the
same server more than 40 CPS.</div>
<div class=""><br class=""></div>
<div class="">I wrote in C the same code that I have in php
AGI.</div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class="">My name is Adilson Magnus, I’m developer from
<a href="http://www.magnusbilling.com/" class="">www.magnusbilling.com</a> Opensource project to Asterisk
Billing.</div>
<div class=""><br class=""></div>
<div class=""><a href="https://github.com/magnussolution/magnusbilling6" class="">https://github.com/magnussolution/magnusbilling6</a></div>
<div class=""><br class=""></div>
<div class="">Best regards.</div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class=""><br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 12 Sep 2018, at 16:11, Gaston Draque <<a href="mailto:gaston.draque@gmail.com" class="">gaston.draque@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">From the Asterisk side, I would start by
looking into the different logging facilities provided[1] but as
stated, which Asterisk API you are using will determine which
logging facility to look for, how to complement it with your own
app.logging and maybe some capturing may be needed during the
learning process.
<div class="">
<div class="">
<div class="gmail_extra"><br class=""></div>
<div class="gmail_extra">Cheers,</div>
<div class="gmail_extra">Gaston//</div>
<div class="gmail_extra"><br class=""></div>
<div class="gmail_extra">[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Logging" class="">https://wiki.asterisk.org/wiki/display/AST/Logging</a></div>
<div class="gmail_extra">[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration" class="">https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration</a></div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Sep 12, 2018 at 3:11 PM, James
Finstrom <span dir="ltr" class=""><<a href="mailto:jfinstrom@gmail.com" target="_blank" class="">jfinstrom@gmail.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This is missing a lot of useful information.<br class="">
<br class="">
How is your app interfaced to asterisk?<br class="">
ARI?<br class="">
AGI?<br class="">
AMI?<br class="">
<br class="">
What language?<br class="">
Are you using a library?<br class="">
<br class="">
There simply isn't enough here to give a qualified answer<br class="">
On Wed, Sep 12, 2018 at 9:10 AM <a href="mailto:info@magnussolution.com" class="">info@magnussolution.com</a><br class="">
<<a href="mailto:info@magnussolution.com" class="">info@magnussolution.com</a>> wrote:<br class="">
><br class="">
> Hello.<br class="">
><br class="">
> I’m developing a new app. But i’m a problem. The app crash and
restart. This cause that all call hangup.<br class="">
><br class="">
> My question is about DEBUG, where or how, I can get details
about errors?<br class="">
><br class="">
> Exist any documentation to DEBUG.<br class="">
><br class="">
><br class="">
> My app overview:<br class="">
><br class="">
> Connect mysql via ODBC, mount the DIAL command and execute the
call, after save call data in my mysql database via ODBC.<br class="">
><br class="">
><br class="">
><br class="">
> Best regards.<br class="">
><br class="">
><br class="">
><br class="">
> --<br class="">
> ______________________________<wbr class="">______________________________<wbr class="">_________<br class="">
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" rel="noreferrer" target="_blank" class="">http://www.api-digital.com</a> --<br class="">
><br class="">
> Astricon is coming up October 9-11!  Signup is available
at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer" target="_blank" class="">https://www.asterisk.org/<wbr class="">community/astricon-user-<wbr class="">conference</a><br class="">
><br class="">
> asterisk-dev mailing list<br class="">
> To UNSUBSCRIBE or update options visit:<br class="">
>    <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank" class="">http://lists.digium.com/<wbr class="">mailman/listinfo/asterisk-dev</a><br class="">
<span class="gmail-HOEnZb"><font color="#888888" class=""><br class="">
<br class="">
<br class="">
--<br class="">
James Finstrom<br class="">
Guy who does stuff that is sometimes cool<br class="">
<br class="">
gpg: <a href="https://github.com/jfinstrom.gpg" rel="noreferrer" target="_blank" class="">https://github.com/jfinstrom.<wbr class="">gpg</a><br class="">
<br class="">
This email was sent from a personal email account. The content of
this<br class="">
email is not endorsed by my employer or any project I may be a
part<br class="">
of. The contents of this email should be considered my opinion and
not<br class="">
taken as any form of official response. Please keep your hands
and<br class="">
feet in the ride while in motion. Please be sure to tip the
wait<br class="">
staff.<br class="">
<br class="">
--<br class="">
______________________________<wbr class="">______________________________<wbr class="">_________<br class="">
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" rel="noreferrer" target="_blank" class="">http://www.api-digital.com</a> --<br class="">
<br class="">
Astricon is coming up October 9-11!  Signup is available at:
<a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer" target="_blank" class="">https://www.asterisk.org/<wbr class="">community/astricon-user-<wbr class="">conference</a><br class="">
<br class="">
asterisk-dev mailing list<br class="">
To UNSUBSCRIBE or update options visit:<br class="">
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank" class="">http://lists.digium.com/<wbr class="">mailman/listinfo/asterisk-dev</a></font></span></blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class=""></div>
--<br class="">
<div class="gmail_signature">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">
<div style="font-size:small" class=""><span style="font-family:"courier new",monospace" class="">{</span><br class=""></div>
<div style="font-size:small" class="">
<div class=""><font face="courier new, monospace" class=""> 
"fullName" : "Gaston Draque",</font></div>
<div class=""><font face="courier new, monospace" class=""> 
"email"    : "<a href="mailto:gaston.draque@gmail.com" style="color:rgb(17,85,204)" target="_blank" class="">gaston.draque@gmail.com</a>",<br class=""></font></div>
<div class=""><font face="courier new, monospace" class=""> 
"twitter"  : "@gdraque",</font></div>
<div class=""><font face="courier new, monospace" class=""><span style="font-size:12.8px" class="">  "job"
 </span><span style="font-size:12.8px" class=""> </span><span style="font-size:12.8px" class=""> </span><span style="font-size:12.8px" class=""> </span><span style="font-size:12.8px" class=""> </span><span style="font-size:12.8px" class="">: "VoIP
Space Monkey</span><span style="font-size:12.8px" class="">",</span></font></div>
<div class=""><font face="courier new, monospace" class=""> 
"motto"    : "Clouds are made of pizza &
coffee"</font></div>
<div class=""><font face="courier new, monospace" class="">}</font></div>
</div>
</div>
<div class="">
<div class=""><font face="courier new, monospace" class=""><br class=""></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
--<br class="">
_____________________________________________________________________<br class="">

-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" class="">http://www.api-digital.com</a> --<br class="">
<br class="">
Astricon is coming up October 9-11!  Signup is available at:
<a href="https://www.asterisk.org/community/astricon-user-conference" class="">https://www.asterisk.org/community/astricon-user-conference</a><br class="">

<br class="">
asterisk-dev mailing list<br class="">
To UNSUBSCRIBE or update options visit:<br class="">
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" class="">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div>
</blockquote>
</div>
<br class=""></div>


-- <br class="">_____________________________________________________________________<br class="">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" class="">http://www.api-digital.com</a> --<br class=""><br class="">Astricon is coming up October 9-11!  Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" class="">https://www.asterisk.org/community/astricon-user-conference</a><br class=""><br class="">asterisk-dev mailing list<br class="">To UNSUBSCRIBE or update options visit:<br class="">   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" class="">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div></div></span></blockquote></div>-- <br class="">_____________________________________________________________________<br class="">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" class="">http://www.api-digital.com</a> --<br class=""><br class="">Astricon is coming up October 9-11!  Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" class="">https://www.asterisk.org/community/astricon-user-conference</a><br class=""><br class="">asterisk-dev mailing list<br class="">To UNSUBSCRIBE or update options visit:<br class="">   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" class="">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div></blockquote></div><br class=""></div></body></html>