RE: [Asterisk-java-users] Problem with some commands and manager
Brought to you by:
srt
From: Jason W. <jas...@be...> - 2006-02-21 13:08:31
|
Use the system() command to see if the file exists. something like... exten => s,9,System(/var/lib/asterisk/sounds/filexists /var/lib/asterisk/sounds/${myPlaybackFile}?.gsm) check out the usage in this tutorial... http://www.voip-info.org/wiki-Asterisk+tips+ivr+menu jason -----Original Message----- From: ast...@li... [mailto:ast...@li...]On Behalf Of María Chóliz Sent: Tuesday, February 21, 2006 2:50 AM To: ast...@li... Subject: [Asterisk-java-users] Problem with some commands and manager Hello, I have a question. I am working with the Java-Manager. In my dialplan I use the Playback(....) command but I don't know how to get from the Java code if it didn't work. I mean, how can know if the file I am telling Asterisk to play does not exist, for example???or the format is not right??? Is there any event I can capture?I haven`t found any. I don't know how to do this. Thanks in advance, María |