Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Jhoan Orozco
Onli for linux. i never have used Asterisk in Windows, is not recommended. 2015-11-12 9:35 GMT-05:00 Alessio Turini : > Ok thanks, the problem happens in Windows and in Linux. > What is the script for Windows? > Ale > > > > Il 12/11/2015 15.24, Jhoan Orozco ha scritto: > > - what is the differe

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Alessio Turini
Ok thanks, the problem happens in Windows and in Linux. What is the script for Windows? Ale Il 12/11/2015 15.24, Jhoan Orozco ha scritto: - what is the different between Managerfactory and ServerAsterisk? Well, I am not a expert in this, but i always use Managerfactory, i never have used Ser

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Jhoan Orozco
- what is the different between Managerfactory and ServerAsterisk? Well, I am not a expert in this, but i always use Managerfactory, i never have used ServerAsterisk. - what is the best stable library of asterisk-java? i use asterisk-java-2.0.0.CI-20151004.214526-116.jar

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Alessio Turini
Hi, I think this is could be a correct way, can I resolve to re-instance DefaultServerAsterisk in the wrapper every x time? (Patch solution :)) I would like to resolve this question, with an elegant solution as manage invariant state of DefaultServerAsterisk. Thanks Ale Il 12/11/2015 14.

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Alessio Turini
Hi dear, I like you, I would to be your friend :), I use 1.0.0.CI-SNAPSHOT and asterisk and program are in differents hosts, some question below... - what is the different between Managerfactory and ServerAsterisk? - what is the best stable library of asterisk-java? - Is possible that Aste

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Jhoan Orozco
Hello, I developed an app around 1 year ago, and happened me the same. I could resolve this issue whith this. When i launch my app, i do it across of a shell Script (start.sh file) but at the begining you have to add these lines: ulimit -u unlimited ulimit -n 5 Your problem is when your

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Yves
my thoughts after taking a quick look...: I don´t see something essentially wrong... the listener only works, as long the object is "alive"... using it in a thread is ok, but i don´t see the code that initializes and finally "runs" the thread.. maybe you have deadslocks, or any other multithrea

Re: [Asterisk-java-users] sample asterisk dial plan integration with AGI java project (Eclipse)

2015-11-12 Thread Yves
Hi, the internet is full of examples... even the docs show it...: https://maven.reucon.com/projects/public/asterisk-java/1.0.0/tutorial.html http://www.jcgonzalez.com/asterisk-handle-calls-with-java-example A google search on "asterisk-java agi example" results in tons of info. regards, yves

[Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Alessio Turini
Ok, thanks for the answers. The code in answer is similar as mine, I try to insert a portion of project below , the class EventoAsterisk after a couple of hours(15 h) doesn't grab the events, There is a mode to check this type of connection? In the method run, i try to check mc object but the r

Re: [Asterisk-java-users] Remove my account

2015-11-12 Thread Zoumana TRAORE
Hello, I think that you have to unsubscribe by yourself at https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Regards *---* *Zoumana TRAORE* 2015-11-12 10:59 GMT+01:00 Oscar Alvarez : > Hi, > > Can you remove my acount from the mail list? > > Thx > > Regards, > > -- > Oscar Alv

[Asterisk-java-users] Remove my account

2015-11-12 Thread Oscar Alvarez
Hi, Can you remove my acount from the mail list? Thx Regards, -- Oscar Alvarez -- ___ Asterisk-java-users mailing list Asterisk-java-users@lists.sourceforge.net https://lists

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Zoumana TRAORE
Hi Alessio, You probably need to share a part of the code so we can help. I assume you did not maintain some how you AMI Connection. Here is how i did it using PingThread provided by the AJ library @Autowired private PingThread pingThread; /** * * Connect to Asterisk

[Asterisk-java-users] sample asterisk dial plan integration with AGI java project (Eclipse)

2015-11-12 Thread Abdul Basit
Hi all, I am new to asterisk, i would be very appreciate if any one would like to share sample dial plan integration with AGI based on Java Eclipse. thx I manage to setup Asterisk Environment in my machine. thx Regards, AB

Re: [Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Yves
Hi Alessio, as my glassbowl is currently under repair, I cannot guess your source code so why not append it to your next eMail so that we can have a look at it? regards, yves Am 12.11.2015 um 09:11 schrieb Alessio Turini: Dear, I've a problem with the class DefaultAsteriskServer and

[Asterisk-java-users] DefaultAsteriskServer goes to Hollywood

2015-11-12 Thread Alessio Turini
Dear, I've a problem with the class DefaultAsteriskServer and the connection with the Asterisk (V. 11.19.0), i'll try to explain below (and sorry for my english) I develop a program that links inbound call with a couple of events, I use the class DefaultAsteriskServer and the listener ad