[asterisk-dev] write my self app. Debug

info at magnussolution.com info at magnussolution.com
Wed Sep 12 14:18:44 CDT 2018


i’m developing a native application to billing in realtime.

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.

With my actual native C application I can get on the same server more than 40 CPS.

I wrote in C the same code that I have in php AGI.


My name is Adilson Magnus, I’m developer from www.magnusbilling.com Opensource project to Asterisk Billing.

https://github.com/magnussolution/magnusbilling6

Best regards.







> On 12 Sep 2018, at 16:11, Gaston Draque <gaston.draque at gmail.com> wrote:
> 
> 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.
> 
> Cheers,
> Gaston//
> 
> [1] https://wiki.asterisk.org/wiki/display/AST/Logging <https://wiki.asterisk.org/wiki/display/AST/Logging>
> [1] https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration <https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration>
> 
> On Wed, Sep 12, 2018 at 3:11 PM, James Finstrom <jfinstrom at gmail.com <mailto:jfinstrom at gmail.com>> wrote:
> This is missing a lot of useful information.
> 
> How is your app interfaced to asterisk?
> ARI?
> AGI?
> AMI?
> 
> What language?
> Are you using a library?
> 
> There simply isn't enough here to give a qualified answer
> On Wed, Sep 12, 2018 at 9:10 AM info at magnussolution.com <mailto:info at magnussolution.com>
> <info at magnussolution.com <mailto:info at magnussolution.com>> wrote:
> >
> > Hello.
> >
> > I’m developing a new app. But i’m a problem. The app crash and restart. This cause that all call hangup.
> >
> > My question is about DEBUG, where or how, I can get details about errors?
> >
> > Exist any documentation to DEBUG.
> >
> >
> > My app overview:
> >
> > Connect mysql via ODBC, mount the DIAL command and execute the call, after save call data in my mysql database via ODBC.
> >
> >
> >
> > Best regards.
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com <http://www.api-digital.com/> --
> >
> > Astricon is coming up October 9-11!  Signup is available at: https://www.asterisk.org/community/astricon-user-conference <https://www.asterisk.org/community/astricon-user-conference>
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev <http://lists.digium.com/mailman/listinfo/asterisk-dev>
> 
> 
> 
> -- 
> James Finstrom
> Guy who does stuff that is sometimes cool
> 
> gpg: https://github.com/jfinstrom.gpg <https://github.com/jfinstrom.gpg>
> 
> This email was sent from a personal email account. The content of this
> email is not endorsed by my employer or any project I may be a part
> of. The contents of this email should be considered my opinion and not
> taken as any form of official response. Please keep your hands and
> feet in the ride while in motion. Please be sure to tip the wait
> staff.
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com <http://www.api-digital.com/> --
> 
> Astricon is coming up October 9-11!  Signup is available at: https://www.asterisk.org/community/astricon-user-conference <https://www.asterisk.org/community/astricon-user-conference>
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev <http://lists.digium.com/mailman/listinfo/asterisk-dev>
> 
> 
> -- 
> {
>   "fullName" : "Gaston Draque",
>   "email"    : "gaston.draque at gmail.com <mailto:gaston.draque at gmail.com>",
>   "twitter"  : "@gdraque",
>   "job"      : "VoIP Space Monkey",
>   "motto"    : "Clouds are made of pizza & coffee"
> }
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Astricon is coming up October 9-11!  Signup is available at: https://www.asterisk.org/community/astricon-user-conference
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20180912/4c34bb65/attachment.html>


More information about the asterisk-dev mailing list