<br><br><div class="gmail_quote">2009/5/18 David Backeberg <span dir="ltr"><<a href="mailto:dbackeberg@gmail.com">dbackeberg@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, May 18, 2009 at 10:02 AM, Scott Gifford<br>
<<a href="mailto:sgifford@suspectclass.com">sgifford@suspectclass.com</a>> wrote:<br>
> Olivier <<a href="mailto:oza-4h07@myamail.com">oza-4h07@myamail.com</a>> writes:<br>
><br>
> [...]<br>
><br>
>> What is your opinion regarding PHP AMI API and Asterisk 1.6.1 ?<br>
>> I'm referring here to <a href="http://code.google.com/p/asterisk-php-api/" target="_blank">http://code.google.com/p/asterisk-php-api/</a>.<br>
><br>
> In my experience, asterisk-php-api works OK, but it's a bit slow. It<br>
> determines when Asterisk has finished sending its responses by waiting<br>
> until it doesn't send anything for a few seconds, which means you wait<br>
> those few seconds fairly often. It also doesn't do much to filter out<br>
> AMI messages that are unrelated to your query.<br>
><br>
> We modified it slightly to avoid the pause, and we filter out the AMI<br>
> messages we don't care about in our code.<br>
><br>
> But in the end, AMI is a very simple protocol, and you might find it<br>
> easier to just speak it directly over the socket.<br>
<br>
</div>I will second what he said.<br>
<br>
I will also add that it seems to be incompatible with 1.6 with regard<br>
to its originate function, which wants to send variables separated by<br>
pipes rather than commas. I have gotten to the point where I want to<br>
change more than I want to keep from it and am considering writing<br>
another one from scratch.</blockquote><div><br>That's exactly what I feared ...<br>Fortunately, it doesn't seem too hard to use socket libraries but it's disappointing to think this won't help to improve PHP support of AMI ...<br>
<br>Thanks.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>