<div dir="auto">Sorry Dear Member you know i have a probleme and i think this way can help me</div><br><div class="gmail_quote"><div dir="ltr">Le mer 12 sept. 2018 20:13, modou lo <<a href="mailto:mlo6552@gmail.com">mlo6552@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Sorry Dear </div><br><div class="gmail_quote"><div dir="ltr">Le mer 12 sept. 2018 19:58, James Finstrom <<a href="mailto:jfinstrom@gmail.com">jfinstrom@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Modou please do not hijack other peoples messages.<br>
<br>
As mentioned in your original email<br>
<br>
Quote:<br>
<br>
This list is for the purpose of developmental discussion of the<br>
Asterisk source code. For discussion of taxation in VoIP services,<br>
you might find a better response on the asterisk-biz list or the<br>
asterisk-users list.<br>
On Wed, Sep 12, 2018 at 12:45 PM modou lo <<a href="mailto:mlo6552@gmail.com" target="_blank" rel="noreferrer">mlo6552@gmail.com</a>> wrote:<br>
><br>
> 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.<br>
><br>
> Le mer 12 sept. 2018 19:33, <a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a> <<a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a>> a écrit :<br>
>><br>
>> that’s correct. I wrote a ael context with func_odbc and this work very well.<br>
>><br>
>> But, using my app_mbilling.c work more faster than ael and func_odbc.<br>
>><br>
>> example:<br>
>> agi 15 CPS<br>
>> ael-func_odbc 30 CPS<br>
>> native application 50 CPS<br>
>><br>
>> But my native application crash some times.<br>
>><br>
>> 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.<br>
>><br>
>> I’m test in production with more than 40 CPS. In test server I send 75 CPS with SIPP and work perfectly.<br>
>><br>
>><br>
>> Best regards<br>
>><br>
>><br>
>><br>
>><br>
>> On 12 Sep 2018, at 16:26, BJ Weschke <<a href="mailto:bweschke@btwtech.com" target="_blank" rel="noreferrer">bweschke@btwtech.com</a>> wrote:<br>
>><br>
>> 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.<br>
>><br>
>> --<br>
>> BJ Weschke<br>
>> Sent with Airmail<br>
>><br>
>> On September 12, 2018 at 3:22:33 PM, <a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a> (<a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a>) wrote:<br>
>><br>
>> i’m developing a native application to billing in realtime.<br>
>><br>
>> 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.<br>
>><br>
>> With my actual native C application I can get on the same server more than 40 CPS.<br>
>><br>
>> I wrote in C the same code that I have in php AGI.<br>
>><br>
>><br>
>> My name is Adilson Magnus, I’m developer from <a href="http://www.magnusbilling.com" rel="noreferrer noreferrer" target="_blank">www.magnusbilling.com</a> Opensource project to Asterisk Billing.<br>
>><br>
>> <a href="https://github.com/magnussolution/magnusbilling6" rel="noreferrer noreferrer" target="_blank">https://github.com/magnussolution/magnusbilling6</a><br>
>><br>
>> Best regards.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On 12 Sep 2018, at 16:11, Gaston Draque <<a href="mailto:gaston.draque@gmail.com" target="_blank" rel="noreferrer">gaston.draque@gmail.com</a>> wrote:<br>
>><br>
>> 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.<br>
>><br>
>> Cheers,<br>
>> Gaston//<br>
>><br>
>> [1] <a href="https://wiki.asterisk.org/wiki/display/AST/Logging" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Logging</a><br>
>> [1] <a href="https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration</a><br>
>><br>
>> On Wed, Sep 12, 2018 at 3:11 PM, James Finstrom <<a href="mailto:jfinstrom@gmail.com" target="_blank" rel="noreferrer">jfinstrom@gmail.com</a>> wrote:<br>
>>><br>
>>> This is missing a lot of useful information.<br>
>>><br>
>>> How is your app interfaced to asterisk?<br>
>>> ARI?<br>
>>> AGI?<br>
>>> AMI?<br>
>>><br>
>>> What language?<br>
>>> Are you using a library?<br>
>>><br>
>>> There simply isn't enough here to give a qualified answer<br>
>>> On Wed, Sep 12, 2018 at 9:10 AM <a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a><br>
>>> <<a href="mailto:info@magnussolution.com" target="_blank" rel="noreferrer">info@magnussolution.com</a>> wrote:<br>
>>> ><br>
>>> > Hello.<br>
>>> ><br>
>>> > I’m developing a new app. But i’m a problem. The app crash and restart. This cause that all call hangup.<br>
>>> ><br>
>>> > My question is about DEBUG, where or how, I can get details about errors?<br>
>>> ><br>
>>> > Exist any documentation to DEBUG.<br>
>>> ><br>
>>> ><br>
>>> > My app overview:<br>
>>> ><br>
>>> > Connect mysql via ODBC, mount the DIAL command and execute the call, after save call data in my mysql database via ODBC.<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > Best regards.<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > _____________________________________________________________________<br>
>>> > -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>>> ><br>
>>> > Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>>> ><br>
>>> > asterisk-dev mailing list<br>
>>> > To UNSUBSCRIBE or update options visit:<br>
>>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> James Finstrom<br>
>>> Guy who does stuff that is sometimes cool<br>
>>><br>
>>> gpg: <a href="https://github.com/jfinstrom.gpg" rel="noreferrer noreferrer" target="_blank">https://github.com/jfinstrom.gpg</a><br>
>>><br>
>>> This email was sent from a personal email account. The content of this<br>
>>> email is not endorsed by my employer or any project I may be a part<br>
>>> of. The contents of this email should be considered my opinion and not<br>
>>> taken as any form of official response. Please keep your hands and<br>
>>> feet in the ride while in motion. Please be sure to tip the wait<br>
>>> staff.<br>
>>><br>
>>> --<br>
>>> _____________________________________________________________________<br>
>>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>>><br>
>>> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>>><br>
>>> asterisk-dev mailing list<br>
>>> To UNSUBSCRIBE or update options visit:<br>
>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> {<br>
>> "fullName" : "Gaston Draque",<br>
>> "email" : "<a href="mailto:gaston.draque@gmail.com" target="_blank" rel="noreferrer">gaston.draque@gmail.com</a>",<br>
>> "twitter" : "@gdraque",<br>
>> "job" : "VoIP Space Monkey",<br>
>> "motto" : "Clouds are made of pizza & coffee"<br>
>> }<br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
<br>
<br>
-- <br>
James Finstrom<br>
Guy who does stuff that is sometimes cool<br>
<br>
gpg: <a href="https://github.com/jfinstrom.gpg" rel="noreferrer noreferrer" target="_blank">https://github.com/jfinstrom.gpg</a><br>
<br>
This email was sent from a personal email account. The content of this<br>
email is not endorsed by my employer or any project I may be a part<br>
of. The contents of this email should be considered my opinion and not<br>
taken as any form of official response. Please keep your hands and<br>
feet in the ride while in motion. Please be sure to tip the wait<br>
staff.<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div></blockquote></div>