Thread: Re: [Asterisk-java-devel] Fastagi-mapping problem
Brought to you by:
srt
From: ahmed m. <ama...@gm...> - 2010-01-06 11:48:13
|
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...>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>) > > 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 > > -- Ahmed Magdy Mahmoud |
From: Yves A. <yv...@gm...> - 2010-01-06 16:08:59
|
congratulations. it would be great for all others having similar problems now or in the future, if you would post what was wrong or what finally was the solution for your problem. thanks yves ahmed magdy schrieb: > Thanks it is working now :) > > On Wed, Jan 6, 2010 at 5:58 PM, Yves Arikoglu <yv...@gm... > <mailto:yv...@gm...>> wrote: > > sorry, help ends here. > > for more information about jar files, see here: > http://java.sun.com/docs/books/tutorial/deployment/jar/ > but... there is no need for an executable jar... you can call the java > interpreter yourself and tell him the > class, that should be executed, beyond the classpath... > btw. using agi together with asterisk-java is very well documented and > works exactly as described. > but i feel, that the more hints I give, the more questions occur.. so > don´t be disappointed, but it seems to > me that there are too many basics missing in your knowledge of java > itself... and i currently do not have the > time to explain everything step by step. maybe you could do some > tutorials that are to be found in the web > or someone else reading this can guide you further. > > yves > > > ahmed magdy schrieb: > > 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... > <mailto:yv...@gm...> > > <mailto:yv...@gm... <mailto: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> > > > > > > <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...> > > <mailto:yv...@gm... <mailto:yv...@gm...>> > > > <mailto:yv...@gm... <mailto:yv...@gm...> > <mailto: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...>> > > <mailto:ama...@gm... > <mailto:ama...@gm...> <mailto:ama...@gm... > <mailto:ama...@gm...>>> > > > > <mailto:ama...@gm... > <mailto:ama...@gm...> > > <mailto:ama...@gm... > <mailto:ama...@gm...>> > > > <mailto: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> > > > > > > > > > > <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> > <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...> > > <mailto:Ast...@li... > <mailto:Ast...@li...>> > > > <mailto:Ast...@li... > <mailto:Ast...@li...> > > <mailto: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...> > > <mailto:Ast...@li... > <mailto:Ast...@li...>> > > > <mailto:Ast...@li... > <mailto:Ast...@li...> > > <mailto: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... > <mailto:Ast...@li...> > > <mailto: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...> > > <mailto: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... > <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 > |
From: ahmed m. <ama...@gm...> - 2010-01-06 18:56:19
|
Hello As i downloaded the latest version of asterisk Fastagi asterisk-java-1.0.0.C you can check it https://secure.reucon.net/nexus/content/repositories/opensource-snapshots/org/asteriskjava/asterisk-java/1.0.0.CI-SNAPSHOT/ and i compiled and run the AGI then i called and it is running. Thanks yves for your help :) On Wed, Jan 6, 2010 at 6:08 PM, Yves Arikoglu <yv...@gm...> wrote: > congratulations. > it would be great for all others having similar problems now or in the > future, if you would post what was wrong or what finally > was the solution for your problem. > > thanks > yves > > ahmed magdy schrieb: > > Thanks it is working now :) > > > > On Wed, Jan 6, 2010 at 5:58 PM, Yves Arikoglu <yv...@gm... > > <mailto:yv...@gm...>> wrote: > > > > sorry, help ends here. > > > > for more information about jar files, see here: > > http://java.sun.com/docs/books/tutorial/deployment/jar/ > > but... there is no need for an executable jar... you can call the > java > > interpreter yourself and tell him the > > class, that should be executed, beyond the classpath... > > btw. using agi together with asterisk-java is very well documented > and > > works exactly as described. > > but i feel, that the more hints I give, the more questions occur.. so > > don´t be disappointed, but it seems to > > me that there are too many basics missing in your knowledge of java > > itself... and i currently do not have the > > time to explain everything step by step. maybe you could do some > > tutorials that are to be found in the web > > or someone else reading this can guide you further. > > > > yves > > > > > > ahmed magdy schrieb: > > > 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... > > <mailto:yv...@gm...> > > > <mailto:yv...@gm... <mailto: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 > > > > > > > < > 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...> > > > <mailto:yv...@gm... <mailto:yv...@gm...>> > > > > <mailto:yv...@gm... <mailto:yv...@gm...> > > <mailto: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...>> > > > <mailto:ama...@gm... > > <mailto:ama...@gm...> <mailto:ama...@gm... > > <mailto:ama...@gm...>>> > > > > > <mailto:ama...@gm... > > <mailto:ama...@gm...> > > > <mailto:ama...@gm... > > <mailto:ama...@gm...>> > > > > <mailto: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 > > > > > > > > > > > < > 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> > > <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...> > > > <mailto:Ast...@li... > > <mailto:Ast...@li...>> > > > > <mailto:Ast...@li... > > <mailto:Ast...@li...> > > > <mailto: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...> > > > <mailto:Ast...@li... > > <mailto:Ast...@li...>> > > > > <mailto:Ast...@li... > > <mailto:Ast...@li...> > > > <mailto: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... > > <mailto:Ast...@li...> > > > <mailto: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...> > > > <mailto: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... > > <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 |
From: Yves A. <yv...@gm...> - 2010-01-06 12:01:57
|
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>) > > 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 > |
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 |
From: Yves A. <yv...@gm...> - 2010-01-06 14:14:00
|
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>) > > 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>) > > > > 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 > |
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 |
From: Yves A. <yv...@gm...> - 2010-01-06 15:58:50
|
sorry, help ends here. for more information about jar files, see here: http://java.sun.com/docs/books/tutorial/deployment/jar/ but... there is no need for an executable jar... you can call the java interpreter yourself and tell him the class, that should be executed, beyond the classpath... btw. using agi together with asterisk-java is very well documented and works exactly as described. but i feel, that the more hints I give, the more questions occur.. so don´t be disappointed, but it seems to me that there are too many basics missing in your knowledge of java itself... and i currently do not have the time to explain everything step by step. maybe you could do some tutorials that are to be found in the web or someone else reading this can guide you further. yves ahmed magdy schrieb: > 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... > <mailto: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...> > > <mailto: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...>> > > > <mailto: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> > > > <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...> > > <mailto: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...> > > <mailto: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... > <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 > |
From: ahmed m. <ama...@gm...> - 2010-01-06 16:03:33
|
Thanks it is working now :) On Wed, Jan 6, 2010 at 5:58 PM, Yves Arikoglu <yv...@gm...> wrote: > sorry, help ends here. > > for more information about jar files, see here: > http://java.sun.com/docs/books/tutorial/deployment/jar/ > but... there is no need for an executable jar... you can call the java > interpreter yourself and tell him the > class, that should be executed, beyond the classpath... > btw. using agi together with asterisk-java is very well documented and > works exactly as described. > but i feel, that the more hints I give, the more questions occur.. so > don´t be disappointed, but it seems to > me that there are too many basics missing in your knowledge of java > itself... and i currently do not have the > time to explain everything step by step. maybe you could do some > tutorials that are to be found in the web > or someone else reading this can guide you further. > > yves > > > ahmed magdy schrieb: > > 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... > > <mailto: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 > > > > > > > < > 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...> > > > <mailto: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...>> > > > > <mailto: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 > > > > > > > > > > > < > 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> > > > > <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...> > > > <mailto: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...> > > > <mailto: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... > > <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 |