Hi Alex
Did you get the answer to your first question ? Did you succeed in using the emulated modem option for taking fax calls to hylafax ?
I put the following in spandsp.conf.xml and got /dev/FS[0-4] devices as soft links to /dev/pts/[4-8]. My freeswitch is running as root user so I did not face the issue you did.
<modem-settings>
<param name="total-modems" value="5"/>
</modem-settings>
What next? Could you point me to some doc in hylafax?
(And before Steve lashes out at me again, I must clarify, I do not want to just play around, but my boss is clueless and wants me to evaluate hylafax :()
regards,
Anita
On 05/06/2012 10:13 PM, Patrick Lists wrote:Its not the actual pts devices which cause problems. Those are happily
> On 06-05-12 14:02, Steve Underwood wrote:
>> Hi Alex,
>>
>> Its the user ID which is causing your problem. If you just add the following
>> <modem-settings>
>> <param name="total-modems" value="5"/>
>> </modem-settings>
>> to your configuration you will get five /dev/FS* devices if you run as
>> root, but none if you run as freeswitch. This ought to be fixed. I think
> Could a udev rule with user=... (and group=...) perhaps fix that?
>
>> the device names are a bit questionable, too. Calling the /dev/FS/modem*
>> or even /dev/FS/t31-* might increase flexibility for the future where
>> more device types might be needed.
> +1
created with any user name that's tried. It is the /dev/FS* links which
won't create unless you are root. I'm not clear how udev can be used to
make those creatable by someone like the freeswitch user. If you create
a directory /dev/FS, make that writable by all, change FS to create the
link as /dev/FS/*, and run as user freeswitch things work OK. However,
/dev/FS is lost on reboot, because of the dynamic nature of /dev.
Steve
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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