<div dir="auto"><div>Do you want a single scenario with credentials and write a separate full script for you</div><div dir="auto"><br></div><div dir="auto"> Did you mean that?</div><div dir="auto"><br></div><div dir="auto"> But there is a danger of a brute force attack</div><div dir="auto"><br></div><div dir="auto"> Do you want to explain more about the credentials of the offensive scenario? </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">في الاثنين، ٢٥ مارس، ٢٠١٩ ٥:٠٨ م Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> كتب:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Mar 25, 2019, at 10:53 AM, marek cervenka wrote:<br>
> hi,<br>
> <br>
> i read<br>
> <br>
> <a href="https://www.freepbx.org/performance-improvements-in-freepbx/" rel="noreferrer noreferrer" target="_blank">https://www.freepbx.org/performance-improvements-in-freepbx/</a><br>
> <br>
> I was not surprised by results because its long know fact about AGI slowness<br>
> <br>
> Which suprise me was the fact that recomendation was to switch to <br>
> fastAGI and not to CURL application<br>
> <br>
> From developer point of view is a lot easier develop(and TEST) <br>
> "standard" REST API service than develop AGI server<br>
> <br>
> is fastAGI performace better(by level) than CURL ?<br>
<br>
If coming from AGI then FastAGI can be an easy path, as it's not a huge amount of work to switch. I think ultimately though they are both different ways of doing the same thing. In the case of CURL you leverage dialplan more, since CURL is used to retrieve information which can then influence and control what the dialplan does.<br>
<br>
As for performance I don't have any data but I think it would ultimately depend on what exactly is being done. If you can do a single request to get the data, then CURL may be better. If you need to do more then FastAGI may be better.<br>
<br>
It really does depend on what exactly needs to be done as to what is best.<br>
<br>
-- <br>
Joshua C. Colp<br>
Digium - A Sangoma Company | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer noreferrer" target="_blank">www.asterisk.org</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>
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></div></div>