you can also try to add freeswitch user to the group owning the devices

take a look to usermod and -G switch

2008/5/20 Brian West <brian@freeswitch.org>:
You can chown the devices or change the permissions so the non-root
user can access those.   I think the udev rules would need to be
changed also so that they are created with the right permissions next
time you start.

/b

On May 20, 2008, at 12:13 PM, Helmut Kuper wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Anthony,
>
> thanks for your explanations. I undid my changes to zip_wanpipe.c and
> reconfigured wanpipe1.conf as explained manually. That works :)
>
> But there is still the problem that freeswitch has to be root user to
> get access to the TDM devices created by wanpipe driver. I solve that
> with a wrapper until there is a better way.
>
> regards
> helmut
>
>
> Anthony Minessale schrieb:
> | That is horribly wrong.
> |
> | If you are using wanpipe under zaptel you forget it is a wanpipe
> device and
> | configure it under zaptel.
> | with [span zt]
> |
> | There are specific instructions for setting up the wanpipe in
> standalone
> | mode that does not require zaptel at all.
> | in the /etc/wanpipe/wanpipe1.conf you have to change TDM_VOICE to
> | TDM_VOICE_API
> |
> | This will create the dev entries we were "assuming" to be there
> because it's
> | the correct assumption when the drivers are properly configured.
> |
> | Essentially what you did was configure wanpipe to be a zaptel
> device then
> | hack the zap_wanpipe  code to open zaptel devices.
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkgzBpwACgkQ4tZeNddg3dwOlACfQqckrmOVMSMGEKgYnbfnYz3d
> Hb4AmwUuhh2VyXBwZyYAyhBmUbGMDbuO
> =xsYy
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> 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

Brian West
sip:brian@freeswitch.org



--
-----------------------------------
Albano Daniele Salvatore
aka
daniele_dll

Sito: http://www.phpsoft.it

Servizi Offerti:
- Sviluppo software C#
- Sviluppo siti web PHP
- Gestione Fedora, Centos, Gentoo
-----------------------------------