oupps sorry steve.<br><br>thanks<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;">Un-top-posting...<br>
<div class="im"><br>
>> 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>
> 2009/11/20 Steve Edwards <<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>><br>
<br>
</div><div class="im">>> Is script1 executed by Asterisk or Apache? If it is Apache, it is not<br>
>> an Asterisk Gateway Interface (AGI) executable.<br>
<br>
</div><div class="im">On Fri, 20 Nov 2009, mickael ropars wrote:<br>
<br>
</div><div class="im">> the script is launch by a web page so it's a AGI executable<br>
<br>
</div>No. If script1 is launched by a web page, it's a CGI (Common Gateway<br>
Interface). So you cannot use any AGI commands in script1. You can,<br>
however, use AMI.<br>
<div class="im"><br>
> if it was your case which implementation will you choose ?<br>
<br>
</div>I don't have a lot of experience with AMI, and I have a very limited<br>
understanding of your environment, so I can't give an opinion with much<br>
confidence.<br>
<br>
Is AMI able and stable in setting the number of parameters you need?<br>
You'll have to test this yourself.<br>
<br>
I've written AGI's that set hundreds of channel variables so I know this<br>
will not be a limitation in Asterisk.<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>