Re: [Asterisk-java-devel] Fastagi-mapping problem
Brought to you by:
srt
From: ahmed m. <ama...@gm...> - 2010-01-06 12:07:31
|
i put all files in HelloAGI which contains asterisk-java-0.2.jar, fastagi-mapping.properties , HelloAGIScript.class, HelloAGIScript.jar fastagi-mapping.properties contains hello.agi=HelloAGIScript In Extension.conf e xten => 1300,1,AGI(agi:// 192.168.50.127:4573/hello.agi,${EXTEN},${UNIQUEID},${CALLERID(name)}<http://192.168.50.127:4573/hello.agi,$%7BEXTEN%7D,$%7BUNIQUEID%7D,$%7BCALLERID%28name%29%7D>) i compiled the code , the AGI is running. i am working on Asterisk 1.6.2.0 Thanks On Wed, Jan 6, 2010 at 2:01 PM, Yves Arikoglu <yv...@gm...> wrote: > it seems that you have no mapping defined... the easiest way is to place > a file "fastagi-mapping.properties" in the classpath where > you map your agi-script "hello.agi" to you java class (with full > classified name (package)) > > yves > > ahmed magdy schrieb: > > Coud anyone help me? , i fix this problem > > please it is urgent > > > > On Wed, Jan 6, 2010 at 11:16 AM, ahmed magdy <ama...@gm... > > <mailto:ama...@gm...>> 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%28name%29%7D> > > < > http://192.168.50.127/hello.agi,$%7BEXTEN%7D,$%7BUNIQUEID%7D,$%7BCALLERID%28name%29%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 > > <http://192.168.50.127/hello.agi>' (script 'hello.agi') > > please can anyone help me ? > > Thanks > > > > -- > > Ahmed Magdy Mahmoud > > > > > > > > > > -- > > Ahmed Magdy Mahmoud > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > This SF.Net email is sponsored by the Verizon Developer Community > > Take advantage of Verizon's best-in-class app development support > > A streamlined, 14 day to market process makes app distribution fast and > easy > > Join now and get one step closer to millions of Verizon customers > > http://p.sf.net/sfu/verizon-dev2dev > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Asterisk-java-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > -- Ahmed Magdy Mahmoud |