<p>IIRC its modem/1 or 2 3 4 etc. Probably a for auto like tdm. Check the code to be sure....</p>
<div class="gmail_quote">On May 21, 2012 3:13 PM, "Alex Crow" <<a href="mailto:acrow@integrafin.co.uk">acrow@integrafin.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 21/05/12 20:28, Ken Rice wrote:<br>
><br>
><br>
> On 5/21/12 2:15 PM, "Alex Crow"<<a href="mailto:acrow@integrafin.co.uk">acrow@integrafin.co.uk</a>> wrote:<br>
>> Also I have the problem that unless FreeSWITCH is run as root, the<br>
>> device nodes are not created.<br>
>><br>
>> Unless in the last few weeks some docs have been updated on this, I'm<br>
>> still stuck with T38modem.<br>
>><br>
> If freeswitch running as root and not running as root doesn't work, this<br>
> should tell you that you have a permissions issue... The FreeSWITCH<br>
> developers fixing your systems perms issues is beyond the scope of the<br>
> FreeSWITCH project...<br>
><br>
> Otherwise, the FreeSWITCH modems basically work just like t38modem... The<br>
> only setting is how many of them to create then the only other settings is<br>
> configuring your platform to properly allow freeswitch (or the user that<br>
> freeswitch is running as) create those devices then configure hylafax to use<br>
> them as normal.<br>
><br>
> The steps to do this can vary from platform to platform (or even versions of<br>
> the platform. For example how you do this on centos5 is not how you do this<br>
> on centos6 due to changes in the platform.)<br>
><br>
> K<br>
><br>
><br>
<br>
Ken,<br>
<br>
I respectfully disagree with the "like t38modem" bit of this. With<br>
t38modem, you create a set of t38modem devices which actually register<br>
against FreeSWITCH and therefore appear as registered endpoints, so it's<br>
easy to route calls to them (ie transfer to "t38modem0 default XML").<br>
When I did run FS as root, despite the device nodes being created, I saw<br>
no endpoint registrations for the softmodems, nor did I find any<br>
documentation saying that these endpoints may be addressed as, for<br>
instance "spandsp/FSx".<br>
<br>
I am also used to writing udev rules, but I can't find anything that<br>
allows a non-root uid/gid user to create device nodes for a device<br>
provided by a userspace program.<br>
<br>
It'd be great to avoid T38modem, and I've asked these questions before,<br>
namely:<br>
<br>
1) Does anyone have any examples on any platform of tweaking udev to<br>
allow FreeSWITCH to create device nodes at startup when running as, say,<br>
user freeswitch or user www-data (without making the primary group of<br>
said users "root" or setting setuid root on the executable). I am not<br>
prepared to take the risk of running as either effective uid or gid 0.<br>
Please share if so. I'm running on debian stable.<br>
<br>
2) How does one direct an incoming call, say, from FreeTDM or a SIP/ISDN<br>
gateway to one of the softmodems. I cannot find this in the docs.<br>
<br>
If we can divorce these questions from any association with another<br>
user's questions on this list that's fine. I've tried to help that<br>
person as much as I can out of my own good nature.<br>
<br>
Cheers<br>
<br>
Alex<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>