asterisk-java-devel Mailing List for Asterisk-Java Library (Page 15)
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: Stefan R. <ste...@re...> - 2009-01-20 03:11:37
|
Hi, I just noticed that Tim Panton announced that Mexuar has released Correlata SDK under GPLv3. It is a pure Java implementation of IAX2 and includes an applet to use it as a softphon embedded into web pages. It seems it is currently looking for a new home as Mexuar doesn't appear to provide any free documentation or even a build script. I've blogged about it on http://asterisk-java.org What does the Asterisk-Java community think of this code? Would it make sense for us to adopt it? =Stefan |
From: Martin B. S. <ma...@mb...> - 2008-12-04 15:07:27
|
Hi David, Glad to have you! Feel free to check out the code from Subversion and hammer away on it. Here's what I'd do first: 1. Checkout the code anonymously from the SVN site (linked on the project website) 2. Use Maven to get it to build a final package 3. Make changes, compile them, shock & awe folks 4. Open JIRA bugs and attach patches for us to apply >From there, we could maybe eventually get you committing the changes back on your own, if everyone is happy with your work :) Cheers, Martin David fire wrote: > Hi > i am David from Argentina, i am using this wonder full api to make a > call center system. > > i don't have money to donate (yet) and i want some new features such as > some dundi actions and dahdi instead of zaptel... so > i want to help whit the code, i have a lot of experience whit asterisk > and programing to, not java but C++. > so you have any guide or anything that i should read first before start > touching the code? > where i send my improvements so they be in the trunck? > Thanks and great job!!!!! > David > > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |
From: David f. <dd...@gm...> - 2008-12-02 02:38:01
|
Hi i am David from Argentina, i am using this wonder full api to make a call center system. i don't have money to donate (yet) and i want some new features such as some dundi actions and dahdi instead of zaptel... so i want to help whit the code, i have a lot of experience whit asterisk and programing to, not java but C++. so you have any guide or anything that i should read first before start touching the code? where i send my improvements so they be in the trunck? Thanks and great job!!!!! David -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. |
From: Steve P. <sp...@ge...> - 2008-11-21 13:36:54
|
It's been quite a while since I did it so I'm a little fuzzy on the details, but I installed the Maven for Eclipse integration before Asterisk-Java and then it was pretty ordinary after that for a Maven based project. All the dependant libraries were handled by Maven. Hope this gets you started. Steve pramod wrote: > Hi, > > > > I am new to Asterisk. Can anyone help me in configuring eclipse for > Asterisk-Java. > > Is there any documentation for the same? > > > > Thanks, > > Pramod |
From: pramod <pra...@ax...> - 2008-11-21 06:50:21
|
Hi, I am new to Asterisk. Can anyone help me in configuring eclipse for Asterisk-Java. Is there any documentation for the same? Thanks, Pramod |
From: Ngo-Vi Hoai-A. <ho...@gm...> - 2008-09-19 03:47:37
|
I see. Thannk a lot. Stefan Reuter schrieb: > Ngo-Vi Hoai-Anh wrote: > >> Having a flexible cached pool could be (at least sometimes ;-)) a good >> idea. Can you include this to the implementation. >> > > In 1.0.0-SNAPSHOT I've made the createPool() method protected so custom > subclasses of DefaultAgiServer can override it. > Is that sufficient for your requirements or what kind of inclusion do > you think of? > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Stefan R. <ste...@re...> - 2008-09-19 02:51:57
|
Ngo-Vi Hoai-Anh wrote: > Having a flexible cached pool could be (at least sometimes ;-)) a good > idea. Can you include this to the implementation. In 1.0.0-SNAPSHOT I've made the createPool() method protected so custom subclasses of DefaultAgiServer can override it. Is that sufficient for your requirements or what kind of inclusion do you think of? =Stefan -- reuter network consulting Neusser Str. 110 50760 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: Ngo-Vi Hoai-A. <ho...@gm...> - 2008-09-19 01:57:43
|
Hi, it works fine with 1.0.0 SNAPSHOT. It was likely a side effect of LinkedBlockingQueue. I've subtituted LinkedBlockingQueue with SynchronousQueue as in the latest SNAPSHOT and it also works fine with 0.3.1. Having a flexible cached pool could be (at least sometimes ;-)) a good idea. Can you include this to the implementation. Stefan Reuter schrieb: > Hi, > > thanks for your report. > Can you try the latest snapshot of Asterisk-Java 1.0.0? I think we've > fixed that bug there. > > =Stefan > > Ngo-Vi Hoai-Anh wrote: > >> Hi, >> >> I've experimented with setting poolSize and maxPoolSize on my PC >> (Windows XP Service Pack 3, Java 1.6.0_06, Asterisk Java 0.3.1) and >> found out that ThreadPoolExecutor seemed not to work properly. >> >> I've set poolSize to 1 and maximumPoolSize to 2 but the DefaultAgiServer >> passes only a single call to the AgiScript. Another calls will be put >> into the LinkedBlockingQueue and will pass to the script as soon as the >> previous call gets out the AgiScript. >> >> I've modified the code to set the pool by calling pool = >> Executors.newCachedThreadPool(new DeamonThreadFactory()) and the >> DefaultAgiServer passes all simultaneous calls to AgiScript (well! >> setting like this the pool will have no upper bound but for my test this >> issue is ignorable ;-) ). >> >> Is there any known bug regardings ThreadPoolExecutor?? >> >> Modified source code is attached. >> >> best regards >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Khanh P. N. <pn...@gm...> - 2008-09-18 17:55:47
|
Hi Hoai Anh, I did the same thing as your. But when I pressed '*' it did'nt work out meanwhile number key worked correctly. I will try again and let you know the result. Thanks a lot Khanh On Thu, Sep 18, 2008 at 2:22 PM, Ngo-Vi Hoai-Anh <ho...@gm...> wrote: > Hi, > > don't know what your problem might be. StreamFile with escape '*' works > fine for me. > > I use streamFile like > > import org.asteriskjava.fastagi.AgiChannel; > import org.asteriskjava.fastagi.AgiException; > import org.asteriskjava.fastagi.AgiRequest; > import org.asteriskjava.fastagi.BaseAgiScript; > > public class HelloAgiScript extends BaseAgiScript > { > public void service(AgiRequest request, AgiChannel channel) > throws AgiException > { > answer(); > streamFile("demo-congrats", "*1234"); > hangup(); > } > } > > > regards > > Khanh Pham Ngoc schrieb: > > Hi all, > > > > I have a requirement as following: Write a Agi extends from > > BaseAgiScript. When this agi receive AgiRequest, it will play a list > > of GSM files. And while playing these files, if user presses key "*", > > the script will be ended. If user presses "2", it will play the next > > file. And if user presses "3", it will replay the current file. > > > > As the description of AgiChannel.streamFile, I think the escape digits > > are 0,1,2,3,4,5,6,7,8,9. Now I want escape key includes '*' as well. > > I tried to set the escapseDigits = "*234" but it didn't work. When I > > press 2,3, or 4, the streamFile(...) stop. But when I press "*", it do > > nothing. > > > > Could anyone show me how to solve my requirement? > > > > Thanks a lot, > > > > Khanh > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Asterisk-java-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Stefan R. <ste...@re...> - 2008-09-18 14:25:30
|
Hi, thanks for your report. Can you try the latest snapshot of Asterisk-Java 1.0.0? I think we've fixed that bug there. =Stefan Ngo-Vi Hoai-Anh wrote: > Hi, > > I've experimented with setting poolSize and maxPoolSize on my PC > (Windows XP Service Pack 3, Java 1.6.0_06, Asterisk Java 0.3.1) and > found out that ThreadPoolExecutor seemed not to work properly. > > I've set poolSize to 1 and maximumPoolSize to 2 but the DefaultAgiServer > passes only a single call to the AgiScript. Another calls will be put > into the LinkedBlockingQueue and will pass to the script as soon as the > previous call gets out the AgiScript. > > I've modified the code to set the pool by calling pool = > Executors.newCachedThreadPool(new DeamonThreadFactory()) and the > DefaultAgiServer passes all simultaneous calls to AgiScript (well! > setting like this the pool will have no upper bound but for my test this > issue is ignorable ;-) ). > > Is there any known bug regardings ThreadPoolExecutor?? > > Modified source code is attached. > > best regards -- reuter network consulting Neusser Str. 110 50760 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: Ngo-Vi Hoai-A. <ho...@gm...> - 2008-09-18 14:08:54
|
Hi, I've experimented with setting poolSize and maxPoolSize on my PC (Windows XP Service Pack 3, Java 1.6.0_06, Asterisk Java 0.3.1) and found out that ThreadPoolExecutor seemed not to work properly. I've set poolSize to 1 and maximumPoolSize to 2 but the DefaultAgiServer passes only a single call to the AgiScript. Another calls will be put into the LinkedBlockingQueue and will pass to the script as soon as the previous call gets out the AgiScript. I've modified the code to set the pool by calling pool = Executors.newCachedThreadPool(new DeamonThreadFactory()) and the DefaultAgiServer passes all simultaneous calls to AgiScript (well! setting like this the pool will have no upper bound but for my test this issue is ignorable ;-) ). Is there any known bug regardings ThreadPoolExecutor?? Modified source code is attached. best regards |
From: Ngo-Vi Hoai-A. <ho...@gm...> - 2008-09-18 07:22:07
|
Hi, don't know what your problem might be. StreamFile with escape '*' works fine for me. I use streamFile like import org.asteriskjava.fastagi.AgiChannel; import org.asteriskjava.fastagi.AgiException; import org.asteriskjava.fastagi.AgiRequest; import org.asteriskjava.fastagi.BaseAgiScript; public class HelloAgiScript extends BaseAgiScript { public void service(AgiRequest request, AgiChannel channel) throws AgiException { answer(); streamFile("demo-congrats", "*1234"); hangup(); } } regards Khanh Pham Ngoc schrieb: > Hi all, > > I have a requirement as following: Write a Agi extends from > BaseAgiScript. When this agi receive AgiRequest, it will play a list > of GSM files. And while playing these files, if user presses key "*", > the script will be ended. If user presses "2", it will play the next > file. And if user presses "3", it will replay the current file. > > As the description of AgiChannel.streamFile, I think the escape digits > are 0,1,2,3,4,5,6,7,8,9. Now I want escape key includes '*' as well. > I tried to set the escapseDigits = "*234" but it didn't work. When I > press 2,3, or 4, the streamFile(...) stop. But when I press "*", it do > nothing. > > Could anyone show me how to solve my requirement? > > Thanks a lot, > > Khanh > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Khanh P. N. <pn...@gm...> - 2008-09-17 18:35:49
|
Hi all, I have a requirement as following: Write a Agi extends from BaseAgiScript. When this agi receive AgiRequest, it will play a list of GSM files. And while playing these files, if user presses key "*", the script will be ended. If user presses "2", it will play the next file. And if user presses "3", it will replay the current file. As the description of AgiChannel.streamFile, I think the escape digits are 0,1,2,3,4,5,6,7,8,9. Now I want escape key includes '*' as well. I tried to set the escapseDigits = "*234" but it didn't work. When I press 2,3, or 4, the streamFile(...) stop. But when I press "*", it do nothing. Could anyone show me how to solve my requirement? Thanks a lot, Khanh |
From: Imre G. <imr...@ya...> - 2008-08-08 10:32:46
|
Hi All, I have a question about java. Has any one got a problem with java.net.ConnectException: Connection refused: connect , java.net.PlainSocketImpl.socketConnect(Native Method) ? Because maybe I have found a bug in the system. When I am using asterisk-java on 32bit javaVM and OS with 32bit hardwer then it is working correctly. But it goes on 32bit java VM and OS with 64bit hardwer then get always back a native exception error with this message. Has anyone got same error? Kind regards: Imre von Geczy imr...@ya... __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html |
From: Stefan R. <ste...@re...> - 2008-07-31 19:48:28
|
For those who did not yet notice: I've fixed the svn post commit hook to post commit messages and diffs to the asterisk-java-cvs mailing list. So if you are interested in the changes just subscribe to that list. As an alternative fisheye for Asterisk-Java is available at http://fisheye.reucon.org/fisheye/changelog/repos/asterisk-java. It supports looking at svn changes through the web and provides an RSS feed. =Stefan |
From: Stefan R. <ste...@re...> - 2008-07-31 19:36:18
|
Hi devs, Another thing i've fixed today are classpath issues that arise when the asterisk-java jar is put in $JAVA_HOME/lib/ext. The implementation up to 0.3.1 uses the classloader that loaded the Asterisk-Java classes (in that case the extension classloader) to search for the mapping file and AGI script classes. For 1.0.0 Asterisk-Java will use the context classpath of the current Thread (which should be the system classpath), so Asterisk-Java's AGIServer will also work when the jar file is put into $JAVA_HOME/lib/ext. I've not yet tested the change, so it would be great if somebody would like to verify this. =Stefan |
From: T. L. P. T. <tom...@gm...> - 2008-07-24 17:47:31
|
On Thu, Jul 24, 2008 at 2:11 PM, Stefan Reuter <ste...@re...> wrote: > I am a bit surprised that our target group has so many problems with > basic Java concepts like class loading. > The default mapping strategy already supports using either the > properties file or passing using the class name as agi script, so even > without a mapping file agi URLs like > agi://localhost/HelloAgi or (with packages) > agi://localhost/com.example.HelloAgi will work. > Maybe we can just change the tutorial to use that and stop promoting the > use of the mapping file. > > Do you think that would help? Personally, including a "less advanced Java" approach in the tutorial could be a good idea. Even that the concept of .properties files is a powerfull and flexible one, could result a little strange for the Java newbie. Maybe we could update the tutorial with a more direct approach ( how to map and AGI URL to a Class or package name) and leave the .property file for the advanced Java developer. That would reduce the number of headches when running your "Hello world!" AGI application. Best regards, Tomás. > > > =Stefan > > Martin Smith wrote: > > It sounds like we may need some reading material on CLASSPATH issues > > so that more users can handle this issue. It might even be advisable > > to make the default mapping strategy something like a simple class > > that just stores a simple Map of String -> Class. If you're having > > issues (like this one, but not only this one) we'd welcome any > > contributions to the FAQ to help resolve them. Opinions on changing > > the default mapping strategy? FAQ contributions? > > > > Thanks folks, > > > > Martin > > > -- > reuter network consulting > Neusser Str. 110 > 50760 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 > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > |
From: Stefan R. <ste...@re...> - 2008-07-24 17:11:58
|
I am a bit surprised that our target group has so many problems with basic Java concepts like class loading. The default mapping strategy already supports using either the properties file or passing using the class name as agi script, so even without a mapping file agi URLs like agi://localhost/HelloAgi or (with packages) agi://localhost/com.example.HelloAgi will work. Maybe we can just change the tutorial to use that and stop promoting the use of the mapping file. Do you think that would help? =Stefan Martin Smith wrote: > It sounds like we may need some reading material on CLASSPATH issues > so that more users can handle this issue. It might even be advisable > to make the default mapping strategy something like a simple class > that just stores a simple Map of String -> Class. If you're having > issues (like this one, but not only this one) we'd welcome any > contributions to the FAQ to help resolve them. Opinions on changing > the default mapping strategy? FAQ contributions? > > Thanks folks, > > Martin -- reuter network consulting Neusser Str. 110 50760 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 S. <ma...@be...> - 2008-07-24 04:44:46
|
It sounds like we may need some reading material on CLASSPATH issues so that more users can handle this issue. It might even be advisable to make the default mapping strategy something like a simple class that just stores a simple Map of String -> Class. If you're having issues (like this one, but not only this one) we'd welcome any contributions to the FAQ to help resolve them. Opinions on changing the default mapping strategy? FAQ contributions? Thanks folks, Martin -----Original Message----- From: ast...@li... on behalf of Mario Lenis Sent: Wed 7/23/2008 10:39 AM To: ast...@li... Subject: Re: [Asterisk-java-users] I cannot start to using asterisk-java. Hi Alejandro. Right now I'm at the same point where you were, I had test most of the things related in this post .. but non of them had work for me, can you give a hand with this since you could resolve it. Suggested problem: INFO org.asteriskjava.fastagi.ResourceBundleMappingStrategy - Resource bundle 'fastagi-mapping' not found. My CLASSPATH output is .:/root/JAVAKerberus mm Rest of information what you may need is at the post in another message. Thanks in advance. Mario. Alejandro Fernandez-7 wrote: > > Dear pal mail list: > > I'm trying to develop an IVR using asterisk-java, but I can't start using > it. > > First, I'm trying to implement your examples and this is driving me nut. > > I use jdk 1.6 under Linux. I compile HelloAgiScript without problems. > > In my extensions.conf: > > > exten => 100,n,Agi(agi://127.0.0.1:4573/HelloAgiScript) > I put directly the name of the class istead hello.agi > > > Under /home/qualium1 I have: > > asterisk-java.jar > commons-net-1.4.1.jar > fastagi-mapping.properties > HelloAgiScript.class > HelloAgiScript.java > log4j-1.2.14.jar > log4j.properties > start_server.sh > > > My CLASSPATH: > > > /home2/qualium1/HelloAgiScript.class:/home2/qualium1/fastagi- > mapping.properties:/home2/qualium1/HelloAgiScript.class:/home2/qualium1/perfil.properties:/usr/local/jdk1.6.0_05/jre/lib/ext/fastagi-mapping.properties::/usr/local/jdk1.6.0_05/jre/lib/ext:/usr/local/jdk1.6.0_05/lib:/usr/local/jdk1.6.0_05/jre/lib > > > I run the server as: > java -cp asterisk-java.jar:. org.asteriskjava.fastagi.DefaultAgiServer > > And it reply: > > 0 2008-03-23 12:08:47,222 [main] INFO > org.asteriskjava.fastagi.DefaultAgiServer - Thread pool started. > 60 2008-03-23 12:08:47,282 [main] INFO > org.asteriskjava.fastagi.DefaultAgiServer - Listening on *:4573. > > > When I call to extension 100 on the console I can see: > > > 71781 2008-03-23 12:09:59,003 [main] INFO > org.asteriskjava.fastagi.DefaultAgiServer - Received connection from > /127.0.0.1 > 71860 2008-03-23 12:09:59,082 [Asterisk-Java DaemonPool-1-thread-1] INFO > org.asteriskjava.fastagi.ResourceBundleMappingStrategy - Resource bundle > 'fastagi-mapping' not found. > 71861 2008-03-23 12:09:59,083 [Asterisk-Java DaemonPool-1-thread-1] ERROR > org.asteriskjava.fastagi.AbstractMappingStrategy - Unable to create > AgiScript instance of type HelloAgiScript: Class not found, make sure the > class exists and is available on the CLASSPATH > 71862 2008-03-23 12:09:59,084 [Asterisk-Java DaemonPool-1-thread-1] ERROR > org.asteriskjava.fastagi.internal.AgiConnectionHandler - No script > configured for URL 'agi://127.0.0.1:4573/HelloAgiScript' (script > 'HelloAgiScript') > > I read lots of mail from mailing list, but I cannot figure it up what's > wrong. > > Can you put some ligth? > > TIA > > -- > Lic. Alejandro Fernández Herrero > Product Manager > www.all-control.com.ar > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -- View this message in context: http://www.nabble.com/I-cannot-start-to-using-asterisk-java.-tp16236941p18612184.html Sent from the Asterisk-Java Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Jitendra C. <jit...@im...> - 2008-06-30 13:03:31
|
Hi Stefan, I have updated the patch in [AJ-150] (http://jira.reucon.com/browse/AJ-150) with the requested changes. Please review the changes and let me know if any modifications are required. Thanks & Regards, Jitendra Chittoda -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Thursday, June 19, 2008 1:00 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] DTMF support in asterisk-java Live API How about adding a new interface DtmfListener with 2 methods (onDtmfStart and onDtmfEnd) that can be registered with AsteriskChannels? In my opinion that would be more usable if you choose to handle DTMF through the live API. =Stefan Jitendra Chittoda wrote: > Hi All, > > > > I have opened a New-Feature-Request for support of DTMF event handling > in asterisk-java live API. > > * Please refer - http://jira.reucon.com/browse/AJ-150 > * /We have placed our changes in the above ticket./ > > > > > > Please do let us know if it looks ok and you plan to include this in > next release :-) > > > > Thanks & Regards, > > Jitendra Chittoda > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- reuter network consulting Neusser Str. 110 50760 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: <PLe...@va...> - 2008-06-28 13:50:04
|
I will be out of the office starting Sat 28/06/2008 and will not return until Tue 22/07/2008. I will respond to your message when I return. This email was Anti Virus checked by Astaro Security Gateway. |
From: Hakan L. <di...@gm...> - 2008-06-28 08:47:11
|
Hi, What is the best way to automatically dial out to a certain phone number and deliver a specified pre-recorded message, and take care of possible DTML response, via asterisk java Regards Hakan |
From: Jitendra C. <jit...@im...> - 2008-06-27 14:33:49
|
Hi Stefan, Thanks for your suggestion. We are planning to implement the DTMF feature in live API as you suggested. Please go through the pointers below and do let us know if it looks ok for the implementation. Also let us know if you need any changes in the below pointers. # we will Add a new DTMF.java class, which will be having the following variables - digit - direction - isReceived - isSent # we will add new interface DTMFListener.java in org.asteriskjava.live package. # DTMFListener will be having two methods onDtmfStart(DTMF), onDtmfEnd(DTMF) # AsteriskChannel interface will have a method called "addDTMFListener(DTMFListener)", and its implementation will be defined in AsteriskChannelImpl class # In AsteriskChannelImpl class we will be maintaining a List<DTMFListener> of DTMF listeners # Will add new method handleDTMFEvent() in ChannelManager class - In this method we will call the callback methods of DTMFListeners, depending on the isBegin & isEnd variables. Please do let us know your inputs/comments on the above approach ASAP, because we are going to start implementing the changes soon. Thanks & Regards, Jitendra Chittoda -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Thursday, June 19, 2008 1:00 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] DTMF support in asterisk-java Live API How about adding a new interface DtmfListener with 2 methods (onDtmfStart and onDtmfEnd) that can be registered with AsteriskChannels? In my opinion that would be more usable if you choose to handle DTMF through the live API. =Stefan Jitendra Chittoda wrote: > Hi All, > > > > I have opened a New-Feature-Request for support of DTMF event handling > in asterisk-java live API. > > * Please refer - http://jira.reucon.com/browse/AJ-150 > * /We have placed our changes in the above ticket./ > > > > > > Please do let us know if it looks ok and you plan to include this in > next release :-) > > > > Thanks & Regards, > > Jitendra Chittoda > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- reuter network consulting Neusser Str. 110 50760 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 S. <ma...@be...> - 2008-06-26 13:09:34
|
Hello, My guess is the server didn't respond quickly enough to your action. You can increase the timeout on a Manager connection with the methods setXxxTimeout (socket/readSocket). If you've been fully disconnected from the server though, this will just slow down a reconnect. Also, I only recognize the first few lines of the stack trace, but it looks like you might be tunnelling over some mechanism that is slower or disconnected. Good luck, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Muhammad Farooq Sent: Thursday, June 26, 2008 1:22 AM To: ast...@li... Subject: [Asterisk-java-devel] org.asteriskjava.manager.TimeoutException Hello All, Some Time Asterisk Java Throws TimeOut Exception while sending Messages through Asterisk Manager Interface (AMI). On Second Try it throws java.net.SocketException: Broken pipe Exception. Here is Traces. ERROR - Timeout occured while sending login manager action org.asteriskjava.manager.TimeoutException: Timeout waiting for response to AgentCallbackLogin (actionId: 4516) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(Manag erConnectionImpl.java:809) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultMana gerConnection.java:289) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerActionWithRespon se(AsteriskProviderImpl.java:154) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerAction(AsteriskP roviderImpl.java:164) at com.i2c.asterisk.service.agentstatus.AgentStatusServiceImpl.requestStatu sChange(AgentStatusServiceImpl.java:263) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStat usChange_aroundBody0(AgentStatusActionConsumer.java:40) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStat usChange_aroundBody1$advice(AgentStatusActionConsumer.java:235) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.onMessage(A gentStatusActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invoke Listener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExec uteListener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecu teListener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.execute Listener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMe ssageListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottl ingRunnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) 2008-06-23 15:17:57,353 DefaultMessageListenerContainer-19 AgentStatusServiceImpl:[com.i2c.asterisk.service.agentstatus.AgentStatus ServiceImpl.requestStatusChange(AgentStatusServiceImpl.java:406)] ERROR - Exception @ AgentStatusServiceImpl com.i2c.asterisk.exception.AsteriskTimeoutException: Timeout while waiting response from Asterisk server at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerAction(AsteriskP roviderImpl.java:182) at com.i2c.asterisk.service.agentstatus.AgentStatusServiceImpl.requestStatu sChange(AgentStatusServiceImpl.java:263) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStat usChange_aroundBody0(AgentStatusActionConsumer.java:40) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStat usChange_aroundBody1$advice(AgentStatusActionConsumer.java:235) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.onMessage(A gentStatusActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invoke Listener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExec uteListener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecu teListener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.execute Listener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMe ssageListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottl ingRunnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) Third time I receive the broken pipe exception. java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336) at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:40 4) at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213) at java.io.BufferedWriter.flush(BufferedWriter.java:236) at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.flush(SocketCo nnectionFacadeImpl.java:101) at org.asteriskjava.manager.internal.ManagerWriterImpl.sendAction(ManagerWr iterImpl.java:79) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(Manag erConnectionImpl.java:860) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultMana gerConnection.java:295) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendAgentLoginManagerAction (AsteriskProviderImpl.java:122) at com.i2c.asterisk.service.agentlogin.AgentLoginServiceImpl.requestCallbac kLogin(AgentLoginServiceImpl.java:78) at com.i2c.messaging.consumers.action.AgentLoginActionConsumer.onMessage(Ag entLoginActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invoke Listener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExec uteListener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecu teListener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.execute Listener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMe ssageListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottl ingRunnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) Please suggest what is causing this issue. Thanks. Ragards, Farooq |
From: Muhammad F. <mf...@i2...> - 2008-06-26 05:24:11
|
Hello All, Some Time Asterisk Java Throws TimeOut Exception while sending Messages through Asterisk Manager Interface (AMI). On Second Try it throws java.net.SocketException: Broken pipe Exception. Here is Traces. ERROR - Timeout occured while sending login manager action org.asteriskjava.manager.TimeoutException: Timeout waiting for response to AgentCallbackLogin (actionId: 4516) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerCo nnectionImpl.java:809) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerC onnection.java:289) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerActionWithResponse(A steriskProviderImpl.java:154) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerAction(AsteriskProvi derImpl.java:164) at com.i2c.asterisk.service.agentstatus.AgentStatusServiceImpl.requestStatusCha nge(AgentStatusServiceImpl.java:263) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStatusCh ange_aroundBody0(AgentStatusActionConsumer.java:40) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStatusCh ange_aroundBody1$advice(AgentStatusActionConsumer.java:235) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.onMessage(Agent StatusActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeList ener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteL istener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecuteLi stener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.executeList ener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessag eListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingR unnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) 2008-06-23 15:17:57,353 DefaultMessageListenerContainer-19 AgentStatusServiceImpl:[com.i2c.asterisk.service.agentstatus.AgentStatusServ iceImpl.requestStatusChange(AgentStatusServiceImpl.java:406)] ERROR - Exception @ AgentStatusServiceImpl com.i2c.asterisk.exception.AsteriskTimeoutException: Timeout while waiting response from Asterisk server at com.i2c.asterisk.engine.AsteriskProviderImpl.sendManagerAction(AsteriskProvi derImpl.java:182) at com.i2c.asterisk.service.agentstatus.AgentStatusServiceImpl.requestStatusCha nge(AgentStatusServiceImpl.java:263) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStatusCh ange_aroundBody0(AgentStatusActionConsumer.java:40) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.requestStatusCh ange_aroundBody1$advice(AgentStatusActionConsumer.java:235) at com.i2c.messaging.consumers.action.AgentStatusActionConsumer.onMessage(Agent StatusActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeList ener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteL istener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecuteLi stener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.executeList ener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessag eListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingR unnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) Third time I receive the broken pipe exception. java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336) at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404) at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213) at java.io.BufferedWriter.flush(BufferedWriter.java:236) at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.flush(SocketConnec tionFacadeImpl.java:101) at org.asteriskjava.manager.internal.ManagerWriterImpl.sendAction(ManagerWriter Impl.java:79) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerCo nnectionImpl.java:860) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerC onnection.java:295) at com.i2c.asterisk.engine.AsteriskProviderImpl.sendAgentLoginManagerAction(Ast eriskProviderImpl.java:122) at com.i2c.asterisk.service.agentlogin.AgentLoginServiceImpl.requestCallbackLog in(AgentLoginServiceImpl.java:78) at com.i2c.messaging.consumers.action.AgentLoginActionConsumer.onMessage(AgentL oginActionConsumer.java:40) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeList ener(AbstractMessageListenerContainer.java:500) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteL istener(AbstractMessageListenerContainer.java:465) at org.springframework.jms.listener.DefaultMessageListenerContainer.doExecuteLi stener(DefaultMessageListenerContainer.java:304) at org.springframework.jms.listener.DefaultMessageListenerContainer.executeList ener(DefaultMessageListenerContainer.java:292) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessag eListenerInvoker.run(DefaultMessageListenerContainer.java:369) at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingR unnable.run(SimpleAsyncTaskExecutor.java:203) at java.lang.Thread.run(Thread.java:595) Please suggest what is causing this issue. Thanks. Ragards, Farooq |