[asterisk-dev] write my self app. Debug

modou lo mlo6552 at gmail.com
Wed Sep 12 15:17:47 CDT 2018


Sorry Dear Member you know i have a probleme and i think this way can help
me

Le mer 12 sept. 2018 20:13, modou lo <mlo6552 at gmail.com> a écrit :

> Sorry Dear
>
> Le mer 12 sept. 2018 19:58, James Finstrom <jfinstrom at gmail.com> a écrit :
>
>> Modou please do not hijack other peoples messages.
>>
>> As mentioned in your original email
>>
>> Quote:
>>
>> This list is for the purpose of developmental discussion of the
>> Asterisk source code.  For discussion of taxation in VoIP services,
>> you might find a better response on the asterisk-biz list or the
>> asterisk-users list.
>> On Wed, Sep 12, 2018 at 12:45 PM modou lo <mlo6552 at gmail.com> wrote:
>> >
>> > hi Dear Member can i have your helping i want to have a code which help
>> me to taxe users services voip/toip each calling in asterisk.
>> >
>> > Le mer 12 sept. 2018 19:33, info at magnussolution.com <
>> info at magnussolution.com> a écrit :
>> >>
>> >> that’s correct. I wrote a ael context with func_odbc and this work
>> very well.
>> >>
>> >> But, using my app_mbilling.c work more faster than ael and func_odbc.
>> >>
>> >> example:
>> >> agi 15 CPS
>> >> ael-func_odbc 30 CPS
>> >> native application 50 CPS
>> >>
>> >> But my native application crash some times.
>> >>
>> >> 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.
>> >>
>> >> I’m test in production with more than 40 CPS. In test server I send 75
>> CPS with SIPP and work perfectly.
>> >>
>> >>
>> >> Best regards
>> >>
>> >>
>> >>
>> >>
>> >> On 12 Sep 2018, at 16:26, BJ Weschke <bweschke at btwtech.com> wrote:
>> >>
>> >> 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.
>> >>
>> >> --
>> >> BJ Weschke
>> >> Sent with Airmail
>> >>
>> >> On September 12, 2018 at 3:22:33 PM, info at magnussolution.com (
>> info at magnussolution.com) wrote:
>> >>
>> >> 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
>> >> [1] https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration
>> >>
>> >> On Wed, Sep 12, 2018 at 3:11 PM, James Finstrom <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
>> >>> <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
>> --
>> >>> >
>> >>> > 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
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> James Finstrom
>> >>> Guy who does stuff that is sometimes cool
>> >>>
>> >>> 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 --
>> >>>
>> >>> 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
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> {
>> >>   "fullName" : "Gaston Draque",
>> >>   "email"    : "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
>> >>
>> >>
>> >> --
>> >> _____________________________________________________________________
>> >> -- 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
>> >>
>> >> --
>> >> _____________________________________________________________________
>> >> -- 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
>> >>
>> >>
>> >> --
>> >> _____________________________________________________________________
>> >> -- 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
>> >
>> > --
>> > _____________________________________________________________________
>> > -- 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
>>
>>
>>
>> --
>> James Finstrom
>> Guy who does stuff that is sometimes cool
>>
>> 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 --
>>
>> 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/da8a35cc/attachment-0001.html>


More information about the asterisk-dev mailing list