basic user-space for pinned-spans
authorOron Peled <oron.peled@xorcom.com>
Thu, 6 Oct 2011 19:03:00 +0000 (21:03 +0200)
committerRuss Meyerriecks <rmeyerriecks@digium.com>
Fri, 24 May 2013 21:58:15 +0000 (16:58 -0500)
commit79fff3e278ae2a20c17dff32227baa0627593c97
tree412b71d71a63911bc311cd489277e0f0ace95b4e
parentde23ca9c1a6055f187b16f059661691109a382c0
basic user-space for pinned-spans

handle_device is the basic script intended to be called from udev.

It will call span_types on the span to apply optional
/etc/dahdi/spantype.conf onfiguration settings that need to be applied
before assignment (currently "pri" port types: E1/T1/J1).

Next it assigns span numbers to spans: if configured in
/etc/dahdi/pinned-spans.conf - use those settings. If not: by the order
of loading.

span_types and span_assignments can also be used to report the settings
they are used to configure.

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
dahdi.rules [new file with mode: 0644]
dahdi_map [new file with mode: 0755]
doc/dahdi_map.8 [new file with mode: 0644]
handle_device [new file with mode: 0755]
pinned-spans.conf [new file with mode: 0644]
span_assignments [new file with mode: 0755]
span_types [new file with mode: 0755]
spantype.conf [new file with mode: 0644]