How to disable FOP1 on Elastix Systems
Elastix still includes the old FOP1. If you want to use FOP2 instead, the best course of action is to just deactivate FOP1. An easy way to do it is by modifying the FOP1 startup script.
In Elastix 2.4 look for this file:
In Elastix 2.5 look for these files (they are the same file, in different locations):
Edit them and in line 2 add the following:
Save the file.
You will also might want to look at the /etc/rc.d/rc.local file, where you might find a line that start FOP1 (amportal start_fop). Be sure to comment that line out by prefixing it with the "#" sign, like this:
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /usr/local/sbin/motd.sh > /etc/motd /usr/sbin/fxotune -s # /usr/sbin/amportal start_fop
Finally restart the server. You can avoid a full restart and just stop the running FOP1 with the command
That will prevent FOP1 from starting up.