[Freeswitch-users] Spandsp mulated modems inbound/no /dev/FS* device?

Anita Hall anita.hall at simmortel.com
Thu May 17 17:51:32 MSD 2012


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 Sun, May 6, 2012 at 8:50 PM, Steve Underwood <steveu at coppice.org> wrote:

> On 05/06/2012 10:13 PM, Patrick Lists wrote:
> > 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
> Its not the actual pts devices which cause problems. Those are happily
> 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120517/a669ccdb/attachment-0001.html 


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