[Freeswitch-users] FreeSWITCH and HylaFax

Steven Schoch schoch+freeswitch.org at xwin32.com
Thu Feb 28 03:55:03 MSK 2013


The problem was that HylaFax, which runs as the user 'uucp' on CentOS,
couldn't open /dev/FS0, because the permissions were wrong.  Since I didn't
see any way to make FreeSwitch change the permissions, I added one line to
the /etc/init.d/freeswitch file:

*** 46,51 ****
--- 46,52 ----
                RETVAL=$?
                echo
          [ $RETVAL -eq 0 ] && touch $LOCK_FILE;
+       (sleep 120; chgrp uucp /dev/FS*; chmod g+r /dev/FS*) &
        echo
          return $RETVAL
  }

-- 
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130227/cc905977/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list