NiPC mode and Roaming mode are enabled at the same time

If you have both NiPC and Roaming modes enabled at the same time you will get this alarm:

NiPC mode and Roaming mode are enabled at the same time. Please edit javascript.conf and disable one of them. It is recommened to set mode=nipc/roaming in [ybts] section in ybts.conf.

To fix this you have to decide which mode you want to run and disable the other one.

A ybts mode can be loaded in two ways:

  • by setting mode=nipc/roaming in [ybts] section in ybts.conf.

Note! If mode setting is missing then NiPC mode is loaded by default

[ybts]
mode=nipc
  • by setting the mode to be loaded as a script in javascript.conf in [scripts] section
[scripts] 
roaming=roaming.js
;OR
nipc=nipc.js