Re: [Asterisk-java-devel] Fastagi-mapping problem
Brought to you by:
srt
From: ahmed m. <ama...@gm...> - 2010-01-06 15:26:51
|
Hi asterisk java 0.3 and 0.3.1 aren't executable so help me with the executable jar? On Wed, Jan 6, 2010 at 2:26 PM, Yves Arikoglu <yv...@gm...> wrote: > 1) asterisk-java-0.2 is out of date, especially when using against > asterisk 1.6 -> download and upgrade the the latest version of > asterisk-java > 2) how do you start the agi-server? afaik the mapping-file must be on > the classpath which you use on the agi-server-startup... > 3) could you please post the folderstructure, and your > agi-server-starter-script? just listing the files is not enough information > > yves > > ahmed magdy schrieb: > > 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> > > < > 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... > > <mailto: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...> > > > <mailto: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 > > > > > > > < > 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> > > > <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... > > <mailto: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... > > <mailto:Ast...@li...> > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > > > > > > -- > > 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 |