Yes you can. Read:<br><br><a href="http://www.voip-info.org/wiki-Asterisk+AGI">http://www.voip-info.org/wiki-Asterisk+AGI</a><br><br><br><div><span class="gmail_quote">On 4/11/07, <b class="gmail_sendername">Griepentrog Scott
</b> <<a href="mailto:scott.griepentrog@thomson.net">scott.griepentrog@thomson.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span>I don't think you can put arguments to the agi.
Try is as</span>:<br></font></font></font></div><span class="q">
<div><span></span> </div>
<div><span>exten => 492,2,eagi,InfMsg</span></div>
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2"><span></span></font></font></font> </div></span><div><span class="e" id="q_111e133b6a594ead_2">
<div><font face="Arial"><font color="#0000ff"><font size="2"><span> </span></font></font></font><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b>
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>]<b>On Behalf Of </b>equis
software<br><b>Sent:</b> Wednesday, April 11, 2007 10:54 AM<br><b>To:</b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a><br><b>Subject:</b> [asterisk-users] Execute EAGI
script with params fromextensions.conf<br><br></font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px;">How
can I execute an EAGI script with params from extensions.conf<br><br>Example
python script:<br>InfMsg -s 1<br><br>in my extensions.conf<br>exten =>
492,1,Answer<br>exten => 492,2,eagi,InfMsg -s 1<br>exten =>
492,3,Hangup() <br><br>It doesn´t work<br><br>my * report...<br><br>--
Executing [92@telpin-112:2] EAGI("Zap/4-1", "InfMsg -s 1") in new
stack<br> -- Launched AGI Script
/var/lib/asterisk/agi-bin/InfMsg -s 1<br> == InfoTerminal -s 1:
Failed to execute '/var/lib/asterisk/agi-bin/InfMsg -s 1': No such file or
directory <br><br><br></blockquote></span></div></div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br></blockquote></div><br>