asterisk-java-devel Mailing List for Asterisk-Java Library (Page 11)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(8) |
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(8) |
Feb
(6) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(17) |
Aug
(21) |
Sep
(2) |
Oct
(7) |
Nov
(8) |
Dec
(12) |
2007 |
Jan
(10) |
Feb
(19) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(6) |
Nov
(1) |
Dec
(5) |
2008 |
Jan
(12) |
Feb
(15) |
Mar
(18) |
Apr
(34) |
May
(3) |
Jun
(34) |
Jul
(5) |
Aug
(1) |
Sep
(8) |
Oct
|
Nov
(2) |
Dec
(2) |
2009 |
Jan
(8) |
Feb
(2) |
Mar
(35) |
Apr
(16) |
May
(11) |
Jun
(2) |
Jul
(6) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(4) |
Dec
|
2010 |
Jan
(43) |
Feb
(15) |
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(2) |
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2012 |
Jan
(9) |
Feb
(2) |
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(10) |
Nov
(10) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
|
2014 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(11) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
(39) |
May
(18) |
Jun
(6) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(9) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Yves A. <yv...@gm...> - 2010-01-18 14:42:05
|
that means "back-to-back-user-agent"...and is some kind of intermediator betwenn two sip-endpoints... yves David Fire schrieb: > what is B2BUA???? > David > > 2010/1/18 ahmed magdy <ama...@gm... > <mailto:ama...@gm...>> > > Hello, > > I need to implement B2BUA in fastagi could any one help me on this > issue? > Thanks > > -- > Ahmed Magdy Mahmoud > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently > attracts the > world's best and brightest in the field, creating opportunities > for Conference > attendees to learn about information security's most important > issues through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: David F. <dd...@gm...> - 2010-01-18 14:31:49
|
what is B2BUA???? David 2010/1/18 ahmed magdy <ama...@gm...> > Hello, > > I need to implement B2BUA in fastagi could any one help me on this issue? > Thanks > > -- > Ahmed Magdy Mahmoud > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. |
From: ahmed m. <ama...@gm...> - 2010-01-18 14:18:39
|
Hello, I need to implement B2BUA in fastagi could any one help me on this issue? Thanks -- Ahmed Magdy Mahmoud |
From: ahmed m. <ama...@gm...> - 2010-01-17 19:06:43
|
Hello, I need to get the Extension status,Asterisk doesn't support this feature so i configured open fire (XMPP server or jabber server),i integrated it with Asterisk,the point that open fire is working with Spark web, the issue that i want to connect X-lite or SJphone with jabber server.so the status could be mirrored with Asterisk. so could anyone help me? Thanks -- Ahmed Magdy Mahmoud |
From: ahmed m. <ama...@gm...> - 2010-01-07 08:14:02
|
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 :) -- Ahmed Magdy Mahmoud |
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 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 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 |
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 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 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 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 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 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: Augusto C. <a-c...@cr...> - 2010-01-05 18:43:50
|
Hi there List<String> tmp = asteriskServer.executeCliCommand("meetme"); // or other command I got the log: Jan 5, 2010 6:08:31 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes WARNING: Unable to set property 'conf' to 'Num Parties Marked Activity Creation' on org.asteriskjava.manager.response.CommandResponse: no setter. Please report at http://jira.reucon.org/browse/AJ Jan 5, 2010 6:08:31 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes WARNING: Unable to set property '11' to ' 0002 N/A 01:09:48 Dynamic ' on org.asteriskjava.manager.response.CommandResponse: no setter. Please report at http://jira.reucon.org/browse/AJ Jan 5, 2010 6:08:31 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes WARNING: Unable to set property '*' to 'Total number of MeetMe users: 2' on org.asteriskjava.manager.response.CommandResponse: no setter. Please report at http://jira.reucon.org/browse/AJ |
From: Michael Y. <mic...@i9...> - 2009-11-17 20:14:06
|
Augusto, What I have been doing is detecting the ReloadEvent and then closing and then reopening the AMI connection via Asterisk-Java. It would be nice if the model object in Asterisk-Java updated automatically once a ReloadEvent has been received. Michael Yara i9Technologies 505-246-4224 mic...@i9... Augusto Campos wrote: > Hi there, > > Asterisk 1.4 > asterisk-java 1.0.0-M3 > > scenario: > 1- I do a login in asterisk > 2 -get the queues (asteriskServer.getQueues()) > 3 -add a new queue *in asterisk > *4- get the queues (asteriskServer.getQueues()) this is not refreshed :( > > How can i refresh the asteriskServer.getQueues()? > > Thanks > Augusto Campos > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Augusto C. <a-c...@cr...> - 2009-11-17 20:02:12
|
Yes, the reload events are called. Nov 17, 2009 8:00:34 PM onManagerEvent INFO: org.asteriskjava.manager.event.ReloadEvent[dateReceived='Tue Nov 17 20:00:34 WET 2009',privilege='system,all',module=null,sequencenumber=null,status=null,message='Reload Requested',timestamp=null,server='localhost',systemHashcode=30886833] Nov 17, 2009 8:00:34 PM onManagerEvent INFO: org.asteriskjava.manager.event.ChannelReloadEvent[dateReceived='Tue Nov 17 20:00:34 WET 2009',privilege='system,all',usercount='39',sequencenumber=null,reloadreasondescription='Channel module reload',timestamp=null,channeltype='SIP',peercount='39',reloadreason='RELOAD (Channel module reload)',server='localhost',reloadreasoncode='RELOAD',channel='SIP',registrycount='0',systemHashcode=27407197] Stefan Reuter wrote: >> 1- I do a login in asterisk >> 2 -get the queues (asteriskServer.getQueues()) >> 3 -add a new queue *in asterisk >> *4- get the queues (asteriskServer.getQueues()) this is not refreshed :( >> >> How can i refresh the asteriskServer.getQueues()? >> > > How do you add the new queue in Asterisk? Do you reload Asterisk afterwards? > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > -- Augusto Campos Software Engineer aug...@cr... <mailto:aug...@cr...> Parque Industrial de Taveiro, Lote 48/49 3045-504 - Coimbra - Portugal phone: +351 239 989 100 fax: +351 239 989 119 Critical Links www.critical-links.com <http://www.critical-links.com/> DISCLAIMER: This message is confidential and may contain privileged information. It is for use only by the people or entities to whom it is addressed. If you are not an intended recipient, you should not disclose, distribute, copy, print, rely on or otherwise make use of this message. If an addressing or transmission error has misdirected it to you we would be grateful if you would please notify the sender by return, before deleting it from your system. |
From: Stefan R. <ste...@re...> - 2009-11-17 19:57:18
|
> 1- I do a login in asterisk > 2 -get the queues (asteriskServer.getQueues()) > 3 -add a new queue *in asterisk > *4- get the queues (asteriskServer.getQueues()) this is not refreshed :( > > How can i refresh the asteriskServer.getQueues()? How do you add the new queue in Asterisk? Do you reload Asterisk afterwards? =Stefan |
From: Augusto C. <a-c...@cr...> - 2009-11-17 19:49:13
|
Hi there, Asterisk 1.4 asterisk-java 1.0.0-M3 scenario: 1- I do a login in asterisk 2 -get the queues (asteriskServer.getQueues()) 3 -add a new queue *in asterisk *4- get the queues (asteriskServer.getQueues()) this is not refreshed :( How can i refresh the asteriskServer.getQueues()? Thanks Augusto Campos |
From: Vij G. <vij...@ya...> - 2009-09-24 20:18:28
|
Hi Fellow Developers, I've a question regarding multiple call parking. How to park the multiple calls using Asterisk Java API? I am able to park one call at a time, but when parking the second call it knocks out the first one. There are 20 slots in the parking lot. There doesn't appear to be a .SetContext or .SetPriority method in Java Asterisk api. ParkAction parkAction = new ParkAction(); parkAction.setChannel(Channel1); parkAction.setChannel2(Channel2); parkAction.setTimeout(120000); // connect to Asterisk and log in managerConnection.login(); parkResponse = managerConnection.sendAction(parkAction, 30000); ------------------------------------- Any help would be appreciated. From cricket scores to your friends. Try the Yahoo! India Homepage! http://in.yahoo.com/trynew |
From: Stefan R. <ste...@re...> - 2009-08-10 07:23:30
|
Hi Marcus, > I've got kind of a feature-request I would like to discuss with you. I > hope this is not the completely wrong place for it as I was not able to > sign up for the bugtracker. Yes, this is the right place. Btw. signup to the bug tracker should be fixed now. > My problem is as follows. Asterisk 1.6 is able to provide users of the > AMI with channel-variables when responding to the StatusAction. These > must be requested in the action and are returned in the StatusEvent. I'd > like to ask for that ChannelManager.initialize() can request > user-provided channel variables and more importantly that > ChannelManager.handleStatusEvent() uses them when they are provided. > > This could result in a huge performance boost for some applications > which would otherwise need to request channel variables seperatly. I think this is a good idea. Will you be able to contribute a patch for trunk that implements this feature? Best regards Stefan -- reuter network consulting Neusser Str. 110 50670 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Marcus H. <hu...@si...> - 2009-08-10 06:25:53
|
Hi, I've got kind of a feature-request I would like to discuss with you. I hope this is not the completely wrong place for it as I was not able to sign up for the bugtracker. My problem is as follows. Asterisk 1.6 is able to provide users of the AMI with channel-variables when responding to the StatusAction. These must be requested in the action and are returned in the StatusEvent. I'd like to ask for that ChannelManager.initialize() can request user-provided channel variables and more importantly that ChannelManager.handleStatusEvent() uses them when they are provided. This could result in a huge performance boost for some applications which would otherwise need to request channel variables seperatly. Best regards, Marcus Hunger -- Dipl.-Inf. (FH) Marcus Hunger - hu...@si... Telefon: +49 (0)211-63 55 55-61 Telefax: +49 (0)211-63 55 55-22 sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois Steuernummer: 106 / 5724 / 7147, Umsatzsteuer-ID: DE219349391 www.sipgate.de - www.sipgate.at - www.sipgate.co.uk |
From: Michael Y. <mic...@i9...> - 2009-07-10 15:37:00
|
Thank you guys for the quick response. The issue here is that since we are using the proxy to aggregate the events we don't get any type of notification that the proxy has lost connection with one of the servers. This results in the ChannelManager losing state in its own model which causes the return from getChannels() to be invalid. My goal here is to make a call to StatusAction and utilize the results to re-sync the ChannelManager model and at the same time keeping the still exiting AsteriskChannel objects valid. I believe my idea will work. But if you have any other ideas I'm all ears. Mike Yara i9Technologies 505-246-4224 mic...@i9... Stefan Reuter wrote: > Hi Michael, > > Asterisk-Java is currently handling a disconnect and later reconnect by > simply discarding all active channel objects and recreating them besed > on the new state (basically thats what the initialize method does). > This is a quite simplistic approach, it would be much better if we had a > solution that compared the state before the disconnect and after the > reconnect and would just update the active objects (channels, etc.). > If you could come up with some clever implementation of a > "reiinitialize" method we would be very glad to see it as a contribution :-) > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Stefan R. <ste...@re...> - 2009-07-10 01:52:05
|
Hi Michael, Asterisk-Java is currently handling a disconnect and later reconnect by simply discarding all active channel objects and recreating them besed on the new state (basically thats what the initialize method does). This is a quite simplistic approach, it would be much better if we had a solution that compared the state before the disconnect and after the reconnect and would just update the active objects (channels, etc.). If you could come up with some clever implementation of a "reiinitialize" method we would be very glad to see it as a contribution :-) =Stefan -- reuter network consulting Neusser Str. 110 50670 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Martin B. S. <ma...@mb...> - 2009-07-10 00:15:25
|
Michael Yara wrote: > Hello, > > We are currently running in a distributed Asterisk environment with > Asterisk servers both local and remote to the application that is > utilizing Asterisk-Java. We are consolidating events using AstManProxy > and everything has worked quite nicely except for one small issue. There > are some points when the proxy losses the connection to a remote server > and in turn we miss events concerning channel hangups and creation. > Basically we want to be able to run a command on our application that > will re-sync the Channel Manager state utilizing a call to Status > Action. Re-creating the AsteriskServer object is not an option. My plan > was to modify the Asterisk-Java code to expose the channel manager and > feed the StatsEvents to the Channel Manager to implement any channels > that were not created due to missing the newChannel events and at the > same time providing a remove channel method that will remove a channel > from the channel map in the Channel Manager. My question is can my idea > work properly without mucking up the ChannelManager or is there possibly > a better way to re initialize the ChannelManager while keeping the > existing AsteriskChannel objects in my model valid. I apologize if this > is the wrong list to be asking this question. > Hi Michael, This is probably a good venue for your question. I think Stefan and I may have even discussed the choice, at some point, of exposing the channel manager directly. However, I think that, at least in my context, I ended up not needing to expose the channel manager to solve my problem -- resyncing channels. I believe, in my case, I simply fed the state events to the asteriskServer by directly calling onNew... with my own event objects. My resync looked something like this: Collection<AsteriskChannel> channels = asteriskServer.getChannels(); for(AsteriskChannel channel : channels) { onNewAsteriskChannel(channel); if(channel.getLinkedChannel() != null) { AsteriskChannel linkedChannel = channel.getLinkedChannel(); PropertyChangeEvent propertyChangeEvent = new PropertyChangeEvent(channel, AsteriskChannel.PROPERTY_LINKED_CHANNEL, null, linkedChannel); propertyChange(propertyChangeEvent); } } Does that work for you? I want to say there's some code floating around in the implementation of the DefaultAsteriskServer that does something similar... Cheers, Martin |