asterisk-java-users Mailing List for Asterisk-Java Library (Page 152)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(8) |
Mar
(33) |
Apr
(36) |
May
(19) |
Jun
(21) |
Jul
(53) |
Aug
(30) |
Sep
(36) |
Oct
(34) |
Nov
(43) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(123) |
Feb
(75) |
Mar
(86) |
Apr
(46) |
May
(41) |
Jun
(29) |
Jul
(76) |
Aug
(38) |
Sep
(39) |
Oct
(68) |
Nov
(16) |
Dec
(17) |
2007 |
Jan
(34) |
Feb
(18) |
Mar
(39) |
Apr
(30) |
May
(20) |
Jun
(10) |
Jul
(59) |
Aug
(54) |
Sep
(60) |
Oct
(22) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(34) |
Feb
(67) |
Mar
(65) |
Apr
(67) |
May
(60) |
Jun
(51) |
Jul
(88) |
Aug
(75) |
Sep
(47) |
Oct
(143) |
Nov
(54) |
Dec
(42) |
2009 |
Jan
(46) |
Feb
(80) |
Mar
(162) |
Apr
(159) |
May
(200) |
Jun
(34) |
Jul
(46) |
Aug
(59) |
Sep
(5) |
Oct
(35) |
Nov
(73) |
Dec
(30) |
2010 |
Jan
(23) |
Feb
(50) |
Mar
(8) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(56) |
Aug
(35) |
Sep
(26) |
Oct
(79) |
Nov
(39) |
Dec
(34) |
2011 |
Jan
(27) |
Feb
(22) |
Mar
(28) |
Apr
(12) |
May
(16) |
Jun
(19) |
Jul
(1) |
Aug
(64) |
Sep
(19) |
Oct
(11) |
Nov
(17) |
Dec
(12) |
2012 |
Jan
(6) |
Feb
(8) |
Mar
(15) |
Apr
(43) |
May
(41) |
Jun
(14) |
Jul
(32) |
Aug
(3) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(35) |
Feb
(11) |
Mar
(23) |
Apr
(25) |
May
(37) |
Jun
(47) |
Jul
(25) |
Aug
(21) |
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2014 |
Jan
(26) |
Feb
(2) |
Mar
(18) |
Apr
(41) |
May
(7) |
Jun
(7) |
Jul
(24) |
Aug
(5) |
Sep
(6) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
2015 |
Jan
(7) |
Feb
(15) |
Mar
(8) |
Apr
(12) |
May
(7) |
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(30) |
Dec
(3) |
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Stefan R. <sr...@re...> - 2006-04-18 08:12:39
|
Hi Thameem, you must run the AGIServer in its own thread for this to work, otherwise tomcat just waits until the AGIServer is shutdown, which is not what you want :) Asterisk-Java contains the small convenience class AGIServerThread just for this case. Use it like this: public void init() throws ServletException { AGIServerThread serverThread =3D new AGIServerThread(); server =3D new DefaultAGIServer(); serverThread.setAgiServer(server); try{ serverThread.startup(); }catch(Exception ep){ logger.error("Error starting the DefaultAGIServer..."+ep,ep); } } =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... |
From: Thameem A. <tha...@ya...> - 2006-04-18 07:01:13
|
First of all thanks to Stefan for making this wonderful library. I am facing a wiered issue with the defaultfastagi server. I am trying to start the DefaultAGIServer via servlet in my tomcat application. I made the following steps to make it work but the tomcat doesn't start. 1. Made entry in web.xml for the servlet to load during startup. 2. Wrote the servlet init method like this: public void init() throws ServletException { server = new DefaultAGIServer(); try{ server.startup(); }catch(Exception ep){ logger.error("Error starting the DefaultAGIServer..."+ep,ep); } } 3. The fastagi.properties has the following properties. port=4575 poolSize=50 4. I am using java version: jdk1.5.0_06 and Tomcat version: 5.0.28 When I start the tomcat server i am getting messages : 2006-04-17 23:47:51,851 [main] DEBUG net.sf.asterisk.util.ThreadPool - ThreadPool created with 50 threads. 2006-04-17 23:47:51,861 [main] INFO net.sf.asterisk.fastagi.DefaultAGIServer - Thread pool started. 2006-04-17 23:47:51,871 [main] INFO net.sf.asterisk.fastagi.DefaultAGIServer - Listening on *:4575 After this step the tomcat just hangs and not starting. I don't see anymore errors. Please help me troubleshoot this problem. If I comment that servlet loading everything works fine. Thanks, Thameem --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. |
From: Stefan R. <sr...@re...> - 2006-04-13 16:29:49
|
Jan du Toit wrote: > I want to redirect/transfer a call. > Inspecting the RedirectAction API, it seems as if this is only possible= > to redirect a call to an extension. yes thats all Asterisk supports for now. > How can I redirect a call to an application other than redirecting to a= n > extension that connects to the application "exten =3D> > 12345,1,Application(date)"? as a workaround you can create a special context with an extension for that case that executes your application and redirect to that extension. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Stefan R. <sr...@re...> - 2006-04-13 16:27:04
|
Edu wrote: > One question, I need a 4-digits code from the caller and I'm trying > the method getData(java.lang.String file, int timeout,int axDigits), b= ut it=20 > only waits one digit and then returns the String. Is it the expected=20 > behaviour? Maybe I can use with a for, but it seems a little weird. just use String data =3D getData("myprompt", 30000, 4); This returns after the user entered 4 digits or hash (#) or after 30 seconds (the timeout). =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Eduard M. <ed...@ba...> - 2006-04-13 16:26:43
|
=46orget it! Was my fault, sorry. I was specifying seconds where millisecon= ds... El Jueves, 13 de Abril de 2006 18:17, Edu escribi=F3: > Hi, I created some programs thanks to AsteriskJava, but always using the > Asterisk Manager API way. Now I'm givin a try to AGI and it seems pretty > good :) > One question, I need a 4-digits code from the caller and I'm trying > the method getData(java.lang.String file, int timeout,int axDigits), but > it only waits one digit and then returns the String. Is it the expected > behaviour? Maybe I can use with a for, but it seems a little weird. > Regards, > Edu > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Edu <jav...@ba...> - 2006-04-13 16:13:49
|
Hi, I created some programs thanks to AsteriskJava, but always using the Asterisk Manager API way. Now I'm givin a try to AGI and it seems pretty good :) One question, I need a 4-digits code from the caller and I'm trying the method getData(java.lang.String file, int timeout,int axDigits), but it only waits one digit and then returns the String. Is it the expected behaviour? Maybe I can use with a for, but it seems a little weird. Regards, Edu |
From: Peter H. <pe...@ra...> - 2006-04-11 15:48:49
|
Hi Henry, First of all, thanks very much for the encouragement! I'll keep on going! I had a look at the source code you wrote, and the GUI looks really promising! One question is - whom are you writing this software for? Do you have a particular audience in mind? The other point is that you definitly should separate the asterisk connection logic from the GUI code. I know of someone who designed a music playout system around the GUI - the GUI code was well mixed with the code that operated the music playing part. The program had a tendency to crash, and the monolythic design definitely played a part in that instability. Also, changing that program became a nightmare; any change tended to break the entire program. Reliablilty comes from modular design where you have different parts that each do their distinct jobs and have a well defined way of talking to each other. This design principle has several advantages: * Easier to develop. The different parts can be tested on their own. Faults in one part are more easily located. One part of the product can be replaced without breaking the entire product. * Greater fault tolerance. One part may be crashed, but the other part still works. This is particularly true for server/client solutions where the entire solution is distributed amongst several machines. So, just some further hints ... Let me know how you are getting on with your project! Thanks again for your encouragement! Peter > Date: Mon, 10 Apr 2006 13:14:20 +0200 > From: "Henry SCHMITT" <hen...@gm...> > To: ast...@li... > Subject: Re: [Asterisk-java-users] Re: unable to logoff() (Peter Hoppe) > Reply-To: ast...@li... > > ------=_Part_289_471345.1144667660471 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi Peter, > > first of all, THANK YOU for your input. Yesterday i started to read the > documention you wrote and it is very helpful. I realize that i have still a > lot to learn (i think the next chapter i will read in my Java book will be > the "Threads" ;-)) > > It is correct, "The approach taken in AstConnectionVM seems a bit > complicated ", but the readme is well documentated. The reason i put every > think in one class is that at the beginning i had a lot of problem using > different classes. (BTW you can take a look in the source code > www.voip-user.lu/JMI4A). > > So the next steep will be to rewrite the application using the approach > taken in AstConnection (separate GUI code, asterisk code and using thread). > > Once again thx for the information... well done, keep on going!!!!! > > ps: i will give you (the list) some feedback about the documentation and th= > e > AstConnectionVM. > > henry... > > > > > -- dyslexics of the world - untie ! |
From: Jan du T. <jan...@de...> - 2006-04-11 10:29:18
|
Hi. I want to redirect/transfer a call. Inspecting the RedirectAction API, it seems as if this is only possible to redirect a call to an extension. How can I redirect a call to an application other than redirecting to an extension that connects to the application "exten => 12345,1,Application(date)"? Thank you in advance. Regards. |
From: Henry S. <hen...@gm...> - 2006-04-10 11:14:27
|
Hi Peter, first of all, THANK YOU for your input. Yesterday i started to read the documention you wrote and it is very helpful. I realize that i have still a lot to learn (i think the next chapter i will read in my Java book will be the "Threads" ;-)) It is correct, "The approach taken in AstConnectionVM seems a bit complicated ", but the readme is well documentated. The reason i put every think in one class is that at the beginning i had a lot of problem using different classes. (BTW you can take a look in the source code www.voip-user.lu/JMI4A). So the next steep will be to rewrite the application using the approach taken in AstConnection (separate GUI code, asterisk code and using thread). Once again thx for the information... well done, keep on going!!!!! ps: i will give you (the list) some feedback about the documentation and th= e AstConnectionVM. henry... On 4/8/06, Peter Hoppe <pe...@ra...> wrote: > > Hello! > > I have finished the documentation to the ast-connection-vm example > application. I would appreciate some feedback as to what can be improved. > > Henry, I hope this helps your problem. Basically, what you experienced > looked like a race condition - asterisk hadn't finished with the > communication, but your program already tried to log off. Another > problem I saw with your solution was that the code that handles the > asterisk communication is in the same class as the code that handles GUI > related things (event handlers for your buttons on the form etc.) Such > approach spells difficulties. A better way is to separate both. Put > asterisk communication code into its own class and gui related things > into another class. Both classes then communicate with each other in a > way that doesn't lock up the GUI. Also, the asterisk communication code > supervises whether the user is allowed to log off / log in etc. > > The approach taken in AstConnectionVM seems a bit complicated - but it > works quite safely. (No null pointer exceptions etc). > > Incidentally - to work with Java, I recommend a good IDE. I use Eclipse > (http://www.eclipse.org) which is an open source IDE from IBM. It is > freely downloadable. I am very impresssed with it. Also, for form design > I recommend netbeans (http://www.netbeans.org). That one is freely > downloadable as well. > Eclipse has some form editing plugin (visual editor), but I haven't > tried it extensively yet. For form design I got well along with the > netbeans one. > > Finally and again - the source code you were able to write looks really > encouraging! You said that you are a newcomer to Java, so you have > really done well! Keep on learning; Java programming is great fun. > That's also a reason why you need a good IDE to work from. Last hint: > Use two computer screens - that helps enormously when you have to look > up documentation etc. > > I hope I could be of help to you. If not, please don't hesitate to ask > further questions! > > Peter Hoppe > -- > dyslexics of the world - untie ! > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Stefan R. <sr...@re...> - 2006-04-09 09:54:31
|
Toon wrote: > 'Click to call' seems to be what I need. Does this also work connecting= > two lines from a SIP trunk? All examples I find dial-out from an > internal extension (either SIP or something else). yes. normally you originate a call from a channel SIP/... to an extension in the dialplan and that extension can be mapped to trunk of course. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Toon <to...@jo...> - 2006-04-09 09:27:14
|
Ah, 'Click to call' seems to be what I need. Does this also work =20 connecting two lines from a SIP trunk? All examples I find dial-out =20 from an internal extension (either SIP or something else). Toon On Apr 8, 2006, at 11:32 PM, Stefan Reuter wrote: > Toon wrote: >> Is it possible with one of the supported Asterisk-Java interface >> (FastAGI/Manager) to make 2 outgoing calls and connect these to one >> another? Somebody already suggested to me to make 2 outbound calls =20= >> and >> connecting them both to a conference room. It is perhaps very =20 >> simple but >> I have now experience with Asterisk and Asterisk-Java. Can anyone =20 >> help >> me out setting up Asterisk and getting started with Asterisk-Java? > > If you just want something like "click to dial" then you don't even =20= > need > a meetme (conference) room. You need the Manager API and should have a > look at its OriginateAction. > > =3DStefan > > --=20 > reuter network consulting > Neusser Str. 110 > 50760 K=F6ln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: sr...@re... > Jabber: sr...@ja... > |
From: Stefan R. <sr...@re...> - 2006-04-08 21:33:21
|
Toon wrote: > Is it possible with one of the supported Asterisk-Java interface > (FastAGI/Manager) to make 2 outgoing calls and connect these to one > another? Somebody already suggested to me to make 2 outbound calls and > connecting them both to a conference room. It is perhaps very simple bu= t > I have now experience with Asterisk and Asterisk-Java. Can anyone help > me out setting up Asterisk and getting started with Asterisk-Java? If you just want something like "click to dial" then you don't even need a meetme (conference) room. You need the Manager API and should have a look at its OriginateAction. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Toon <to...@jo...> - 2006-04-08 20:45:38
|
Dear readers, Is it possible with one of the supported Asterisk-Java interface (FastAGI/Manager) to make 2 outgoing calls and connect these to one another? Somebody already suggested to me to make 2 outbound calls and connecting them both to a conference room. It is perhaps very simple but I have now experience with Asterisk and Asterisk-Java. Can anyone help me out setting up Asterisk and getting started with Asterisk-Java? Cheers, Toon |
From: Peter H. <pe...@ra...> - 2006-04-07 23:39:48
|
Hello! I have finished the documentation to the ast-connection-vm example application. I would appreciate some feedback as to what can be improved. Henry, I hope this helps your problem. Basically, what you experienced looked like a race condition - asterisk hadn't finished with the communication, but your program already tried to log off. Another problem I saw with your solution was that the code that handles the asterisk communication is in the same class as the code that handles GUI related things (event handlers for your buttons on the form etc.) Such approach spells difficulties. A better way is to separate both. Put asterisk communication code into its own class and gui related things into another class. Both classes then communicate with each other in a way that doesn't lock up the GUI. Also, the asterisk communication code supervises whether the user is allowed to log off / log in etc. The approach taken in AstConnectionVM seems a bit complicated - but it works quite safely. (No null pointer exceptions etc). Incidentally - to work with Java, I recommend a good IDE. I use Eclipse (http://www.eclipse.org) which is an open source IDE from IBM. It is freely downloadable. I am very impresssed with it. Also, for form design I recommend netbeans (http://www.netbeans.org). That one is freely downloadable as well. Eclipse has some form editing plugin (visual editor), but I haven't tried it extensively yet. For form design I got well along with the netbeans one. Finally and again - the source code you were able to write looks really encouraging! You said that you are a newcomer to Java, so you have really done well! Keep on learning; Java programming is great fun. That's also a reason why you need a good IDE to work from. Last hint: Use two computer screens - that helps enormously when you have to look up documentation etc. I hope I could be of help to you. If not, please don't hesitate to ask further questions! Peter Hoppe -- dyslexics of the world - untie ! |
From: g f <gf...@gm...> - 2006-04-06 17:35:08
|
Thanks alot Stephan!!! On 4/6/06, Stefan Reuter <sr...@re...> wrote: > > g f wrote: > > I will take a look at Smack. Basically what I want to do is embed my ow= n > > chat client in my *-J web-app, so I was looking for suggestions on > > libraries that would allow me to do this. > If you have an existing web-app and want to add chat smack is a good > choice. Another option is to use JWChat which is a complete chat > application for the web instead of just a library, see > http://jwchat.sourceforge.net/. I don't know how "integratable" it is > but it looks nice :) > > > Voice is an important requirement for my user, would either of these tw= o > > suggestions fill this requirement? > > Is voice-->chat more of an Asterisk function? > So what you are looking for is something like Google Talk? > Google talk is based on Jingle (JEP-0166, a Jabber protocol extension > for voice) and there already seems to be a specificiation ofr a Jingle > IAX Transport Method (JEP-0179) at > http://www.jabber.org/jeps/jep-0179.html. And there is res_xmpp for > Asterisk at http://bugs.digium.com/view.php?id=3D5501 which also looks > interesting but still in an early state. > > =3DStefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 K=F6ln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: sr...@re... > Jabber: sr...@ja... > > > > |
From: Stefan R. <sr...@re...> - 2006-04-06 16:47:50
|
g f wrote: > I will take a look at Smack. Basically what I want to do is embed my ow= n > chat client in my *-J web-app, so I was looking for suggestions on > libraries that would allow me to do this. If you have an existing web-app and want to add chat smack is a good choice. Another option is to use JWChat which is a complete chat application for the web instead of just a library, see http://jwchat.sourceforge.net/. I don't know how "integratable" it is but it looks nice :) > Voice is an important requirement for my user, would either of these tw= o > suggestions fill this requirement? > Is voice-->chat more of an Asterisk function? So what you are looking for is something like Google Talk? Google talk is based on Jingle (JEP-0166, a Jabber protocol extension for voice) and there already seems to be a specificiation ofr a Jingle IAX Transport Method (JEP-0179) at http://www.jabber.org/jeps/jep-0179.html. And there is res_xmpp for Asterisk at http://bugs.digium.com/view.php?id=3D5501 which also looks interesting but still in an early state. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: g f <gf...@gm...> - 2006-04-06 16:22:16
|
Stefan, I will take a look at Smack. Basically what I want to do is embed my own chat client in my *-J web-app, so I was looking for suggestions on librarie= s that would allow me to do this. I had noticed that *-IM was developed using *-J and since *-J has been a great product for me I thought that I may try *-IM as well. Voice is an important requirement for my user, would either of these two suggestions fill this requirement? Is voice-->chat more of an Asterisk function? Thanks again for such an awesome product!! G On 4/6/06, Stefan Reuter <sr...@re...> wrote: > > g f wrote: > > I was interested in incorporating xmpp into my asterisk-java web app. > > Any recommendations from *-java users that have successfully integrated > > xmpp? > > My requirement would be conference rooms and voice chat ability and the > > embedding of the client into a web app. > > what exactly do you want to do? > > > Libraries? Clients?, ??? > > There is Asterisk-IM, a plugin for the Wildfire XMPP server at > http://www.jivesoftware.org/asterisk-im/ - it allows Asterisk presence > information to be shown for Jabber accounts ("On the phone") and dialing > through Jabber. It uses Asterisk-Java but I think thats not exactly what > you are looking for. > > A general purpose (and very good) Java library for XMPP is Smack > available at http://www.jivesoftware.org/smack/. > > If you provide some more detail on what are going to implement I can > probably give you some more specific pointers. > > =3DStefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 K=F6ln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: sr...@re... > Jabber: sr...@ja... > > > > |
From: Stefan R. <sr...@re...> - 2006-04-06 16:00:12
|
g f wrote: > I was interested in incorporating xmpp into my asterisk-java web app. > Any recommendations from *-java users that have successfully integrated= > xmpp? > My requirement would be conference rooms and voice chat ability and the= > embedding of the client into a web app. what exactly do you want to do? > Libraries? Clients?, ??? There is Asterisk-IM, a plugin for the Wildfire XMPP server at http://www.jivesoftware.org/asterisk-im/ - it allows Asterisk presence information to be shown for Jabber accounts ("On the phone") and dialing through Jabber. It uses Asterisk-Java but I think thats not exactly what you are looking for. A general purpose (and very good) Java library for XMPP is Smack available at http://www.jivesoftware.org/smack/. If you provide some more detail on what are going to implement I can probably give you some more specific pointers. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: g f <gf...@gm...> - 2006-04-06 15:44:45
|
Hello all, I was interested in incorporating xmpp into my asterisk-java web app. Any recommendations from *-java users that have successfully integrated xmpp? My requirement would be conference rooms and voice chat ability and the embedding of the client into a web app. Libraries? Clients?, ??? Thanks all! |
From: Peter H. <pe...@ra...> - 2006-04-06 10:14:11
|
Dear Henry, I have now finished the example application that logs in and out of asterisk. I am still working on the readme file. You can find the example on http://svn.reucon.net/repos/asterisk-java-examples/trunk/ast-connection-vm/ there is an explanatory document in the /doc/readme sub directory (Still working on it). Basically, when I use asterisk-java the approach I take pertaining to asterisk connection is to use a separate class that extends java.lang.Thread and runs as a thread. This class I implement as a finite state machine. This construct is explained in more detail in the readme document. This approach has numerous advantages which outweigh the disadvantage of additional development overhead, and again, the readme document will tell you about this. Please give some feedback for further questions/comments. Peter > Message: 3 > Date: Wed, 05 Apr 2006 00:52:47 +0100 > From: Peter Hoppe <pe...@ra...> > To: ast...@li... > Subject: Re: [Asterisk-java-users] unable to logoff() > Reply-To: ast...@li... > > Dear Henry, > > Sorry for the delay - I actually started on another example application > to illustrate the connection and disconnection. The app is almost > finished; I have to do little bis on it. I am also working on some > documentation that explains that application. The app should be finished > within the next one or two days, and I'll put it on the svn server. > > I hope this suffices. If you need a faster answer, please let me know. > > Thanks. > Peter > > > > > > >>> Message: 1 >>> Date: Mon, 3 Apr 2006 11:16:55 +0200 >>> From: "Henry SCHMITT" <hen...@gm...> >>> To: ast...@li... >>> Subject: Re: [Asterisk-java-users] unable to logoff() >>> Reply-To: ast...@li... >>> >>> ------=_Part_11479_10019225.1144055815121 >>> Content-Type: text/plain; charset=ISO-8859-1 >>> Content-Transfer-Encoding: quoted-printable >>> Content-Disposition: inline >>> >>> Hi Peter, >>> >>> thx for the excellent clarification and for the link for ast-console. >>> >>> Here some additional information about what i am trying to do ( i think it >>> is something similar to the ast-console). May be you can give me a hint ( i >>> am a little confused and don't know what to use (with or without threads). >>> >>> I have a main that only does one thing > > > > -- dyslexics of the world - untie ! -- dyslexics of the world - untie ! |
From: Henry S. <hen...@gm...> - 2006-04-05 07:14:31
|
Hi Peter, thx for the feedback. It is ok, i don't need a faster answer. richard On 4/5/06, Peter Hoppe <pe...@ra...> wrote: > > Dear Henry, > > Sorry for the delay - I actually started on another example application > to illustrate the connection and disconnection. The app is almost > finished; I have to do little bis on it. I am also working on some > documentation that explains that application. The app should be finished > within the next one or two days, and I'll put it on the svn server. > > I hope this suffices. If you need a faster answer, please let me know. > > Thanks. > Peter > > > > > > > Message: 1 > > Date: Mon, 3 Apr 2006 11:16:55 +0200 > > From: "Henry SCHMITT" <hen...@gm...> > > To: ast...@li... > > Subject: Re: [Asterisk-java-users] unable to logoff() > > Reply-To: ast...@li... > > > > ------=3D_Part_11479_10019225.1144055815121 > > Content-Type: text/plain; charset=3DISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > Content-Disposition: inline > > > > Hi Peter, > > > > thx for the excellent clarification and for the link for ast-console. > > > > Here some additional information about what i am trying to do ( i think > it > > is something similar to the ast-console). May be you can give me a hint > ( i > > am a little confused and don't know what to use (with or without > threads). > > > > I have a main that only does one thing > > > -- > dyslexics of the world - untie ! > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Peter H. <pe...@ra...> - 2006-04-04 23:52:32
|
Dear Henry, Sorry for the delay - I actually started on another example application to illustrate the connection and disconnection. The app is almost finished; I have to do little bis on it. I am also working on some documentation that explains that application. The app should be finished within the next one or two days, and I'll put it on the svn server. I hope this suffices. If you need a faster answer, please let me know. Thanks. Peter > Message: 1 > Date: Mon, 3 Apr 2006 11:16:55 +0200 > From: "Henry SCHMITT" <hen...@gm...> > To: ast...@li... > Subject: Re: [Asterisk-java-users] unable to logoff() > Reply-To: ast...@li... > > ------=_Part_11479_10019225.1144055815121 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi Peter, > > thx for the excellent clarification and for the link for ast-console. > > Here some additional information about what i am trying to do ( i think it > is something similar to the ast-console). May be you can give me a hint ( i > am a little confused and don't know what to use (with or without threads). > > I have a main that only does one thing -- dyslexics of the world - untie ! |
From: Stefan R. <sr...@re...> - 2006-04-04 11:39:58
|
Jan du Toit wrote: > How would one then get the desired filename back? > Or can you specify your own custom filename? I dont know of any solution to this yet, but I will run into the same problem soon and will post what I found out at that time. If you find any work around in the meantime post your results, too. Maybe the filename is stored in a channel variable and you could issue a UserEvent to pass it to your app or something similar... =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Jan du T. <jan...@de...> - 2006-04-04 05:48:31
|
Stefan Reuter wrote: >Hi Jan, > >I dont know of any events that asterisk generates in this case. > >=Stefan > > How would one then get the desired filename back? Or can you specify your own custom filename? Thank you. Regards. >Jan du Toit wrote: > > >>Hi. >> >>When starting a conference meetme with recording enabled the following >>is displayed in the CLI: >> >>"Starting recording of MeetMe Conference 8000 into file >>meetme-conf-rec-8000-1143802999.6.wav." >> >>Does asterisk generate a event for this? If it does why isn't their a >>corrosponding event in the net.sf.asterisk.manager.event package? >> >>I wan't to get hold of the file name of the recording. How must I go >>about this, if their isn't an event to get this information from? >> >>Thank you. >> >>Regards. >> >> > > > > |
From: Stefan R. <sr...@re...> - 2006-04-03 21:30:36
|
Hi Jan, I dont know of any events that asterisk generates in this case. =3DStefan Jan du Toit wrote: > Hi. >=20 > When starting a conference meetme with recording enabled the following > is displayed in the CLI: >=20 > "Starting recording of MeetMe Conference 8000 into file > meetme-conf-rec-8000-1143802999.6.wav." >=20 > Does asterisk generate a event for this? If it does why isn't their a > corrosponding event in the net.sf.asterisk.manager.event package? >=20 > I wan't to get hold of the file name of the recording. How must I go > about this, if their isn't an event to get this information from? >=20 > Thank you. >=20 > Regards. --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |