You can try this [agi_test] exten => 123,1,Answer(); exten => 123,n,noop(${CALLERID(num)}) exten => 123,n,set(IP_FOR_AGI=192.168.127.58) exten =>123,n,Agi(agi://${IP_FOR_AGI}/com.package.ClassName)
On Wed, Jan 6, 2010 at 2:28 PM, ABBAS SHAKEEL <shakeel.abbas....@gmail.com>wrote: > Hi, > > You can directly call that class like AGI(com.abc.cde.Hello) . Hello is > class name. > > Hope this helps > > On Wed, Jan 6, 2010 at 2:16 PM, ahmed magdy <amagdy.ibra...@gmail.com>wrote: > >> Hello >> >> 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 >> http://asterisk-java.org/development/tutorial.html I put the jar file >> and the proparty file in folder >> i wrote in extensions.conf this exten => 1300,1,AGI(agi:// >> 192.168.50.127/hello.agi,${EXTEN},${UNIQUEID},${CALLERID(name)}<http://192.168.50.127/hello.agi,$%7BEXTEN%7D,$%7BUNIQUEID%7D,$%7BCALLERID(name)%7D>) >> >> I started AGI server ,then when i call extension 1300 i am facing this >> error >> Resource bundle 'fastagi-mapping' is missing >> and No script configured for URL 'agi://192.168.50.127/hello.agi' >> (script 'hello.agi') >> please can anyone help me ? >> Thanks >> >> -- >> Ahmed Magdy Mahmoud >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > -- > Best Regards > Shakeel Abbas > > -- Best Regards Shakeel Abbas
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users