[asterisk-dev] [Code Review] dial by name in chan_dahdi
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Mar 23 06:57:22 CDT 2010
On Mon, Mar 22, 2010 at 05:53:25PM -0000, Tzafrir Cohen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/535/
> -----------------------------------------------------------
A mostly unrelated question regarding the DAHDI part of this.
The DAHDI part is in the branch
http://svnview.digium.com/svn/dahdi/linux/team/tzafrir/sysfs/
Changes there are mostly decumented in the REDME changes and script
header README in
http://svnview.digium.com/svn/dahdi?view=revision&revision=8392
(though the code to allow that is in earlier commits)
A number of specific questions:
1. I'm currently using the 'location' field (after some cooking) as a
default for a per-span directory name. This will require fixing other
multi-span devices, in a way similar to
http://svnview.digium.com/svn/dahdi?view=revision&revision=8369
I don't consider the span name a good chaice as it depends on the
order of registration.
2. Any userspace programs have the major / minor numbers of DAHDI
hard-wired? The separate devices could use registering separate
(per-device) file-operations. There's much useless code. Specifically
for operations that are not open and ioctl. And specifically the fact
that many operations that should be done via the channel are done via
ctl means that Asterisk requires write access to /dev/dahdi/ctl for no
good reason.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list