You can try this <div><div>[agi_test]</div><div>exten => 123,1,Answer();</div><div>exten => 123,n,noop(${CALLERID(num)})</div><div>exten => 123,n,set(IP_FOR_AGI=192.168.127.58)</div><div><div>exten =>123,n,Agi(agi://${IP_FOR_AGI}/com.package.ClassName)</div>
<div><br></div><br><div class="gmail_quote">On Wed, Jan 6, 2010 at 2:28 PM, ABBAS SHAKEEL <span dir="ltr"><<a href="mailto:shakeel.abbas.qau@gmail.com">shakeel.abbas.qau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>You can directly call that class like AGI(com.abc.cde.Hello) . Hello is class name. </div><div><br></div><div>Hope this helps<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jan 6, 2010 at 2:16 PM, ahmed magdy <span dir="ltr"><<a href="mailto:amagdy.ibrahim@gmail.com" target="_blank">amagdy.ibrahim@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div dir="ltr">Hello<br><br>I am new in Asterisk Java, i am working on Asterisk 1.6.2.0 , i started the first example Hello AGI in this tutorial <a href="http://asterisk-java.org/development/tutorial.html" target="_blank">http://asterisk-java.org/development/tutorial.html</a> I put the jar file and the proparty file in folder <br>
i wrote in extensions.conf this exten => 1300,1,AGI(agi://<a href="http://192.168.50.127/hello.agi,$%7BEXTEN%7D,$%7BUNIQUEID%7D,$%7BCALLERID(name)%7D" target="_blank">192.168.50.127/hello.agi,${EXTEN},${UNIQUEID},${CALLERID(name)}</a>) <br>
I started AGI server ,then when i call extension 1300 i am facing this error<br>
Resource bundle 'fastagi-mapping' is missing<br>and No script configured for URL 'agi://<a href="http://192.168.50.127/hello.agi" target="_blank">192.168.50.127/hello.agi</a>' (script 'hello.agi')<br>
please can anyone help me ?<br>
Thanks<br clear="all"><br>-- <br>Ahmed Magdy Mahmoud<br><br>
</div>
<br></div></div>_______________________________________________<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></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Shakeel Abbas<br>
<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Shakeel Abbas<br><br>
</div></div>