[asterisk-dev] [Code Review] dial by name in chan_dahdi

Kevin P. Fleming kpfleming at digium.com
Tue Mar 23 07:18:04 CDT 2010


Tzafrir Cohen wrote:

> 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.

There shouldn't be any that have it hardcoded, no. Everything we've
produced for years now has opened device node files to get access to
Zaptel/DAHDI devices.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list