General Category > Yate based projects

Where can I find the javascripts on YateBTS?

(1/2) > >>

Iqenas:
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:
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:
Thank you very much !

Iqenas:
Hi! After I make a script and I put in /usr/share/yate/scripts what I have to do to run ?
How can i know if it runs ?
Thanks!

John:
I think, but i'm not sure, you should load it,
add to  /usr/local/etc/yate/javascript.conf

scriptname=scriptname.js

under [scripts] section.

Navigation

[0] Message Index

[#] Next page

Go to full version