thanks a lot for your advice. In my side, I am using a PHP agi library <br><br>you seems to have a lot experience on asterisk ...<br><br>Regards<br><br>Mickael<br><br><div class="gmail_quote">2009/11/20 Steve Edwards <span dir="ltr"><<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.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 Fri, 20 Nov 2009, mickael ropars wrote:<br>
>><br>
>>> someone send a URL to call someone a PHP script (script 1) is launch<br>
>>> and in its I configure Astmanager in order to make an originating call<br>
>>> then my script stop running and Asterisk continue processing the call<br>
>>> in an extension when hangup occurs I execute another AGI script<br>
>>> (script 2).<br>
<br>
</div>When you write your AGI script*, do yourself a favor and use an existing<br>
library -- don't try to write your own.<br>
<br>
The AGI protocol is not complex, it's just been my experience that<br>
everybody gets it wrong the first time around :)<br>
<br>
*) I write my AGIs in C. If you expect performance to ever be an issue,<br>
you can execute hundreds of AGIs written in a compiled language (like C)<br>
in the time it will take to load a script interpreter (like Perl or PHP)<br>
and parse a single script.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<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>