<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=216285914-11042007>I don't think you can put arguments to the agi.
Try is as</SPAN>:<BR></DIV>
<DIV><SPAN class=216285914-11042007></SPAN> </DIV>
<DIV><SPAN class=216285914-11042007>exten => 492,2,eagi,InfMsg</SPAN></DIV>
<DIV><SPAN class=216285914-11042007></SPAN></FONT></FONT></FONT><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=216285914-11042007></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=216285914-11042007> </SPAN></FONT></FONT></FONT><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]<B>On Behalf Of </B>equis
software<BR><B>Sent:</B> Wednesday, April 11, 2007 10:54 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [asterisk-users] Execute EAGI
script with params fromextensions.conf<BR><BR></DIV></FONT>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">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></BODY></HTML>