Author Topic: Where can I find the javascripts on YateBTS?  (Read 91 times)

Iqenas

  • Newbie
  • *
  • Posts: 2
    • View Profile
Where can I find the javascripts on YateBTS?
« on: November 11, 2018, 08:20:38 AM »
Hello! I have an YateBTS LabKit with Mageia 5. I used it in NiPC mode:calling from one phone to another and sending messages between them using WebGUI.
I would like to know where can I find the javascripts / files that allow me to modify different parameters directly from the console(for instance:ybts.conf,welcome.js,nipc.js etc).
I mentioned that I searched them in the console but did not find them.
Thanks !

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 182
    • View Profile
Re: Where can I find the javascripts on YateBTS?
« Reply #1 on: November 12, 2018, 07:12:37 AM »
Hi Iqenas,

The .js files used by Yate/YateBTS are located in /usr/share/yate/scripts
The .conf files are in /etc/yate/sdr

Before doing any modifications please backup the content of the whole directory: both scripts and configurations.

YateBTS is an extension over Yate:
https://wiki.yatebts.com/index.php/About_YateBTS#YateBTS

In Labkit Yate runs as a service and is installed from packages. You can configure it from  /etc/yate/sdr  and add additional scripts in /usr/share/yate/scripts. It is quite rare for people to need to modify anything in the Yate code.  If you want to experiment with the C++ code of Yate you would need to download sources from svn, stop yate-sdr service and then run the downloaded version.
 

Iqenas

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Where can I find the javascripts on YateBTS?
« Reply #2 on: November 12, 2018, 12:29:34 PM »
Thank you very much !