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] 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

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