2
# /etc/dahdi/assigned-spans.conf:
4
# This file assigns span and channel numbers to dahdi devices
6
# Built as a table keyed by <id>:
10
# * The <id> field may be either:
14
# * Shell-style globbing is allowed for the <id> field
15
# * There may one or more of <spanspec>
16
# * Each <spanspec> is composed as:
17
# <local_spanno>:<assigned_spanno>:<base_channo>
21
# Astribank with two spans:
22
# FXS * 8 channels + 4 digital inputs 2 digital outputs
27
# Same Astribank in one-liner
28
#usb:QA-1 1:1:1 2:2:15
30
# Astribank with 4*PRI spans and 3*FXS*8 spans
31
# Note that channels are NOT globally contigous
32
# each span get its own 50 numbers. Also, skip
33
# Channel number 250...
34
#usb:INT03165 1:1:1 # E1
35
#usb:INT03165 2:2:51 # E1
36
#usb:INT03165 3:3:151 # E1
37
#usb:INT03165 4:4:201 # E1
38
#usb:INT03165 5:5:301 # FXS * 8 channels
39
#usb:INT03165 6:6:351 # FXS * 8 channels
40
#usb:INT03165 7:7:401 # FXS * 8 channels
42
# Alternatively -- all in one-line
43
#usb:INT03165 1:1:1 2:2:51 3:3:151 4:4:201 5:5:301 6:6:351 7:7:401
45
# Astribank with 4*BRI without hardware_id :-(
46
# We use the location on the bus (ie: where it is physically
47
# located). Note the '@' prefix that indicate the location key.
48
#@usb-0000:00:1d.7-3 1:1:50
49
#@usb-0000:00:1d.7-3 2:2:100
50
#@usb-0000:00:1d.7-3 3:3:150
51
#@usb-0000:00:1d.7-3 4:4:200
53
# Same configuration with globbing:
54
#/sys/*/usb1/1-6/* 1:1:50
55
#/sys/*/usb1/1-6/* 2:2:100
56
#/sys/*/usb1/1-6/* 3:3:150
57
#/sys/*/usb1/1-6/* 4:4:200