You need to pass the arguments as separate arguments to the EAGI dialplan application, eg:<br><br>exten => 492,2,EAGI(InfMsg,-s,1)<br><br>but I would recommend using pipes...<br><br>exten => 492,2,EAGI(InfMsg|-s|1)<br>
<br>But maybe that's just me.<br><br><div><span class="gmail_quote">On 4/11/07, <b class="gmail_sendername">equis software</b> <<a href="mailto:equissoftware@gmail.com">equissoftware@gmail.com</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;">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>
<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>