I should add the -file (and -dir) checks only test for files and
directories in the "var" filepath, and NOT in the voice library. Hence
you really should have a /var/lib/bayonne/doctors/drxx.au and then do a
test for -file doctors/drxx.au
[EMAIL PROTECTED] wrote:
Hi everyone. Is there any function in ccScript that lets me check for the
existence of an audio file?
I want my code to do something like this:
if FileExists("dr34.au") # file contains the name of doctor n° 34.
then
play TheNameOfTheDoctorIs.au
play dr34.au
else
play DoctorDoesntExist.au
endif
Thank you all
Roberto from Mendoza, Argentina
_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
adr:;;;;;;USA
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard
_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel