Author Topic: Javascript scripts_dir under Windows  (Read 3246 times)

snax68

  • Newbie
  • *
  • Posts: 3
    • View Profile
Javascript scripts_dir under Windows
« on: December 13, 2019, 04:57:06 PM »
Hi,
 which is the correct way to indicate a path to an external driver in Windows? What if the full path contains a space in the name?

I tried different format but it seems that yate engine always looks under C:\Program Files (x86)\Yate\share\scripts only.

I changed in extmodule.conf the parameter like that:

scripts_dir=D:/Data Files/Projects/Yate/ivr/

But the script is not loaded.

P.S. Script is correctly saved and configured in javascript.conf as routing=welcome.js 
      It runs properly if put in the C:\Program Files (x86)\Yate\share\scripts

Thanks a lot,
 John