Re: [Freeswitch-users] FreeTDM - Sangoma B700 - ISDN connection questions - UK
On 6/6/2011 4:36 PM, John wrote:
Hello,
3. I have built FreeSWITCH from git and installed at /usr/local/... and then followed the steps on the Ubuntu page in the Wiki to set up the run control scripts, etc, and run FS non-root as freeswitch:daemon. With FreeTDM, I have discovered that the /dev/wan* devices are owned by root:root, and so are inaccessible to FS running as non-root. So for now I have added a line in /etc/init.d/freeswitch to 'chgrp freeswitch /dev/wan*'. This is not the most elegant solution, because 'wanrouter restart' (which seems to be my best friend at the moment) resets the ownership to root:root. I have tried grepping to see where the mknods are for these devices, but have been unsuccessful. Is there a better place to 'permanently' change the device ownership?
John, Have a look at /etc/udev/rules.d You can write a rule there and set the ownership permanently that way. Sorry about the delay on this John. I'd sent it earlier but managed to use the wrong identity and the list didn't bounce my reply (or I didn't notice). You've probably figured this out on your own by now... James
participants (1)
-
soapee01