Re: [asterisk-users] System Application with java

2006-12-23 Thread Lenz
Are you sure you want to fire up a JVM each and every time you run this command? that's a resource hog and will anyway cause a delay for system class loading, etc. Maybe attaching to a resident process would be lighter. k, On Fri, 22 Dec 2006 13:48:27 +0100, Andre Gustavo Lomonaco

[asterisk-users] System Application with java

2006-12-22 Thread Andre Gustavo Lomonaco
Hi, I created a script named example2.sh which goal is read some text from my HP Service Desk using an application in java and send this text to the text2wave application for TTS. example2.sh java -Xbatch Example10 | text2wave -f 8000 -o /var/lib/asterisk/sounds/my-sd.wav When I execute the

Re: [asterisk-users] System Application with java

2006-12-22 Thread Marco Mouta
Does the user who is running asterisk has permissions to execute it? check you script file permissions. On 12/22/06, Andre Gustavo Lomonaco [EMAIL PROTECTED] wrote: Hi, I created a script named example2.sh which goal is read some text from my HP Service Desk using an application in java and