asterisk-java-users Mailing List for Asterisk-Java Library (Page 150)
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-05-20 19:52:17
|
Hmm I really don't understand what you mean by land line. =46rom an Asterisk-Java perspective all channels are equal whether they are SIP, Zap or whatever channels... =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: Paul F. <pa...@sm...> - 2006-05-20 17:11:13
|
Hi, I noticed the new live package in asterisk-java, and had a quick question: I noticed the addition of a ManagerConnectionPool which serves as a queue/thread pool of Manager Connections. Currently, I have developed an application that sometimes originates a batch of calls. When I do this, I initiate all calls through a single shared Manager Connection. Is this a bad idea? Should I utilize a pool of ManagerConnections when placing multiple calls concurrently (although, I obviously initiate them one right after the other)? Anyway, I just thought I should ask, since I have always wondered if there could be issues with originating multiple calls through a single Manager Connection. I will look more at the ManagerConnectionPool to see what I can learn. Thanks again for such a great framework! Best Regards, Paul Paul Fisher |
From: Forte, G. \(GFORTE\) <gf...@ar...> - 2006-05-20 01:22:03
|
Hello all, This is probably not the proper forum for this question but since I am = using *-java to accomplish the following I thought someone here may have = had this problem. I am using the following code from Stefan to make multiple users dial = into conference room 8200 for(int i=3D0;i<array.length;i++) { originateAction =3D new OriginateAction(); originateAction.setApplication("MeetMe"); originateAction.setData("8200"); originateAction.setChannel(array[i]); originateAction.setCallerId("8200"); originateAction.setTimeout(new Long(30000)); originateAction.setAsync(Boolean.TRUE); if(!managerConnection.isConnected()){ = managerConnection.login();} managerResponse =3D = managerConnection.sendAction(originateAction,30000); } Lets say I have phone 200 and 201. 200 rings and when 200 is picked up, 201 then rings. This works great with softphones(x-phone). Now I am attempting to have a land line phone in the mix. So now lets say I have phone 212-555-1212 and softphone 200. I was thinking that 212-555-1212 would ring and then when it was picked = up, 200 would ring. Question: Should this behaviour be expected?=20 OR=20 is there no way that asterisk would be expected to dial a land line = phone to initiate a conference or rather is the expected behaviour : = 212-555-1212 can only join a conference by dialing the conference? Once again I understand this is more of an asterisk forum question but I = thought I would ask here first. Thanks in advance! GF |
From: Tony M. <to...@am...> - 2006-05-18 13:22:34
|
Great ... thanks -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Thursday, May 18, 2006 2:59 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Asterisk Java Live Tony Mowers wrote: > AsteriskChannel originate(String channel, String application, String > data, long timeout) > > throws ManagerCommunicationException; ok i changed originate to originateToExtension and added originateToApplication. Is that ok for u? =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... |
From: Stefan R. <sr...@re...> - 2006-05-18 12:59:20
|
Tony Mowers wrote: > AsteriskChannel originate(String channel, String application, String > data, long timeout) >=20 > throws ManagerCommunicationException; ok i changed originate to originateToExtension and added originateToApplication. Is that ok for u? =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: Tony M. <to...@am...> - 2006-05-18 12:44:59
|
HI, I've started playing with the AsteriskManager interface; I realize it is still new. I discovered it when I started writing something with similar functionality and some of my class and interface names turned exactly the same as yours; I saw them in the eclipse code completion window :-) If possible I'd like there to be another originate method on it that I can use to originate calls to an application. Perhaps something like: AsteriskChannel originate(String channel, String application, String data, long timeout) throws ManagerCommunicationException; Right now I am using the deprecated originate method and then getting the asterisk channel from the Call object. Tony mowers http://www.amowers.com <http://www.amowers.com/> |
From: King H. <kin...@ne...> - 2006-05-12 03:05:46
|
That's OK, just several find&replace :) King -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Thursday, May 11, 2006 3:34 AM To: ast...@li... Subject: Re: [Asterisk-java-users] Class name changes King Ho wrote: > I have just checked out a fresh copy of the 0.3 library (trunk). I am > doing something wrong or it seems that all the class names that used = to > have AGI are now changed to Agi, for example, AGIRequest is now called > AgiRequest. yes there are several changes related to naming, see the CHANGES file: * Changed package name from net.sf.asterisk to org.asteriskjava and renamed AGI classes to Agi to conform to Java coding standards * Renamed EventHandler and ResponseHandler to EventListener and ResponseListener. I hope this doesn't cause too much trouble, but it makes things as a whole much more consistent. =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... ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Tony M. <to...@am...> - 2006-05-11 01:43:12
|
Hi Steven, You don't need a 'hello.agi' file. What you need is a = 'fastagi-mappings.properties' file. That file will contain a property = named 'hello.agi'. The contents of the fastagi-mappings.properties file = could look like: hello.agi =3D HelloAGIScript This tells your java server which java class to use for the hello.agi = script being called from your Asterisk PBX. Anthony Mowers http://www.amowers.com -----Original Message----- From: ast...@li... = [mailto:ast...@li...] On Behalf Of = tan zhongguo Sent: Wednesday, May 10, 2006 9:14 PM To: ast...@li... Subject: [Asterisk-java-users] Help me to run Asterisk Java example. Hi All I download Asterisk-Java v0.2 and installed it on my server. Also I compiled my first fastAGI java class.=20 But According to tutorial of Asterisk java, There is one file named hello.agi. I don=E2=80=99t understand how to make this hello.agi. I tried many ways to run my java class. But it still does not work. =20 Thanks for any help in advance =20 Steven =20 2006-05-10 __________________________________________________ =E8=B5=B6=E5=BF=AB=E6=B3=A8=E5=86=8C=E9=9B=85=E8=99=8E=E8=B6=85=E5=A4=A7=E5= =AE=B9=E9=87=8F=E5=85=8D=E8=B4=B9=E9=82=AE=E7=AE=B1? http://cn.mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Stefan R. <sr...@re...> - 2006-05-10 19:34:38
|
King Ho wrote: > However, I don't see this mentioned in the file "CHANGES". You might > want to add this in as this might make some difference to someone else.= Thanks for pointing this out - I've added it. =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-05-10 19:33:55
|
King Ho wrote: > I have just checked out a fresh copy of the 0.3 library (trunk). I am > doing something wrong or it seems that all the class names that used to > have AGI are now changed to Agi, for example, AGIRequest is now called > AgiRequest. yes there are several changes related to naming, see the CHANGES file: * Changed package name from net.sf.asterisk to org.asteriskjava and renamed AGI classes to Agi to conform to Java coding standards * Renamed EventHandler and ResponseHandler to EventListener and ResponseListener. I hope this doesn't cause too much trouble, but it makes things as a whole much more consistent. =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: tan z. <tan...@ya...> - 2006-05-10 19:14:20
|
Hi All I download Asterisk-Java v0.2 and installed it on my server. Also I compiled my first fastAGI java class. But According to tutorial of Asterisk java, There is one file named hello.agi. I don’t understand how to make this hello.agi. I tried many ways to run my java class. But it still does not work. Thanks for any help in advance Steven 2006-05-10 __________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com |
From: Artem V. L. <te...@of...> - 2006-05-10 06:16:36
|
Stefan Reuter wrote: >sorry for whatever reason i didnt get your previous mails. >i improved the logging for latest trunk so that in case of an >instantiation problem the full stacktrace will be logged. hope that >helps people with similar problems in the future. > > > Forgive, if my words have sounded too roughly... I'am a big fan of your work, your project has saved to me a lot of time. :) Best regards, Artem [scjp5.0] |
From: Artem V. L. <te...@of...> - 2006-05-10 06:09:54
|
Peter Hoppe wrote: > > As I said - this is a bit unconventional and cuts across some > principles of good programming, but then, life's not straight forward, > and sometimes you need to be a bit more pragmatic. > > Hope this helps! God bless > > Peter > Peter, many thanks to you, your examles are very helpful ! Best regards, Artem [scjp5.0] |
From: King H. <kin...@ne...> - 2006-05-10 03:42:39
|
Stefan, I have just checked out a fresh copy of the 0.3 library (trunk). I am doing something wrong or it seems that all the class names that used to have AGI are now changed to Agi, for example, AGIRequest is now called AgiRequest. King |
From: King H. <kin...@ne...> - 2006-05-10 03:41:34
|
Hi Stefan, =20 I looked at the code and it seems that this problem is fixed already. Thanks!=20 =20 However, I don't see this mentioned in the file "CHANGES". You might = want to add this in as this might make some difference to someone else. =20 Thanks once again!!! =20 Best Regards, =20 King =20 -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Monday, March 20, 2006 9:28 AM To: ast...@li... Subject: Re: [Asterisk-java-users] About the connectEvent =20 Hm then this looks indeed like a bug. I opened an issue for this in Jira: =20 http://jira.reucon.org/browse/AJ-32 =20 and will have a look at it this week. =20 Thanks for reporting, =20 Stefan =20 King Ho wrote: > Below is the API doc that comes with A-J 0.3: >=20 > ---------------------------------------------------------------------- > ------------------------------------------- > public class ConnectEvent > extends ManagerEvent >=20 > A ConnectEvent is triggered after successful login to the asterisk = server. It is a pseudo event not directly related to an asterisk generated = event.=20 > ---------------------------------------------------------------------- > ------------------------------------------- >=20 > When the server is restarted, I need to know if we have = auto-reconnected AND login successfully back to the server. If yes, I'll start another = thread and send some actions to the server. Right now, I cannot tell with a connectEvent is if the login is successful or not and sending actions to = the server may be bad. >=20 > I hope this make sense. >=20 > Thanks. >=20 > King >=20 >=20 >=20 > -----Original Message----- > From: ast...@li...=20 > [mailto:ast...@li...] On Behalf Of=20 > Stefan Reuter > Sent: Monday, March 20, 2006 1:13 AM > To: ast...@li... > Subject: Re: [Asterisk-java-users] About the connectEvent >=20 > in this case it does what the api docs say (being triggered when=20 > connected to asterisk, not after authentication succeeded), right? >=20 > are you in need of an event that is triggered upon successful=20 > authentication? if yes, why? (login() won't return until=20 > authentication either succeeded or failed, anyway) >=20 > =3DStefan >=20 >=20 > King Ho wrote: >=20 >>Hi, >>=20 >>=20 >>=20 >>I think my description is incorrect!! >>=20 >>=20 >>=20 >>I think the connectEvent is sent every time, including the first = attempt, after a login(), whether it is successful or not. >>=20 >>=20 >>=20 >>Sorry about the confusion! >>=20 >>=20 >>=20 >>King >>=20 >>=20 >>=20 >> _____ >>=20 >>From: ast...@li...=20 >>[mailto:ast...@li...] On Behalf Of=20 >>King Ho >>Sent: Monday, March 20, 2006 12:21 AM >>To: ast...@li... >>Subject: [Asterisk-java-users] About the connectEvent >>=20 >>=20 >>=20 >>=20 >>=20 >>Hi, >>=20 >>=20 >>=20 >>According to the api doc, the connectEvent should be sent after = successful login to the asterisk server. >>=20 >>=20 >>=20 >>However, it seems that it will be sent whenever the driver is=20 >>reconnected to the asterisk server. This may be caused by an initial=20 >>login >>=20 >>failure and the program tries to login again. In my program I have something like the following: >>=20 >>=20 >>=20 >> boolean authenticated =3D false; >>=20 >> while (!authenticated) { >>=20 >> try { >>=20 >> ManagerConnectionFactory factory =3D new=20 >> ManagerConnectionFactory( >>=20 >> address, port, login, password); >>=20 >> managerConnection.addEventHandler(this); >>=20 >> managerConnection =3D=20 >> factory.createManagerConnection(); >>=20 >> managerConnection.login(); >>=20 >> authenticated =3D true; >>=20 >> } catch (IOException e) { >>=20 >> Thread.sleep(5000); >>=20 >> } catch (TimeoutException e) { >>=20 >> Thread.sleep(5000); >>=20 >> } catch (AuthenticationFailedException e) { >>=20 >> Thread.sleep(5000); >>=20 >> } >>=20 >> } >>=20 >>=20 >>=20 >>If I have the login name or password incorrect, the connectEvent will=20 >>start coming in starting from the second >>=20 >>login attempt (no connectEvent is received during the first login attempt). >>=20 >>=20 >>=20 >>I think receiving the connectEvent before successfully login to the=20 >>asterisk server is kind of useless as nothing can >>=20 >>be done until login is successful. >>=20 >>=20 >>=20 >>Thanks. >>=20 >>=20 >>=20 >>Best Regards, >>=20 >>=20 >>=20 >>King >>=20 >>=20 >=20 >=20 >=20 =20 =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... =20 =20 =20 |
From: King H. <kin...@ne...> - 2006-05-09 09:16:33
|
Stefan, I have just checked out a fresh copy of the 0.3 library (trunk). I am doing something wrong or it seems that all the class names that used to have AGI are now changed to Agi, for example, AGIRequest is now called AgiRequest. King |
From: King H. <kin...@ne...> - 2006-05-09 09:16:17
|
Hi Stefan, I looked at the code and it seems that this problem is fixed already. Thanks!=20 However, I don't see this mentioned in the file "CHANGES". You might = want to add this in as this might make some difference to someone else. Thanks once again!!! Best Regards, King -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Monday, March 20, 2006 9:28 AM To: ast...@li... Subject: Re: [Asterisk-java-users] About the connectEvent Hm then this looks indeed like a bug. I opened an issue for this in Jira: http://jira.reucon.org/browse/AJ-32 and will have a look at it this week. Thanks for reporting, Stefan King Ho wrote: > Below is the API doc that comes with A-J 0.3: >=20 > -------------------------------------------------------------------------= --- ------------------------------------- > public class ConnectEvent > extends ManagerEvent >=20 > A ConnectEvent is triggered after successful login to the asterisk = server. It is a pseudo event not directly related to an asterisk generated = event.=20 > -------------------------------------------------------------------------= --- ------------------------------------- >=20 > When the server is restarted, I need to know if we have = auto-reconnected AND login successfully back to the server. If yes, I'll start another = thread and send some actions to the server. Right now, I cannot tell with a connectEvent is if the login is successful or not and sending actions to = the server may be bad. >=20 > I hope this make sense. >=20 > Thanks. >=20 > King >=20 >=20 >=20 > -----Original Message----- > From: ast...@li... [mailto:ast...@li...] On Behalf Of = Stefan Reuter > Sent: Monday, March 20, 2006 1:13 AM > To: ast...@li... > Subject: Re: [Asterisk-java-users] About the connectEvent >=20 > in this case it does what the api docs say (being triggered when > connected to asterisk, not after authentication succeeded), right? >=20 > are you in need of an event that is triggered upon successful > authentication? if yes, why? (login() won't return until = authentication > either succeeded or failed, anyway) >=20 > =3DStefan >=20 >=20 > King Ho wrote: >=20 >>Hi, >> >>=20 >> >>I think my description is incorrect!! >> >>=20 >> >>I think the connectEvent is sent every time, including the first = attempt, after a login(), whether it is successful or not. >> >>=20 >> >>Sorry about the confusion! >> >>=20 >> >>King >> >>=20 >> >> _____ =20 >> >>From: ast...@li... [mailto:ast...@li...] On Behalf Of = King Ho >>Sent: Monday, March 20, 2006 12:21 AM >>To: ast...@li... >>Subject: [Asterisk-java-users] About the connectEvent >> >>=20 >> >>=20 >> >>Hi, >> >>=20 >> >>According to the api doc, the connectEvent should be sent after = successful login to the asterisk server. >> >>=20 >> >>However, it seems that it will be sent whenever the driver is = reconnected to the asterisk server. This may be caused by an initial login=20 >> >>failure and the program tries to login again. In my program I have something like the following: >> >>=20 >> >> boolean authenticated =3D false; >> >> while (!authenticated) { >> >> try { >> >> ManagerConnectionFactory factory =3D new ManagerConnectionFactory( >> >> address, port, login, password); >> >> managerConnection.addEventHandler(this); >> >> managerConnection =3D = factory.createManagerConnection(); >> >> managerConnection.login(); >> >> authenticated =3D true; >> >> } catch (IOException e) { >> >> Thread.sleep(5000); >> >> } catch (TimeoutException e) { >> >> Thread.sleep(5000); >> >> } catch (AuthenticationFailedException e) { >> >> Thread.sleep(5000); >> >> } >> >> } >> >>=20 >> >>If I have the login name or password incorrect, the connectEvent will start coming in starting from the second >> >>login attempt (no connectEvent is received during the first login attempt). >> >>=20 >> >>I think receiving the connectEvent before successfully login to the asterisk server is kind of useless as nothing can >> >>be done until login is successful. >> >>=20 >> >>Thanks. >> >>=20 >> >>Best Regards, >> >>=20 >> >>King >> >> >=20 >=20 >=20 --=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-05-09 06:54:51
|
Thameem Ansari wrote: > Its my fault. I logged out of the manager and try to send an action > after logout. This is how the error occured. ah ok. I'll have a look at how this is handled in 0.3 - at least you should get a nicer exception. > Btw, I sent this mail two days ago but i think the mailsystem only > delivered today.... Yes the mailing list at sourceforge seemed to have some problems. I hope now everything is fine again. =Stefan -- 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: Thameem A. <tha...@ya...> - 2006-05-09 01:26:14
|
Hi Stefan, Its my fault. I logged out of the manager and try to send an action after logout. This is how the error occured. Btw, I sent this mail two days ago but i think the mailsystem only delivered today.... Thanks for your reply, -Thameem Stefan Reuter <sr...@re...> wrote: Thameem Ansari wrote: > 2006-05-06 18:21:06,705 [SIP/200-f61a] ERROR > com.voiptelindia.gateway.manager.TimeoutMonitorTask - ERROR: - > java.lang.ClassCastException: net.sf.asterisk.manager.response.ManagerError > java.lang.ClassCastException: net.sf.asterisk.manager.response.ManagerError > at > net.sf.asterisk.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:442) this looks like you called login twice. The error is not well handled in Asterisk-Java 0.2, but as long as you call it only once you should not get it. For 0.3 a more meaningful exception is created. =Stefan -- 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... ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. |
From: Stefan R. <sr...@re...> - 2006-05-09 01:22:47
|
>> Log messages of the DefaultAGIServer are not so descriptive, right ? >> >> Anyway thanks for no answers. sorry for whatever reason i didnt get your previous mails. i improved the logging for latest trunk so that in case of an instantiation problem the full stacktrace will be logged. hope that helps people with similar problems in the future. thanks for reporting, =Stefan -- 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-05-09 01:17:02
|
>> The constructor of my AGI script throws an exception but I dont see it >> in server's log files. >> Log messages of the DefaultAGIServer are not so descriptive, right ? >> >> Anyway thanks for no answers. sorry for whatever reason i didnt get your previous mails. i improved the logging for latest trunk so that in case of an instantiation problem the full stacktrace will be logged. hope that helps people with similar problems in the future. thanks for reporting, =Stefan -- 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-05-09 01:03:53
|
>> The constructor of my AGI script throws an exception but I dont see it= >> in server's log files. >> Log messages of the DefaultAGIServer are not so descriptive, right ? >> >> Anyway thanks for no answers. sorry for whatever reason i didnt get your previous mails. i improved the logging for latest trunk so that in case of an instantiation problem the full stacktrace will be logged. hope that helps people with similar problems in the future. thanks for reporting, =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-05-08 23:48:22
|
>> The constructor of my AGI script throws an exception but I dont see it >> in server's log files. >> Log messages of the DefaultAGIServer are not so descriptive, right ? >> >> Anyway thanks for no answers. sorry for whatever reason i didnt get your previous mails. i improved the logging for latest trunk so that in case of an instantiation problem the full stacktrace will be logged. hope that helps people with similar problems in the future. thanks for reporting, =Stefan -- 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-05-08 23:13:04
|
Thameem Ansari wrote: > 2006-05-06 18:21:06,705 [SIP/200-f61a] ERROR > com.voiptelindia.gateway.manager.TimeoutMonitorTask - ERROR: - > java.lang.ClassCastException: net.sf.asterisk.manager.response.ManagerError > java.lang.ClassCastException: net.sf.asterisk.manager.response.ManagerError > at > net.sf.asterisk.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:442) this looks like you called login twice. The error is not well handled in Asterisk-Java 0.2, but as long as you call it only once you should not get it. For 0.3 a more meaningful exception is created. =Stefan -- 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-05-08 23:13:04
|
Thameem Ansari wrote: > I want to stream a file from Manager action...I checked the api and i > don't see any class to do that. I need this to stream a file before I > terminate a call by sending hangup action. You cant do this through the Manager API. What you can do is redirecting to an extension that streams the file and hangs up afterwards. =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... |