asterisk-java-users Mailing List for Asterisk-Java Library (Page 121)
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: Mark H. R. <mar...@ya...> - 2008-02-16 23:52:18
|
Hello everyone, Is there a way where I can originate multiple calls using OriginateAction at once? I have used threads but still it didn't work. For example: First originateAction -> okay Second OriginateAction -> fails when the first originateAction is not done yet. Also, events are blocked whenever i send an originateAction, How can i solve this? Yours, Mark Rivera Send instant messages to your online friends http://uk.messenger.yahoo.com |
From: Mark H. R. <mar...@gm...> - 2008-02-16 23:44:53
|
Hello everyone, Is there a way where I can originate multiple calls using OriginateAction at once? I have used a thread but still it didn't work. For example: First originateAction -> okay Second OriginateAction -> fails when the first originateAction is not done yet. Also, events are blocked whenever i send an originateAction. Yours, Mark Rivera |
From: Stefan R. <ste...@re...> - 2008-02-15 17:45:37
|
Noel R. Morais wrote: > Is there a way to get the number of in use threads (active calls)? For AGI or the Manager API? =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: Noel R. M. <noe...@gm...> - 2008-02-15 17:24:52
|
Hi all, Is there a way to get the number of in use threads (active calls)? Thanks in advance, Noel |
From: preetha A. <pre...@gm...> - 2008-02-15 12:48:28
|
Hi, I am developing a code to dial a number with a Java program by picking up from database and it has to dial automatically with Manager API. Is it possible without a trigger from external interface, so that my program alone will dial the number and then connects to the logged in agents. I saw about dialevent, Is that useful for my application? If it works with dialevent can i have any example. Any suggesstion would be appreciated. -- Preetha.A |
From: Julien T. <om...@gm...> - 2008-02-14 18:39:38
|
Stefan Reuter wrote: > I hope this makes things a bit clearer. Thanks Stefan for the clear explanation. I did not realized it was as simple as setting a boolean in the mapping strategy object. Actually I've never really played with these strategy classes. Thanks for the heads up! Julien |
From: Stefan R. <ste...@re...> - 2008-02-14 18:14:52
|
Julien, thanks for your question. > Actually, I never posted any question on the ML but I am not so sure of > me on how Asterisk-Java handles threads. Think it's one instance of > AgiScript for each concurrent thread? So each instance variable access > (write?) has to be synchronized? Asterisk-Java actually supports both models: a) one shared instance for all calls b) one instance per call The preferred model is (a). It is also the default. In your example that would mean there is only one db connection that is shared by all calls. If you replace the db connection with a connection pool that is initialized in the contructor, that would match quite well. For instance fields the usual thread safety rules apply: - syncronized write access (if any, usually the instance members are final and initialized in the ctor) - local variables in the service() method for call specific things. Of cource your service method could also create new objects and delegate to them. Model (b) creates a new instance for each call so you don't have any shared state at the cost of "bootstrapping" you script for each call. To switch to model (b) you have to set the shareInstances property of your mapping strategy to false. See http://asterisk-java.org/development/apidocs/org/asteriskjava/fastagi/ResourceBundleMappingStrategy.html http://asterisk-java.org/development/apidocs/org/asteriskjava/fastagi/ClassNameMappingStrategy.html Independant of whether you use shared instances or not each call is always executed in its own thread. I hope this makes things a bit clearer. =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: Julien T. <om...@gm...> - 2008-02-14 16:31:06
|
Stefan Reuter wrote: > would you mind to post your code? Hi, I'm sure that thread will interest me as well. Please, post your code so that Stefan can provide some feedback. Actually, I never posted any question on the ML but I am not so sure of me on how Asterisk-Java handles threads. Think it's one instance of AgiScript for each concurrent thread? So each instance variable access (write?) has to be synchronized? My main example would be something like... public class PlopScript extends BaseAgiScript { private Connection db; // constructor public PlopScript() { // initialize database connection object db = DriverManager.getConnection(...); } public void service(AgiRequest request, AgiChannel channel) throws AgiException { // .... // // so now if i want to query my DB, i need to synchronize // each call using my "db" object? i am correct? // // i mean... let's assume I will have concurrent calls // executing that PlopScript instance } } I know you would say, "it's better/easier to declare variables/objects IN the service method". But, just to be sure... If I would like to have instance members... Let's see Johan's examples and then Stefan (or other gurus) answer, think that will help me... Cheers, Julien |
From: Stefan R. <ste...@re...> - 2008-02-14 15:32:20
|
Johan Sandgren wrote: > What about my problem, any clever ideas? would you mind to post your code? =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: Gopal k. <gop...@pe...> - 2008-02-14 15:08:10
|
Hi, we have done the dtmf application with asterisk-java using "getdata()" let me check whether it will support parallel inbound calls. On Thu, Feb 14, 2008 at 6:16 PM, Johan Sandgren <js...@sv...> wrote: > Hi dear users and experts J > > > > What about my problem, any clever ideas? > > I've got 10 phonelines with incoming calls, and DTMF-tones are coming too > on these lines. > > > > I've written an answering AGI-javaprogram, to service() each call in > parallel. > > *Example of what happens during one call:* > Call 1 – answered by my java-class(via AGI-call), > I'm sending some DTMF-tones to the caller (via my AsteriskChannel and > obj.playDtmf)and I will shortly then receive a sequence of DTMF-tones as > the answer from the caller. (using *agiChannel.waitForDigit(waitDelay))* > > > > What happens is, when many channels are in progress simultaneously sending > DTMF, and listening for DTMF-responses, each thread will not run often > enough to get all incoming DTMF-tones. > > It could take like 10 seconds (looking at my log) before one thread sent > the DTMF-question, till it calls the get-DTMF()-command, but then it's too > late. > > The delay seems to be all other threads executing in between. > > It's the same situation for every Thread. > > > > I wonder, why is not every thread being switched more often? Like once > every millisecond? > > It's more like once every second here. > > Surely something must be wrong… I must be a very bad programmer… J > > > > With just one CPU, multithreaded tasks need to switch thread very quick, > to work. > > > > What have I done wrong? Help, opinions are appreciated. > > > > Sincerely, > > Johan > > > > __________________________________________________________________ > > > Johan Sandgren > > Svep Design Center AB (www.svep.se) > > St. Lars väg 42A, SE-222 70 Lund > > Phone: 046-19 27 22 > > > > ------------------------------------------------------------------------- > 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 > > -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |
From: Gopal k. <gop...@pe...> - 2008-02-14 14:36:18
|
Hi, Is there any Opensource speech recognition systems that I can integrate with Asterisk-Java. On Tue, Feb 12, 2008 at 9:48 PM, Stefan Reuter <ste...@re...> wrote: > > I am trying to create a application with speech recognition. Any idea > > please help me > > You might want to have a look at Lumenvox. There is already a demo that > makes use of Asterisk-Java: > > > http://blogs.reucon.com/asterisk-java/2007/07/05/speech_enable_asterisk.html > > =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 > > > ------------------------------------------------------------------------- > 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 > > -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |
From: Johan S. <js...@sv...> - 2008-02-14 12:44:42
|
Hi dear users and experts J What about my problem, any clever ideas? I've got 10 phonelines with incoming calls, and DTMF-tones are coming too on these lines. I've written an answering AGI-javaprogram, to service() each call in parallel. Example of what happens during one call: Call 1 - answered by my java-class(via AGI-call), I'm sending some DTMF-tones to the caller (via my AsteriskChannel and obj.playDtmf)and I will shortly then receive a sequence of DTMF-tones as the answer from the caller. (using agiChannel.waitForDigit(waitDelay)) What happens is, when many channels are in progress simultaneously sending DTMF, and listening for DTMF-responses, each thread will not run often enough to get all incoming DTMF-tones. It could take like 10 seconds (looking at my log) before one thread sent the DTMF-question, till it calls the get-DTMF()-command, but then it's too late. The delay seems to be all other threads executing in between. It's the same situation for every Thread. I wonder, why is not every thread being switched more often? Like once every millisecond? It's more like once every second here. Surely something must be wrong... I must be a very bad programmer... J With just one CPU, multithreaded tasks need to switch thread very quick, to work. What have I done wrong? Help, opinions are appreciated. Sincerely, Johan __________________________________________________________________ Johan Sandgren Svep Design Center AB (www.svep.se<http://www.svep.se>) St. Lars väg 42A, SE-222 70 Lund Phone: 046-19 27 22 |
From: Stefan R. <ste...@re...> - 2008-02-12 16:18:41
|
> I am trying to create a application with speech recognition. Any idea > please help me You might want to have a look at Lumenvox. There is already a demo that makes use of Asterisk-Java: http://blogs.reucon.com/asterisk-java/2007/07/05/speech_enable_asterisk.html =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: Gopal k. <sa...@gm...> - 2008-02-12 13:31:00
|
Hi, I am trying to create a application with speech recognition. Any idea please help me -- Thank you with regards, Gopal, |
From: Breucking P. <bre...@go...> - 2008-02-12 08:29:33
|
Hi Stefan, yes I thought about it too. It would be great to get information about an Agent, because an Agent differ between ringing and connecting state. A QueueMember has only busy. I think we should add your suggestet Method. Is it a safe way to connect an them via Agent id? I think so. Regards Patrick Am 03.02.2008 um 07:53 schrieb Stefan Reuter: > Hi, > > currently there seems to be no connection between the members and > agents > of a queue. > Would it make sense to add this somehow (e.g. a getAgent() method in > the > AsteriskQueueMember interface) ? > > =Stefan > > ------------------------------------------------------------------------- > 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 Patrick Breucking <bre...@GO...> (System Engineer) * GONICUS GmbH * NL Arnsberg * Moehnestrasse 11-17 * D-59755 Arnsberg * Tel.: +49 (0) 29 32 / 9 16 - 0 * Fax: +49 (0) 29 32 / 9 16 - 278 * http://www.GONICUS.de *Sitz der Gesellschaft: Moehnestrasse 11-17 * D-59755 Arnsberg *Geschaeftsfuehrer: Rainer Luelsdorf, Alfred Schroeder *Vorsitzender des Beirats: Juergen Michels *Amtsgericht Arnsberg * HRB 1968 |
From: Stefan R. <ste...@re...> - 2008-02-07 09:50:28
|
Your question is probably better handled at the asterisk-users list as this is only about the Asterisk-Java library. =Stefan Johan(Sweden) wrote: > > Hi! > > Trying to set toneduration in zapata.conf, but I cannot note any difference > of played DTMF-tones. > > I even restarted my server for asterisk to reread the config and do > everything fresh. > > Any clues? Something I did wrong? > Overrides somewhere stopping my setting of toneduration=1000 ? > > Sincerely, > Johan >>From frosty Sweden :) -- 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: preetha A. <pre...@gm...> - 2008-02-07 07:31:57
|
Hi, Thanks for your mail. I am storing the values in mysql with following structure :id,status,callerid,date and time.In the callerid field the username and the dialing number are being stored. 1.Now i need to retreive these values in an applet 2.I need to differentiate the callerid . please assist . Thanks and regards, A.Preetha. |
From: Breucking P. <bre...@go...> - 2008-02-07 07:09:39
|
Hi Ayyappan, I guess you are using the live API? I see currently no way to get SIP users name. In our Asterisk setup, the SIP-User have names. So they appear as name="SIP/username-#####" and we can filter the string. In the Asterisk config you can specify a parameter username, but I don't know if it helps. Regards, Patrick Am 07.02.2008 um 06:15 schrieb preetha Ayyappan: > Hi, > > I am developing asterisk channel monitoring application using > asterisk java.Basically the frontend will be in applet in the > following format: > Extension status inbound/ > outbound callerid. > > I am using asterisk channel method ,I am getting the following > result.I would like to fetch only relevant information and display > in applet and also i want it to be a live window. > can anyone guide me how to do?I am attaching the output for asterisk > channel here. > > Thanks and regards, > A.Preetha. > > > <channel > output > .txt > > > ------------------------------------------------------------------------- > 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 Patrick Breucking <bre...@GO...> (System Engineer) * GONICUS GmbH * NL Arnsberg * Moehnestrasse 11-17 * D-59755 Arnsberg * Tel.: +49 (0) 29 32 / 9 16 - 0 * Fax: +49 (0) 29 32 / 9 16 - 278 * http://www.GONICUS.de *Sitz der Gesellschaft: Moehnestrasse 11-17 * D-59755 Arnsberg *Geschaeftsfuehrer: Rainer Luelsdorf, Alfred Schroeder *Vorsitzender des Beirats: Juergen Michels *Amtsgericht Arnsberg * HRB 1968 |
From: preetha A. <pre...@gm...> - 2008-02-07 05:15:33
|
AsteriskChannel[id='1202301158.37',name='SIP/5101-092c2490',callerId='"5101" <5101>',state='UP',account='null',dateOfCreation=Wed Feb 06 18:02:38 IST 2008,dialedChannel=null,dialingChannel=null,linkedChannel=AsteriskChannel[id='1202301158.38',name='SIP/outbound-092bcab0']] AsteriskChannel[id='1202301158.38',name='SIP/outbound-092bcab0',callerId='<12127773456>',state='UP',account='null',dateOfCreation=Wed Feb 06 18:03:42 IST 2008,dialedChannel=null,dialingChannel=null,linkedChannel=AsteriskChannel[id='1202301158.37',name='SIP/5101-092c2490']] |
From: Johan(Sweden) <js...@sv...> - 2008-02-06 18:20:47
|
Hi! Trying to set toneduration in zapata.conf, but I cannot note any difference of played DTMF-tones. I even restarted my server for asterisk to reread the config and do everything fresh. Any clues? Something I did wrong? Overrides somewhere stopping my setting of toneduration=1000 ? Sincerely, Johan >From frosty Sweden :) -- View this message in context: http://www.nabble.com/Toneduration---cannot-change-tp15309788p15309788.html Sent from the Asterisk-Java Users mailing list archive at Nabble.com. |
From: Johan(Sweden) <js...@sv...> - 2008-02-06 17:13:28
|
Hi there, Using asterisk and some analog phonecards and trying to set DTMF-tone length, but .... ? In my zapata.conf I have toneduration=140 but when asterisk is starting and parsing this zapata.conf it is telling me it does not understand this directive. Weird, it should work right? Anyone have a clue? Cheers, Johan (From frosty Sweden) :-) -- View this message in context: http://www.nabble.com/toneduration---unknown-directive---tp15307645p15307645.html Sent from the Asterisk-Java Users mailing list archive at Nabble.com. |
From: Stefan R. <ste...@re...> - 2008-02-03 06:53:21
|
Hi, currently there seems to be no connection between the members and agents of a queue. Would it make sense to add this somehow (e.g. a getAgent() method in the AsteriskQueueMember interface) ? =3DStefan |
From: Stefan R. <ste...@re...> - 2008-02-02 23:22:20
|
Ga=EBtan Minet wrote: > As requested here is (eventually, sorry for the delay...) the queues > patch against current trunk (as of 2008/02/02) , including the dateLeft= > corrections. Thanks, its in svn trunk. =3DStefan --=20 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: Stefan R. <ste...@re...> - 2008-02-02 16:48:49
|
Ga=EBtan Minet wrote: > Is this expected ? No this was not intended, A-J 1.0.0 will still work with JDK 1.5. It's just that I am using 1.6 (sometimes 1.7ea) in my IDE. I've configured my build server to use 1.5 now so I will notice if we mess up in the future :) Thanks, Stefan |
From: <gm...@ea...> - 2008-02-02 16:00:36
|
Hi, In recent trunk, SocketConnectionFacadeImpl.readLine() calls a new IOException(String, Throwable) constructor that is only available since java 1.6 : throw new IOException("No more lines available", e); Is this expected ? Kind regards Gaetan |