Hi,

you should take a look to /etc/udev/rules.d searching for a zaptel.[something] (extension should be .conf, but i'm not sure). Open it and change user and group in <GROUP="asterisk", OWNER="asterisk"> to freeswitch.

To change the startup/shutdown sequence, instead, you could use update-rc.d. First look at startup and shutdown order for wanrouter and after execute these commands:
sudo update-rc.d -f freeswitch remove
sudo update-rc.d freeswitch defaults SS KK

On SS put a value greater than wanrouter startup order value and on KK put a value freater than warouter shutdown order value.

As "shutdown/startup order value" i refer to SNNxxxxxx or KNNxxxxxx where NN is a numeric value and xxxxxx is the name of the service. You should look for them into /etc/rc3.d and /etc/rc0.d (the first for startup and the second for shutdown)

Neil Patel ha scritto:
Hi All,

On the Freeswitch init page (Debian) the setup you to create a user "freeswitch" to run the FS process. When I did this, freeswitch started up but wasn't able to find/open channels to my sangoma/wanpipe hardware. Is this because:

1. The sangoma hardware was installed and running through root, which is a different user than the one running FS?
2. Wanrouter is not getting started before freeswitch on system boot?

Is there a disadvantage to setting up the init script for FS to be run by root? Will that solve this problem?

Thanks in advance from a Linux/FS newbie,
Neil

<<attachment: info.vcf>>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to