Thanks!<br>At least in asterisk 1.4<br>exten => 492,2,EAGI(InfMsg|-s|1)<br>work very well<br><br><br><div><span class="gmail_quote">On 4/11/07, <b class="gmail_sendername">Philipp Kempgen</b> <<a href="mailto:philipp.kempgen@amooma.de">
philipp.kempgen@amooma.de</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;">Griepentrog Scott wrote:<br><br>> I don't think you can put arguments to the agi. Try is as:
<br>><br>><br>> exten => 492,2,eagi,InfMsg<br>><br>> -----Original Message-----<br>> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:
<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>]On Behalf Of equis software<br>> Sent: Wednesday, April 11, 2007 10:54 AM<br>> To: <a href="mailto:asterisk-users@lists.digium.com">
asterisk-users@lists.digium.com</a><br>> Subject: [asterisk-users] Execute EAGI script with params fromextensions.conf<br>><br>><br>><br>> 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>Then why not try EAGI(InfMsg,-s 1) or EAGI(InfMsg,-s,1) ?<br><br><br>Regards,<br> Philipp<br><br>--<br>amooma GmbH - Bachstr. 126 - 56566 Neuwied - <a href="http://www.amooma.de">http://www.amooma.de</a><br> Let's use IT to solve problems and not to create new ones.
<br> Asterisk? -> <a href="http://www.das-asterisk-buch.de">http://www.das-asterisk-buch.de</a><br><br>Geschäftsführer: Stefan Wintermeyer<br>Handelsregister: Neuwied B 14998<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.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">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>