fixed so, PRI/BRI NT/TE works
[lcr.git] / default / interface.conf
1 # interface.conf
2 ################
3
4
5 # Example of an ISDN interface on port 1
6
7 #[Ext]
8 #port 1
9
10 # Example of a multilink ISDN interface (Anlagenanschluss) on port 3
11 # and 4
12
13 #[Ext]
14 #port 3
15 #port 4
16
17 # Example of an PTP ISDN interface on port 1
18 # Layer-2-Hold is required to keep link alive.
19
20 #[Ext]
21 #port 1
22 #ptp
23 #layer2hold yes
24
25 # Example of an internal ISDN interface on port 2, which accepts all extensions
26
27 #[Int]
28 #extension
29 #port 2
30 #nt
31
32
33 # Example of an ISDN interface on port 2, which accepts only extensions
34 # 201, 202 and 203
35
36 #[Int]
37 #extension
38 #msn 201,202,203
39 #port 2
40 #nt
41
42
43 # Example of three ISDN interfaces on port 2, 3 and 4, which accept
44 # extension 201 on all interfaces, and extension 202 and 203 on the first port
45 # only.
46 # Hint: To make extension ring on all three interfaces parallel, use
47 # "interface Int1,Int2,In3" in extension's settings file.
48
49 #[Int1]
50 #extension
51 #msn 201,202,203
52 #port 2
53 #nt
54
55 #[Int2]
56 #extension
57 #msn 201
58 #port 3
59 #nt
60
61 #[Int3]
62 #extension
63 #msn 201
64 #port 4
65 #nt
66
67
68 # Example of an ISDN interface on port 1 that requires screening of caller IDs.
69 # This is required if the connected line doesn't screen caller IDs.
70 # Also this interface will connect bchannel during call setup, so tones are
71 # required.
72 #[Ext]
73 #screen-out unknown 300  national 21250993300
74 #screen-out unknown 2*  national 212509932*
75 #tones yes
76 #port 1
77
78
79 # Example of an ISDN PRI interface on port 1 that has directed channels.
80 # 10 channels (channel 1-10) are incomming only.
81 # 10 channels (channel 11-15,17-21) are outgoing only.
82 # 10 channels (channel 22-31) are both way.
83 # We prefer to use directed channels first, then we request any channel.
84 # Outgoing calls on both-way-channels shall be indicated as "any channel".
85 # (Siemens EWSD will select bot-way-channels when indicated that way.)
86 #[Ext]
87 #port 1
88 #layer2hold
89 #channel-in 1,2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,30,31
90 #channel-out force,11,12,13,14,15,17,18,19,20,21,any
91
92 # Example of an ISDN interface that runs in NT-mode, but provides tones during
93 # setup. Also we provide tones during setup also.
94 # This is usefull to interconnect to another PBX.
95 # Additinally the timeout values for the different call states are adjusted to 60 seconds.
96 # They are: setup, dialing, proceeding, alerting, disconnect
97 #[PBX]
98 #port 5
99 #nt
100 #layer2hold yes
101 #earlyb yes
102 #tones yes
103 #timeouts 60 60 60 60 60
104
105 # Hint: Enter "lcr interface" for quick help on interface options.
106
107 # Add your interfaces here:
108
109
110 [Ext]
111 port 1
112
113
114 [Int]
115 extension
116 msn 200,201,202,203
117 port 2
118 nt
119
120